[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#381905: linux-kernel-headers: NGROUPS_MAX doesn't match the kernel and causes test failures

On Mon, Aug 07, 2006 at 11:43:07AM -0600, Vladislav Yasevich wrote:

> It is important to specify proper limits for this.  This is a request to set
> NGROUPS_MAX to 65535, so it matches the kernel, in linux-kernel-headers
> package.

As already said, there is no way a fixed constant (NGROUPS_MAX) can
match a value that can change during run-time. LTP should not use
NGROUPS_MAX but use sysconf(_SC_NGRPOUPS_MAX) instead, which does The
Right Thing(tm).


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

Reply to: