This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/22339] support/support_can_chroot.c (support_can_chroot): Should call chdir("/");
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 04 Apr 2019 08:02:45 +0000
- Subject: [Bug build/22339] support/support_can_chroot.c (support_can_chroot): Should call chdir("/");
- Auto-submitted: auto-generated
- References: <bug-22339-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22339
--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
I think the warning itself is harmful. chroot is not a security feature, so
whether you do a chdir afterwards or not does not matter.
This is just another bogus warning from a tool that also tells users to set
umask before calling mkstemp, actually *introducing* bugs.
--
You are receiving this mail because:
You are on the CC list for the bug.