From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <795ff76780ebf3162b4f64b1ff721e1c@cat-v.org> To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: patch/list killbig-nits Date: Sat, 21 Jan 2006 17:32:17 +0100 From: uriel@cat-v.org In-Reply-To: <20060120020216.25E2224FAE@holo.morphisms.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: e2c99cb0-ead0-11e9-9d60-3106f5b1d025 >> > I'm not happy with the proliferation of magic process names. >> > Instead, why not check if(p->procmode&0222). The startup script >> > can then chmod -w /proc/importantguys/ctl. >> Good idea, but that would allow a (malicious) user to protect it's own hogs, >> maybe we should also check that it's not owned by eve? ugly too, but I can't >> think of anything better. > > There are so many other things a malicious user could do instead. With all the public Plan 9 servers around it would be good to at least try to avoid adding more such possibilities, specially when the cost of doing so is almost nil. Also it might be good to list all such things, so we can try to fix them, it certainly would make sense for public 9grid nodes. uriel