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

From: Bill Davidsen
Date: Wed Mar 30 2005 - 14:53:39 EST


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@xxxxxxx)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/