summaryrefslogtreecommitdiffstats
path: root/libmount/src/context.c
diff options
context:
space:
mode:
authorKarel Zak2016-06-14 13:15:44 +0200
committerKarel Zak2016-06-14 13:38:13 +0200
commitdd5ef107adfe2c05f7d2e3e3543d3c042868b6fb (patch)
treedede936a90a0ad071a24783c7ec4a77db8041116 /libmount/src/context.c
parentbuild-sys: remove global dependence between widechar and ncursesw (diff)
downloadkernel-qcow2-util-linux-dd5ef107adfe2c05f7d2e3e3543d3c042868b6fb.tar.gz
kernel-qcow2-util-linux-dd5ef107adfe2c05f7d2e3e3543d3c042868b6fb.tar.xz
kernel-qcow2-util-linux-dd5ef107adfe2c05f7d2e3e3543d3c042868b6fb.zip
chfn: chsh: use selinux_check_passwd_access()
* selinux/av_permissions.h and magic constants are deprecated, the recommended solution is to use string_to_security_class() and string_to_av_perm() to get access vector * it also seems that selinux_check_passwd_access() does exactly the same as our checkAccess(), let's use it. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context.c')
0 files changed, 0 insertions, 0 deletions