[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: writing zero bytes in bash



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]