[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: pam_limits and Linux 2.4
- From: Andrew Morgan <morgan transmeta com>
- To: pam-list redhat com
- Subject: Re: pam_limits and Linux 2.4
- Date: Sun, 13 May 2001 20:03:26 -0700
Off hand, it looks like you've hit this:
for(i = 0; i < RLIM_NLIMITS; i++)
retval |= getrlimit(i, &pl->limits[i].limit);
Now, if you compiled this module with the headers for 2.4, but used it
with a 2.2 kernel where RLIM_NLIMITS might not be the same, I could see
that this might fail. Could you check that this is so?
According to the changelog, this change was made in reference to the
following bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=219554&group_id=6663&atid=106663
If you, or someone else, wants to propose a fix I'd be happy to apply
it.
Thanks
Andrew
StyX wrote:
>
> Hello people.
>
> Do I need a 2.4 series kernel to get pam_limits (0.75) working? When
> running on a 2.2.[18,19] kernel, I get "pam_limits: cannot initialize",
> but with 2.4.4, it works perfectly. When using Linux-PAM 0.72, however,
> pam_limits works with 2.2 kernels...
>
> Have I missed something?
>
> --
>
> Joachim Blaabjerg
> styx@mailbox.as
> www.SuxOS.org
>
> _______________________________________________
> Pam-list mailing list
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]