Re: writing zero bytes in bash

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

 



On Sat, Feb 26, 2005 at 05:54:26PM +0000, Tim Waugh 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".

Actually its worse than that, for some situations the kernel enforces that
behaviour and you *can't* propogate a zero byte write.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux