selinux/policycoreutils/setfiles
John Reiser 960d6ee879 policycoreutils: setfiles: estimate percent progress
This patch started with work from John Reiser patch to estimate the
percent progress for restorecon/setfiles.

It has a lot of changes since then, to make it only happen on full
relabel, overwrite itself, shows 10ths of %, and does a lot better and
more useful job of estimation.  We get all of the inodes on all mounted
FS.  Since the number of inodes is not fixed and only an estimate I added
5% to the inode number, and forced the number to never go over 100.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2013-02-01 12:08:51 -05:00
..
.gitignore policycoreutils: setfiles/restorecon minor improvements 2012-09-12 12:16:00 -04:00
Makefile policycoreutils: setfiles/restorecon minor improvements 2012-09-12 12:16:00 -04:00
restore.c policycoreutils: setfiles: estimate percent progress 2013-02-01 12:08:51 -05:00
restore.h policycoreutils: setfiles: estimate percent progress 2013-02-01 12:08:51 -05:00
restorecon.8 policycoreutils: setfiles: estimate percent progress 2013-02-01 12:08:51 -05:00
setfiles.8 policycoreutils: setfiles: estimate percent progress 2013-02-01 12:08:51 -05:00
setfiles.c policycoreutils: setfiles: estimate percent progress 2013-02-01 12:08:51 -05:00