auto-import libselinux-1.17.3-1 from libselinux-1.17.3-1.src.rpm

This commit is contained in:
cvsdist 2004-09-09 07:45:16 +00:00
parent 6df57245c3
commit f991fab43a
4 changed files with 8 additions and 34 deletions

View File

@ -1 +1 @@
libselinux-1.17.2.tgz
libselinux-1.17.3.tgz

View File

@ -1,29 +0,0 @@
--- libselinux-1.17.2/man/man3/matchpathcon.3.rhat 2004-08-26 08:37:17.533537517 -0400
+++ libselinux-1.17.2/man/man3/matchpathcon.3 2004-08-26 08:36:21.061471154 -0400
@@ -0,0 +1,26 @@
+.TH "matchpathcon" "3" "1 August 2004" "dwalsh@redhat.com" "SE Linux API documentation"
+.SH "NAME"
+matchpathcon \- get the default security context for the specified file from the policy.
+
+.SH "SYNOPSIS"
+.B #include <selinux/selinux.h>
+.sp
+.BI "int matchpathcon(const char *" path ", mode_t " mode ", security_context_t *" con);"
+.br
+
+.SH "DESCRIPTION"
+.br
+.B matchpathcon
+matches the specified pathname and mode against the file contexts configuration and set the security context "con" to refer to the resulting context. "mode" can be 0 to disable mode matching.
+.sp
+.br
+.B Note:
+ Caller must free returned security context "con" using freecon.
+.SH "RETURN VALUE"
+On error -1 is returned.
+
+On success matchpathcon returns the length of the context (not including
+the trailing zero byte).
+
+.SH "SEE ALSO"
+.BR freecon "(3), " setfilecon "(3), " setfscreatecon "(3)"

View File

@ -1,11 +1,11 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 1.17.2
Version: 1.17.3
Release: 1
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz
Patch: libselinux-rhat.patch
#Patch: libselinux-rhat.patch
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-buildroot
Provides: libselinux.so
@ -36,7 +36,7 @@ needed for developing SELinux applications.
%prep
%setup -q
%patch -p1 -b .rhat
#%patch -p1 -b .rhat
%build
make
@ -70,6 +70,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man8/*
%changelog
* Fri Aug 26 2004 Dan Walsh <dwalsh@redhat.com> 1.17.3-1
- Update from NSA
* Thu Aug 26 2004 Dan Walsh <dwalsh@redhat.com> 1.17.2-1
- Add matchpathcon man page
- Latest from NSA

View File

@ -1 +1 @@
c72818585fd04d8edb27948167827869 libselinux-1.17.2.tgz
aaac123872e26e336caf630439edb517 libselinux-1.17.3.tgz