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:
parent
569258dd79
commit
6df57245c3
@ -1 +1 @@
|
||||
libselinux-1.17.1.tgz
|
||||
libselinux-1.17.2.tgz
|
||||
|
29
libselinux-rhat.patch
Normal file
29
libselinux-rhat.patch
Normal 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)"
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user