diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2023-05-12 06:06:53 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-05-12 04:06:53 +0000 |
commit | bcd540496d3fc1af59c129a508d22e235990e041 (patch) | |
tree | ed486dedfe402ecb119359e03f4ccce65f211227 /modules/pam_mkhomedir/mkhomedir_helper.c | |
parent | 5374f677e4cae669eb9accf2449178b602e8a40a (diff) | |
download | pam-bcd540496d3fc1af59c129a508d22e235990e041.tar.gz pam-bcd540496d3fc1af59c129a508d22e235990e041.tar.bz2 pam-bcd540496d3fc1af59c129a508d22e235990e041.zip |
pam_limits: build again on non-Linux OSes
Even if this module is supported officially on Linux, make sure it can
still build fine on non-Linux OSes, to ease its testing/fixing a bit:
- build parse_kernel_limits() and stuff needed for it only on Linux,
as it is called already only on Linux
- limit the code needed to apply the 'nonewprivs' options to Linux only,
as it uses a Linux-specific way to set it; add a syslog message for
other OSes
Diffstat (limited to 'modules/pam_mkhomedir/mkhomedir_helper.c')
0 files changed, 0 insertions, 0 deletions