- Upgrade to upstream

matchpathcon(8) man page update from Dan Walsh.
This commit is contained in:
Daniel J Walsh 2007-12-11 02:52:13 +00:00
parent b0195e100d
commit 41bd3b2ae1
4 changed files with 7 additions and 19 deletions

View File

@ -136,3 +136,4 @@ libselinux-2.0.40.tgz
libselinux-2.0.42.tgz
libselinux-2.0.43.tgz
libselinux-2.0.45.tgz
libselinux-2.0.46.tgz

View File

@ -10,23 +10,6 @@ diff --exclude-from=exclude -N -u -r nsalibselinux/include/selinux/av_permission
#define KEY__VIEW 0x00000001UL
#define KEY__READ 0x00000002UL
#define KEY__WRITE 0x00000004UL
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.
diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.45/src/matchpathcon.c
--- nsalibselinux/src/matchpathcon.c 2007-09-28 09:48:58.000000000 -0400
+++ libselinux-2.0.45/src/matchpathcon.c 2007-11-30 17:27:14.000000000 -0500

View File

@ -1,7 +1,7 @@
%define libsepolver 2.0.10-1
Summary: SELinux library and simple utilities
Name: libselinux
Version: 2.0.45
Version: 2.0.46
Release: 1%{?dist}
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
@ -123,6 +123,10 @@ exit 0
%{_libdir}/python*/site-packages/selinux.py*
%changelog
* Fri Nov 30 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.46-1
- Upgrade to upstream
* matchpathcon(8) man page update from Dan Walsh.
* Fri Nov 30 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.45-1
- Upgrade to upstream
* dlopen libsepol.so.1 rather than libsepol.so from Stephen Smalley.

View File

@ -1 +1 @@
a728752820841a8cb4e9e5a8a1d582cd libselinux-2.0.45.tgz
e5889fd624a0b8af73e02f175c171560 libselinux-2.0.46.tgz