These patches: 1) Add additional services to selinux_restorecon(3) so that setfiles(8) functionality can be supported. 2) Modify setfiles(8) and restorecon(8) to make use of the new libselinux functions. I've supported all options except -q of the current restorecon(8) and setfiles(8) in selinux_restorecon_* services, however I'm not sure they are all really needed. There is a new option of -I to ignore the digest as explained in the updated man pages. The output from these commands should be much the same as before (with some minor wording changes), the only exceptions being: 1) The -p option does not output the percentage, just * for every 1000 files (but does state approx file count if mass relabel and verbose). 2) Does not report warnings on paths without default labels. Richard Haines (3): libselinux: Evaluate inodes in selinux_restorecon(3) libselinux: Add setfiles support to selinux_restorecon(3) policycoreutils: setfiles - Modify to use selinux_restorecon libselinux/include/selinux/restorecon.h | 21 + libselinux/man/man3/selinux_restorecon.3 | 18 +- .../man/man3/selinux_restorecon_set_alt_rootpath.3 | 34 ++ libselinux/src/matchpathcon.c | 139 +---- libselinux/src/selinux_restorecon.c | 445 ++++++++++++-- libselinux/utils/selinux_restorecon.c | 38 +- policycoreutils/setfiles/restore.c | 665 +++------------------ policycoreutils/setfiles/restore.h | 49 +- policycoreutils/setfiles/restorecon.8 | 74 ++- policycoreutils/setfiles/setfiles.8 | 75 ++- policycoreutils/setfiles/setfiles.c | 188 +++--- 11 files changed, 852 insertions(+), 894 deletions(-) create mode 100644 libselinux/man/man3/selinux_restorecon_set_alt_rootpath.3 -- 2.5.5 _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.