bdd4e6d2b1
The selinux_restorecon(3) man page details this function. It has been built using the work from Android where an SHA1 hash of the specfiles is held in an extended attribute to enhance performance. Also contains components from policycoreutils/setfiles. The utils/selinux_restorecon.c utility demonstrates the functionality. Signed-off-by: Richard Haines <richard_c_haines@btinternet.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
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 | ||
matchpathcon.c | ||
policyvers.c | ||
sefcontext_compile.c | ||
selabel_digest.c | ||
selabel_lookup.c | ||
selabel_lookup_best_match.c | ||
selabel_partial_match.c | ||
selinux_check_securetty_context.c | ||
selinux_restorecon.c | ||
selinuxenabled.c | ||
selinuxexeccon.c | ||
setenforce.c | ||
setfilecon.c | ||
togglesebool.c |