This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: exec* vs. initially-closed file descriptors in a set-ID context
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Jim Meyering <jim at meyering dot net>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 09 Nov 2005 11:26:59 -0800
- Subject: Re: exec* vs. initially-closed file descriptors in a set-ID context
- References: <87d5laoq58.fsf@rho.meyering.net>
I've changed the code to use the proposed modes. There is one
additional step in the new code: for the writable descriptor 0 we're now
using /dev/full which causes the operation to fail even if 0 is
invalidly is used for writing.
--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â