auto-import changelog data from libselinux-1.17.2-1.src.rpm

Thu Aug 26 2004 Dan Walsh <dwalsh@redhat.com> 1.17.2-1
- Add matchpathcon man page
- Latest from NSA
Merged patch to eliminate PLTs for local syms from Ulrich Drepper.
Autobind netlink socket.
Dropped compatibility code from security_compute_user.
Merged fix for context_range_set from Chad Hanson.
Merged allocation failure checking patch from Chad Hanson.
Merged avc netlink error message patch from Colin Walters.
This commit is contained in:
cvsdist 2004-09-09 07:45:13 +00:00
parent 569258dd79
commit 6df57245c3
4 changed files with 44 additions and 4 deletions

View File

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

29
libselinux-rhat.patch Normal file
View File

@ -0,0 +1,29 @@
--- 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,10 +1,11 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 1.17.1
Version: 1.17.2
Release: 1
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz
Patch: libselinux-rhat.patch
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-buildroot
Provides: libselinux.so
@ -35,7 +36,7 @@ needed for developing SELinux applications.
%prep
%setup -q
%patch -p1 -b .rhat
%build
make
@ -69,6 +70,16 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man8/*
%changelog
* Thu Aug 26 2004 Dan Walsh <dwalsh@redhat.com> 1.17.2-1
- Add matchpathcon man page
- Latest from NSA
* Merged patch to eliminate PLTs for local syms from Ulrich Drepper.
* Autobind netlink socket.
* Dropped compatibility code from security_compute_user.
* Merged fix for context_range_set from Chad Hanson.
* Merged allocation failure checking patch from Chad Hanson.
* Merged avc netlink error message patch from Colin Walters.
* Tue Aug 24 2004 Dan Walsh <dwalsh@redhat.com> 1.17.1-1
- Latest from NSA
* Autobind netlink socket.

View File

@ -1 +1 @@
20f3aba1566d98318f1eefbbd64f92c5 libselinux-1.17.1.tgz
c72818585fd04d8edb27948167827869 libselinux-1.17.2.tgz