Yet another man page patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
int selinux_file_context_cmp(const security_context_t a,
+ const security_context_t b);"
+
+.BI "int selinux_file_context_verify(const char *path, mode_t mode);" -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkjiISoACgkQrlYvE4MpobPV9gCg0KZ+rsxGsIalBS1qvbObK7bA 0H8Anj8FnGzOnSjnOfbk+5R4Bf2OyxW+
=nJ7k
-----END PGP SIGNATURE-----
man/man3/matchpathcon.3 +11 -0
@@ -18,6 +18,11 @@ .BI "void set_matchpathcon_flags(unsigned int " flags ");" +.BI "int selinux_file_context_cmp(const security_context_t a, + const security_context_t b);" + +.BI "int selinux_file_context_verify(const char *path, mode_t mode);" + .SH "DESCRIPTION" .B matchpathcon_init loads the file contexts configuration specified by
@@ -111,6 +116,12 @@ .B MATCHPATHCON_BASEONLY flag is set, then only the base file contexts configuration file will be processed, not any dynamically generated entries or local customizations. +.sp +.B selinux_file_context_cmp +compares two file contexts to see if their differences are "significant", the function runs the strcmp function ignoring the user componant of the file context. +.sp +.B selinux_file_context_verify +compares the file context on disk to the system default. .sp .SH "RETURN VALUE"
man/man3/selinux_file_context_cmp.3 +1 -0
@@ -0,0 +1 @@ +.so man3/matchpathcon.3
man/man3/selinux_file_context_verify.3 +1 -0
@@ -0,0 +1 @@ +.so man3/matchpathcon.3
Quoted 11 lines · Daniel J Walsh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1int selinux_file_context_cmp(const
security_context_ta,man/man3/matchpathcon.3 +3
-1+ const security_context_t b);" + +.BI "int selinux_file_context_verify(const char *path, mode_t mode);" -----BEGIN PGP SIGNATURE-----Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
Quoted 5 lines
iEYEARECAAYFAkjiISoACgkQrlYvE4MpobPV9gCg0KZ+rsxGsIalBS1qvbObK7bA 0H8Anj8FnGzOnSjnOfbk+5R4Bf2OyxW+
=nJ7k
-----END PGP SIGNATURE-----
merged in libselinux-2.0.74
--
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.