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

2006-08-08 Thread Gabor Gombas
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

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

2006-08-08 Thread Vlad Yasevich
Gabor Gombas wrote: 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

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

2006-08-08 Thread Gabor Gombas
On Tue, Aug 08, 2006 at 12:58:42PM -0400, Vlad Yasevich wrote: Another possibility is to backport some of the changes from glibc 2.4 that uses the /proc interface for these sysconf calls to get the values from the currently running kernel. This would fix things once and for all, but this

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

2006-08-08 Thread Vlad Yasevich
Gabor Gombas wrote: On Tue, Aug 08, 2006 at 12:58:42PM -0400, Vlad Yasevich wrote: Another possibility is to backport some of the changes from glibc 2.4 that uses the /proc interface for these sysconf calls to get the values from the currently running kernel. This would fix things once and

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

2006-08-07 Thread Vladislav Yasevich
Package: linux-kernel-headers Version: 2.5.999-test7-bk-17 Severity: important The setgroups test from the ltp (Linux Test Project http://ltp.sourceforge.net/) testsuite has unexpected behavior on Debian Sarge. The test fails reporting that setgroups() call succeeded when trying to set more

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

2006-08-07 Thread Jeff Bailey
On Mon, Aug 07, 2006 at 11:43:07AM -0600, Vladislav Yasevich wrote: We have tracked this down to a mismatch in the definitions of NGROUPS_MAX between the 2.6.8 Debian kernel and the linux-kernel-headers package. The linux-kernel-headers package defines this value as 32, while the kernel