-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHWDs1rlYvE4MpobMRAmDBAKC3EnBRz81RxtgLKcMSHnUvMqNJkwCcCyx+ QgfQjemToY0sD9lksoYX/wo= =7auR -----END PGP SIGNATURE-----
diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/matchpathcon.8 libselinux-2.0.45/man/man8/matchpathcon.8 --- nsalibselinux/man/man8/matchpathcon.8 2007-08-03 16:02:56.000000000 -0400 +++ libselinux-2.0.45/man/man8/matchpathcon.8 2007-12-06 11:22:40.000000000 -0500 @@ -6,7 +6,12 @@ .B matchpathcon [-V] [-N] [-n] [-f file_contexts_file ] [-p prefix ] filepath... .SH "DESCRIPTION" .B matchpathcon -Prints the file path and the default security context associated with it. +Queries the system and prints the default security context associated with the filepath. + +Note: Identical paths can have different security contexts, depending on the file type. (regular file, directory, link file, char file ...) + +matchpathcon will check the system default context using the file type if the file exists. If the file does not exist, it will get the context of a regular file. + .SH OPTIONS .B \-n Do not display path.
Attachment:
diff.sig
Description: Binary data