[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: writing zero bytes in bash
- From: Tim Waugh <twaugh redhat com>
- To: russell coker com au, Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Cc: SE-Linux <selinux tycho nsa gov>
- Subject: Re: writing zero bytes in bash
- Date: Sat, 26 Feb 2005 17:54:26 +0000
On Sat, Feb 26, 2005 at 06:32:13PM +1100, Russell Coker wrote:
> To unset the fscreate or exec context you have to write zero bytes
> to /proc/self/attr/fscreate or /proc/self/attr/exec respectively.
Oh dear, really? How badly designed. The man page for write() says
that writing no bytes causes write() to return 0 "without causing any
other effect".
Tim.
*/
Attachment:
pgp00145.pgp
Description: PGP signature
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]