fixfiles -C: behave as advertised
PATCH 1/1 fixfiles -C: behave as advertised
This patch makes fixfiles -C <file> (restore|check|verify|relabel) behave as advertised.
Marshall Miller
scripts/fixfiles +2 -2
@@ -92,7 +92,7 @@ ! \( -fstype ext2 -o -fstype ext3 -o -fstype ext4 -o -fstype ext4dev -o -fstype gfs2 -o -fstype jfs -o -fstype xfs \) -prune -o \ \( -wholename /home -o -wholename /root -o -wholename /tmp -wholename /dev \) -prune -o -print0"; \ done 2> /dev/null | \ - ${RESTORECON} $2 -0 -f - + ${RESTORECON} $* -0 -f - rm -f ${TEMPFILE} ${PREFCTEMPFILE} fi }
@@ -117,7 +117,7 @@ # restore () { if [ ! -z "$PREFC" ]; then - diff_filecontext $1 + diff_filecontext $* exit $? fi if [ ! -z "$RPMFILES" ]; then
Stephen Smalley
AppliedQuoted 1 line · Marshall Miller
This patch makes fixfiles -C <file> (restore|check|verify|relabel) behave as advertised.
Thanks, applied.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.