aboutsummaryrefslogtreecommitdiff
path: root/xtests
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2021-11-24 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2021-11-24 08:00:00 +0000
commite1bb3465543fc3e26a5cb76e539562e4bb3e5159 (patch)
tree6827cb64cc3e15b832f84b92e0e9769662f8d450 /xtests
parent5deaac423159103d02b146afa753a8ebb7fddf09 (diff)
downloadpam-e1bb3465543fc3e26a5cb76e539562e4bb3e5159.tar.gz
pam-e1bb3465543fc3e26a5cb76e539562e4bb3e5159.tar.bz2
pam-e1bb3465543fc3e26a5cb76e539562e4bb3e5159.zip
modules/pam_limits: fix build with old Linux kernel headers
As PR_SET_NO_NEW_PRIVS was introduced by Linux kernel commit v3.5-rc1~161^2~37, provide a fallback definition to fix build with older Linux kernel headers. * modules/pam_limits/pam_limits.c [!PR_SET_NO_NEW_PRIVS] (PR_SET_NO_NEW_PRIVS): New macro. Resolves: https://github.com/linux-pam/linux-pam/issues/406 Fixes: dd9cf929 ("modules/pam_limits: add support for nonewprivs")
Diffstat (limited to 'xtests')
0 files changed, 0 insertions, 0 deletions