diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-07 14:45:34 +0100 |
---|---|---|
committer | Tomáš Mráz <tmraz@redhat.com> | 2020-12-08 18:15:08 +0100 |
commit | deb5a9fb07ce3dad86ad66789c91b703ad12ca2f (patch) | |
tree | 8d2745046c40af3bc5e8905499ad16b149574048 /modules/pam_warn | |
parent | 017c3ff13d1bb7804799deadd8f58b92eba7979e (diff) |
pam_selinux: check for string_to_security_class failure
Check for the unlikely case string_to_security_class() does not find the
associated SELinux security class.
This will only happen if the loaded SELinux policy does not define the
class "chr_file" (which no sane policy does) or querying the selinuxfs
fails.
Suggested by #309
Diffstat (limited to 'modules/pam_warn')
0 files changed, 0 insertions, 0 deletions