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-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html