commit | bdd4e6d2b1bf8b7897be87056326f0dca18c1b94 | [log] [tgz] |
---|---|---|
author | Richard Haines <richard_c_haines@btinternet.com> | Fri Oct 23 14:30:27 2015 +0100 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Wed Feb 17 09:12:50 2016 -0500 |
tree | 253306d5c2d77e71966a11195bc547758b2be862 | |
parent | 25201277a6c6100790dd7e4b3372f3ff41a73b21 [diff] |
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>