Re: [RFD] 'nice' attribute for executable files

Bill Davidsen
2005-03-30T19:49:43Z

Wiktor wrote:

> so i thought that it would be nice to add an attribute to file
> (changable only for root) that would modify nice value of process when
> it starts. if there is one byte free in ext2/3 file metadata, maybe it
> could be used for that? i think that it woundn't be more dangerous than
> setuid bit.

Given that setuid is possibly the most misused (no I didn't say
overused) features around, that's hardly a recommendation. That said,
have you looked at capabilities?

--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me