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 libselinux: utils: new file context regex compiler 2013-02-01 12:08:56 -05:00
avcstat.c libselinux: Fix errors found by coverity 2013-02-05 20:14:45 -05:00
compute_av.c
compute_create.c
compute_member.c
compute_relabel.c
compute_user.c
getconlist.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
getdefaultcon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
getenforce.c
getfilecon.c
getpidcon.c
getsebool.c libselinux: getsebool: support boolean name substitution 2012-09-12 13:14:29 -04:00
getseuser.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
Makefile libselinux: Add selinux_restorecon function 2016-02-17 09:12:50 -05:00
matchpathcon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
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_best_match.c libselinux: Ensure selabel_lookup_best_match links NULL terminated 2015-05-18 11:53:25 -04:00
selabel_lookup.c libselinux: Add selabel partial and best match APIs 2015-05-06 11:58:44 -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 libselinux: Fix const-ness of parameters & make usage() methods static 2012-03-28 14:52:12 -04:00
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 libselinux: Fix const-ness of parameters & make usage() methods static 2012-03-28 14:52:12 -04:00
setfilecon.c
togglesebool.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00