Re: General flags to turn things off (getrandom, pid lookup, etc)
From: One Thousand Gnomes
Date: Fri Jul 25 2014 - 17:37:25 EST
On Fri, 25 Jul 2014 11:30:48 -0700
Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> [new thread because this sort of combines two threads]
>
> There is recent interest in having a way to turn generally-available
> kernel features off. Maybe we should add a good one so we can stop
> bikeshedding and avoid proliferating dumb interfaces.
We sort of have one. It's called capable(). Just needs extending to cover
anything else you care about, and probably all the numeric constants
replacing with textual names.
Alan
--
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/