platform_external_selinux/policycoreutils/setfiles
Richard Haines 454768f56d setfiles: Fix setfiles progress indicator
This fixes the following bug:
UX regression: setfiles progress indicator is now misleading and
confusing in fixfiles.

The outputting of * is replaced by the number of files in 1k increments
as the previous versions. If "/" is specified on the pathname, then this
will indicate a mass relabel, an example output will be:
restorecon -nRp /etc /tmp /boot /
/etc 100.0%
/tmp 100.0%
/boot 100.0%
3.2%

Also setfiles(8) and restorecon(8) versions that are implemented using
the selinux_restorecon(3) function do not support the [-o filename]
option as this was deprecated. This has now been made clear by displaying
a message to stderr.

The documentation has also been updated to reflect these changes.

Reported-by: Alan Jenkins <alan.christopher.jenkins@gmail.com>
Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
2017-01-27 09:39:22 -05:00
..
.gitignore setfiles: Fix setfiles progress indicator 2017-01-27 09:39:22 -05:00
Makefile setfiles: Fix setfiles progress indicator 2017-01-27 09:39:22 -05:00
restore.c setfiles: Fix setfiles progress indicator 2017-01-27 09:39:22 -05:00
restore.h setfiles: Fix setfiles progress indicator 2017-01-27 09:39:22 -05:00
restorecon.8 setfiles: Fix setfiles progress indicator 2017-01-27 09:39:22 -05:00
restorecon_xattr.8 policycoreutils: setfiles - Utility to find security.restorecon_last entries 2016-09-26 14:05:58 -04:00
restorecon_xattr.c policycoreutils: setfiles - Utility to find security.restorecon_last entries 2016-09-26 14:05:58 -04:00
setfiles.8 setfiles: Fix setfiles progress indicator 2017-01-27 09:39:22 -05:00
setfiles.c setfiles: Fix setfiles progress indicator 2017-01-27 09:39:22 -05:00