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



> 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.

                --Steve Bellovin, https://www.cs.columbia.edu/~smb







Home | Main Index | Thread Index | Old Index