lkml.org 
[lkml]   [2004]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: report NGROUPS_MAX via a sysctl (read-only)
Tim Hockin <thockin@sun.com> wrote:
>
> Attached is a simple patch to expose NGROUPS_MAX via sysctl.

Why does userspace actually care? You try to do an oversized setgroups(),
so you get an error?

And why does NGROUPS_MAX still exist, come to that? AFAICT the only thing
it does is to prevent users from being able to allocate too much kernel
memory??

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.281 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site