Re: kill -9 <pid of X>

Perry Harrington (pedward@sun4.apsoft.com)
Thu, 13 Aug 1998 14:40:28 -0700 (PDT)


> I missed that message along the line... For pure cleanliness, I think that
> 'kill -9 1' should be blocked in userspace tools. It does make much more
> sense there.

Kill and sigsend and other varieties are system calls. You would be naive to
trying blocking it in libc -- libc is not capable of defending against such things.

You could statically link a "rogue" program to 'kill -9 1' or you could simply
write the ASM code neccessary to call the syscall.

>
> -Rob
>

--Perry

-- 
Perry Harrington       Linux rules all OSes.    APSoft      ()
email: perry@apsoft.com 			Think Blue. /\

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html