selinux/libselinux/utils
Richard Haines bdd4e6d2b1 libselinux: Add selinux_restorecon function
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>
2016-02-17 09:12:50 -05:00
..
.gitignore
Makefile libselinux: Add selinux_restorecon function 2016-02-17 09:12:50 -05:00
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 libselinux: Add policy context validation to sefcontext_compile 2015-08-25 14:49:13 -04:00
selabel_digest.c libselinux: Fix selabel_open(3) services if no digest requested 2015-10-15 12:13:42 -04:00
selabel_lookup.c libselinux: Add selabel partial and best match APIs 2015-05-06 11:58:44 -04:00
selabel_lookup_best_match.c libselinux: Ensure selabel_lookup_best_match links NULL terminated 2015-05-18 11:53:25 -04:00
selabel_partial_match.c libselinux: Add selabel partial and best match APIs 2015-05-06 11:58:44 -04:00
selinux_check_securetty_context.c
selinux_restorecon.c libselinux: Add selinux_restorecon function 2016-02-17 09:12:50 -05:00
selinuxenabled.c
selinuxexeccon.c Deprecate use of flask.h and av_permissions.h. 2014-07-09 13:49:18 -04:00
setenforce.c
setfilecon.c
togglesebool.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00