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

Re: RLIMIT_NICE xtests

On Wed, Sep 26, Julien Lecomte wrote:

> Hi,
> Using the latest pam, I'm getting a 'RLIMIT_NICE' error on 
> tst-pam_limits1.c on my LinuxFromScratch-6.2 system.
> I've grep'ed all my includes, but didn't find any relative defines and 
> then found out that my headers are from a 2.6.12 kernel which should be 
> the reason why this define doesn't exist.
> Maybe a check to see if this define exists, and avoid to the test in 
> case of an older kernel would be nice.

This define is not coming from kernel, bug glibc. So your glibc
is older, too.

I have added a compile check, if glibc provides this define.
But this does not solve the problem, that I have no chance to
check if the kernel itself supports this. So with a newer glibc
you will not see a compile failure, but a test failure.


Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)

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