Subject: Re: signal(SIGSEGV, SIG_IGN) -> 100% CPU
To: Ignatios Souvatzis <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 06/14/1999 11:10:05
>> If `fixing it' means calling socketpair() from userspace and doing any
>> necessary frobbing there, it actually means *reducing* kernel size (...and
>> relegating pipe(2) to COMPAT_14).
>pipe(2) is defined to be one-way. socketpair(2) creates a two-way pipe.
>I didn't find any obvious way in the manual page to suppress one of the ways.
>Hm. The libc wrapper could partially shutdown(2) the ends, I guess....
would that even matter? if you get back a two-way pipe, it can still
be used as a one-way pipe.
for that matter...i still don't see the harm in making the kernel
copyout() the pipe fds. how would that not solve the problem (besides
losing a little history)?
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."