]> granicus.if.org Git - linux-pam/commit
pam_rootok: Allow proper logging of the user AVC if access disallowed by SELinux
authorTomas Mraz <tmraz@fedoraproject.org>
Fri, 22 Mar 2013 08:42:22 +0000 (09:42 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Fri, 22 Mar 2013 08:42:22 +0000 (09:42 +0100)
commit74ab2ed83471c2b17c2176d7465f56ae32ae4507
tree9de367a34a8f64868e0ed16a15ff7f74c0b05c65
parent8dc056c1c8bc7acb66c4decc49add2c3a24e6310
pam_rootok: Allow proper logging of the user AVC if access disallowed by SELinux

modules/pam_rootok/pam_rootok.c (log_callback, selinux_check_root): New functions.
(check_for_root): Use the selinux_check_root() instead of checkPasswdAccess.
modules/pam_rootok/pam_rootok.c