tech-kern archive

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

Re: Adding an option to avoid SIGPIPE for all file descriptors



On Mon, Jan 23, 2012 at 10:58:59PM -0500, Steven Bellovin wrote:
 > > I also wonder whether we should also have a note that disabled SIGPIPE.
 > > similar to what paxctl does.
 >
 > You mean a system-wide flag?  That would worry me; I think it would have
 > bad effects, since anything that did
 > 
 >      a | b 
 > 
 > would be liable to cause infinite loops if 'a' didn't check the return
 > code on the write() or printf() or what have you -- and such programs are
 > very common.

I believe he means a way to tag specific executables. I'm not sure if
that's really worthwhile... One could provide a program like nohup,
too.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index