platform_external_selinux/policycoreutils/scripts
Dan Walsh 5bd734dd73 policycoreutils: fixfiles: do not hard code types
We had a number of places where fixfiles would search for or set hard
coded types.  If policy used something other than tmp_t var_t file_t or
unlabeled_t we would go wrong.  This patch does 2 things.  It uses the
kernel provided selinuxfs interfaces to determine the label on unlabeled
and unknown files and it uses the --reference option with chcon to set
new labels.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2011-08-15 11:25:22 -04:00
..
chcat policycoreutils: Don't add user site directory to sys.path 2011-08-03 18:02:36 -04:00
chcat.8 policycoreutils: chcat man page typo 2011-08-03 18:02:37 -04:00
fixfiles policycoreutils: fixfiles: do not hard code types 2011-08-15 11:25:22 -04:00
fixfiles.8 policycoreutils: fixfiles: introduce /etc/selinux/fixfiles_exclude_dirs 2011-08-11 23:35:52 -04:00
genhomedircon initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
genhomedircon.8 policycoreutils: add man page for genhomedircon 2011-08-03 18:02:37 -04:00
Makefile policycoreutils: add man page for genhomedircon 2011-08-03 18:02:37 -04:00