Re: [PATCH 1/1] added code to export CAP_LAST_CAP in/proc/sys/kernel modeled after ngroups_max

From: Andrew Morton
Date: Fri Oct 14 2011 - 16:51:26 EST


On Wed, 12 Oct 2011 15:56:34 -0700
Dan Ballard <dan@xxxxxxxxxxxx> wrote:

> In response to a request by the Linux Plumbers about getting CAP_LAST_CAP exposed somehow, I talked to Lennart Poettering briefly and went ahead and added cap_last_cap to /proc/sys/kernel in a similar fashion as ngroups_max is exported. The patch is simple and just adds another struct to the array of exported values in sysctl.c.
>

The changelog should explain the reason for making this change, please.
People aren't going to remember some vague email thread five years
from now.

Also, please update the documentation. Documentation/sysctl/kernel.txt
is a suitable place. Lots of things in kern_table[] are undocumented,
but that's not a reason for the rest of us to suck as much as sched
developers :)

--
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/