This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/22339] New: support/support_can_chroot.c (support_can_chroot): Should call chdir("/");


https://sourceware.org/bugzilla/show_bug.cgi?id=22339

            Bug ID: 22339
           Summary: support/support_can_chroot.c (support_can_chroot):
                    Should call chdir("/");
           Product: glibc
           Version: 2.27
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

We should set a good example by calling chdir("/"); immediately after the
chroot, anyone reading this should see that it's clear that we're following the
normative practice of "chroot+chdir."

This also has the added side-effect of silencing warnings in some security
related analysis of the support code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]