This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/22339] New: support/support_can_chroot.c (support_can_chroot): Should call chdir("/");
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 23 Oct 2017 17:09:37 +0000
- Subject: [Bug build/22339] New: support/support_can_chroot.c (support_can_chroot): Should call chdir("/");
- Auto-submitted: auto-generated
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.