mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-13 17:44:54 +00:00
bc1a8e2a4a
selinux_file_context_verify(3) should now return the correct codes and matchpathcon(8) has been modified to handle them. The selinux_file_context_verify(3)and selinux_file_context_cmp(3) man pages have also been updated (re-written really) to correct return codes. I found that selabel_open left errno set to ENOENT because a file_contexts.subs file did not exist on my system, but left selabel_open alone and set errno = 0 before calling selinux_filecontext_cmp. [fix uninitialize init variable in matchpathcon.c::main - eparis] Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com> |
||
---|---|---|
.. | ||
.gitignore | ||
avcstat.c | ||
compute_av.c | ||
compute_create.c | ||
compute_member.c | ||
compute_relabel.c | ||
compute_user.c | ||
getconlist.c | ||
getdefaultcon.c | ||
getenforce.c | ||
getfilecon.c | ||
getpidcon.c | ||
getsebool.c | ||
getseuser.c | ||
Makefile | ||
matchpathcon.c | ||
policyvers.c | ||
selinux_check_securetty_context.c | ||
selinuxenabled.c | ||
selinuxexeccon.c | ||
setenforce.c | ||
setfilecon.c | ||
togglesebool.c |