pam_limits again...

Arkadiusz Miskiewicz misiek at pld.ORG.PL
Fri Feb 2 15:25:48 CET 2001


On/Dnia Fri, Feb 02, 2001 at 03:11:59PM +0100, Jan Rekorajski wrote/napisał(a)
> > I don't remember his posting about how to change (fix?) glibc. But why
> > we need to fix glibc if it isn't broken?
> 
> It is. Glibc declares non existing limit - RLIMIT_LOCKS, it should
> either not declare it when compiled/used with linux 2.2,
see below

> or take care for it in get/setlimits().
What is should do? check what version of kernel you are running?

But from another point of view. If we change glibc behaviour to not declare
RLIMIT_LOCKS when compiled with 2.2 kernel then we will have non-working
pam_limits on linux 2.4.

IMO pam_limits should take care of this case.

> Janek

-- 
Arkadiusz Miśkiewicz, AM2-6BONE    [ PLD GNU/Linux IPv6 ]
http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/   [ enabled ]



More information about the pld-devel-en mailing list