Re: [PATCH v2] docs: sysctl/kernel: document ngroups_max

2020-05-25 Thread Jonathan Corbet
On Mon, 18 May 2020 16:58:36 +0200 Stephen Kitt wrote: > This is a read-only export of NGROUPS_MAX. > > Signed-off-by: Stephen Kitt > --- > Changes since v1: > - drop changes to kernel/sysctl.c > > Documentation/admin-guide/sysctl/kernel.rst | 9 + > 1

Re: [PATCH] sysctl: const-ify ngroups_max

2020-05-18 Thread Kees Cook
gt; On Mon, May 18, 2020 at 05:57:27PM +0200, Stephen Kitt wrote: > > > > > ngroups_max is a read-only sysctl entry, reflecting NGROUPS_MAX. Make > > > > > it const, in the same way as cap_last_cap. > > > > > > > > > > Signed-off-by: Step

Re: [PATCH] sysctl: const-ify ngroups_max

2020-05-18 Thread Luis Chamberlain
On Mon, May 18, 2020 at 11:17:47AM -0700, Kees Cook wrote: > On Mon, May 18, 2020 at 05:25:09PM +, Luis Chamberlain wrote: > > On Mon, May 18, 2020 at 09:08:22AM -0700, Kees Cook wrote: > > > On Mon, May 18, 2020 at 05:57:27PM +0200, Stephen Kitt wrote: > > > &

Re: [PATCH] sysctl: const-ify ngroups_max

2020-05-18 Thread Kees Cook
On Mon, May 18, 2020 at 05:25:09PM +, Luis Chamberlain wrote: > On Mon, May 18, 2020 at 09:08:22AM -0700, Kees Cook wrote: > > On Mon, May 18, 2020 at 05:57:27PM +0200, Stephen Kitt wrote: > > > ngroups_max is a read-only sysctl entry, reflecting NGROUPS_MAX. Make > >

Re: [PATCH] sysctl: const-ify ngroups_max

2020-05-18 Thread Luis Chamberlain
On Mon, May 18, 2020 at 09:08:22AM -0700, Kees Cook wrote: > On Mon, May 18, 2020 at 05:57:27PM +0200, Stephen Kitt wrote: > > ngroups_max is a read-only sysctl entry, reflecting NGROUPS_MAX. Make > > it const, in the same way as cap_last_cap. > > > > Signed-off-by:

Re: [PATCH] sysctl: const-ify ngroups_max

2020-05-18 Thread Kees Cook
On Mon, May 18, 2020 at 05:57:27PM +0200, Stephen Kitt wrote: > ngroups_max is a read-only sysctl entry, reflecting NGROUPS_MAX. Make > it const, in the same way as cap_last_cap. > > Signed-off-by: Stephen Kitt Reviewed-by: Kees Cook -- Kees Cook

[PATCH] sysctl: const-ify ngroups_max

2020-05-18 Thread Stephen Kitt
ngroups_max is a read-only sysctl entry, reflecting NGROUPS_MAX. Make it const, in the same way as cap_last_cap. Signed-off-by: Stephen Kitt --- This is split out from 2f4c33063ad7 ("docs: sysctl/kernel: document ngroups_max") which conflicted with f461d2dcd511 ("sysctl

[PATCH v2] docs: sysctl/kernel: document ngroups_max

2020-05-18 Thread Stephen Kitt
This is a read-only export of NGROUPS_MAX. Signed-off-by: Stephen Kitt --- Changes since v1: - drop changes to kernel/sysctl.c Documentation/admin-guide/sysctl/kernel.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation

Re: [PATCH] docs: sysctl/kernel: document ngroups_max

2020-05-15 Thread Jonathan Corbet
On Fri, 15 May 2020 18:02:22 +0200 Stephen Kitt wrote: > This is a read-only export of NGROUPS_MAX, so this patch also changes > the declarations in kernel/sysctl.c to const. > > Signed-off-by: Stephen Kitt > --- > Documentation/admin-guide/sysctl/kernel.rst | 9 +

[PATCH] docs: sysctl/kernel: document ngroups_max

2020-05-15 Thread Stephen Kitt
This is a read-only export of NGROUPS_MAX, so this patch also changes the declarations in kernel/sysctl.c to const. Signed-off-by: Stephen Kitt --- Documentation/admin-guide/sysctl/kernel.rst | 9 + kernel/sysctl.c | 4 ++-- 2 files changed, 11 insertions

Re: [PATCH] docs: sysctl/kernel: document ngroups_max

2020-05-15 Thread Kees Cook
On Fri, May 15, 2020 at 06:02:22PM +0200, Stephen Kitt wrote: > This is a read-only export of NGROUPS_MAX, so this patch also changes > the declarations in kernel/sysctl.c to const. > > Signed-off-by: Stephen Kitt Reviewed-by: Kees Cook -- Kees Cook

Re: NGROUPS_MAX

2000-10-05 Thread Frank van Maarseveen
On Wed, Oct 04, 2000 at 09:39:11AM +1300, Craig Whitmore wrote: > I need to set up a server with a user that is in more than 32 groups at a time > and as far as I know NGROUPS_MAX in limits.h changes this maximum. > If I increase (say to 256) this will this break anything or will l

Re: NGROUPS_MAX

2000-10-05 Thread Frank van Maarseveen
On Wed, Oct 04, 2000 at 09:39:11AM +1300, Craig Whitmore wrote: I need to set up a server with a user that is in more than 32 groups at a time and as far as I know NGROUPS_MAX in limits.h changes this maximum. If I increase (say to 256) this will this break anything or will linux work

Re: NGROUPS_MAX

2000-10-03 Thread Alexander Viro
On Tue, 3 Oct 2000, Jeff Garzik wrote: > On Wed, 4 Oct 2000, Craig Whitmore wrote: > > I need to set up a server with a user that is in more than 32 groups at a time > > and as far as I know NGROUPS_MAX in limits.h changes this maximum. > > If I increase (say to 256)

Re: NGROUPS_MAX

2000-10-03 Thread Jeff Garzik
On Wed, 4 Oct 2000, Craig Whitmore wrote: > I need to set up a server with a user that is in more than 32 groups at a time > and as far as I know NGROUPS_MAX in limits.h changes this maximum. > If I increase (say to 256) this will this break anything or will linux work perfectly >

NGROUPS_MAX

2000-10-03 Thread Craig Whitmore
I need to set up a server with a user that is in more than 32 groups at a time and as far as I know NGROUPS_MAX in limits.h changes this maximum. If I increase (say to 256) this will this break anything or will linux work perfectly well?   Thanks Craig Whitmore

NGROUPS_MAX

2000-10-03 Thread Craig Whitmore
I need to set up a server with a user that is in more than 32 groups at a time and as far as I know NGROUPS_MAX in limits.h changes this maximum. If I increase (say to 256) this will this break anything or will linux work perfectly well? Thanks Craig Whitmore

Re: NGROUPS_MAX

2000-10-03 Thread Jeff Garzik
On Wed, 4 Oct 2000, Craig Whitmore wrote: I need to set up a server with a user that is in more than 32 groups at a time and as far as I know NGROUPS_MAX in limits.h changes this maximum. If I increase (say to 256) this will this break anything or will linux work perfectly well? I am

Re: NGROUPS_MAX

2000-10-03 Thread Alexander Viro
On Tue, 3 Oct 2000, Jeff Garzik wrote: On Wed, 4 Oct 2000, Craig Whitmore wrote: I need to set up a server with a user that is in more than 32 groups at a time and as far as I know NGROUPS_MAX in limits.h changes this maximum. If I increase (say to 256) this will this break anything