libselinux-2.8-4
- Fix the whatis line for the selinux_boolean_sub.3 manpage - Fix line wrapping in selabel_file.5 - Fix spelling errors in manpages
This commit is contained in:
parent
ae35c8643e
commit
10b3671015
@ -1,3 +1,50 @@
|
||||
diff --git libselinux-2.8/man/man3/selinux_boolean_sub.3 libselinux-2.8/man/man3/selinux_boolean_sub.3
|
||||
index 308c268..a29a38d 100644
|
||||
--- libselinux-2.8/man/man3/selinux_boolean_sub.3
|
||||
+++ libselinux-2.8/man/man3/selinux_boolean_sub.3
|
||||
@@ -1,6 +1,6 @@
|
||||
.TH "selinux_boolean_sub" "3" "11 June 2012" "dwalsh@redhat.com" "SELinux API documentation"
|
||||
.SH "NAME"
|
||||
-selinux_boolean_sub \-
|
||||
+selinux_boolean_sub \- Search the translated name for a boolean_name record
|
||||
.
|
||||
.SH "SYNOPSIS"
|
||||
.B #include <selinux/selinux.h>
|
||||
@@ -12,7 +12,7 @@ selinux_boolean_sub \-
|
||||
searches the
|
||||
.I \%/etc/selinux/{POLICYTYPE}/booleans.subs_dist
|
||||
file
|
||||
-for a maching boolean_name record. If the record exists the boolean substitution name is returned. If not
|
||||
+for a matching boolean_name record. If the record exists the boolean substitution name is returned. If not
|
||||
.BR \%selinux_boolean_sub ()
|
||||
returns the original
|
||||
.IR \%boolean_name .
|
||||
diff --git libselinux-2.8/man/man3/selinux_restorecon_xattr.3 libselinux-2.8/man/man3/selinux_restorecon_xattr.3
|
||||
index 7280c95..516d266 100644
|
||||
--- libselinux-2.8/man/man3/selinux_restorecon_xattr.3
|
||||
+++ libselinux-2.8/man/man3/selinux_restorecon_xattr.3
|
||||
@@ -119,7 +119,7 @@ By default
|
||||
.BR selinux_restorecon_xattr (3)
|
||||
will use the default set of specfiles described in
|
||||
.BR files_contexts (5)
|
||||
-to calculate the initial SHA1 digest to be used for comparision.
|
||||
+to calculate the initial SHA1 digest to be used for comparison.
|
||||
To change this default behavior
|
||||
.BR selabel_open (3)
|
||||
must be called specifying the required
|
||||
diff --git libselinux-2.8/man/man5/selabel_file.5 libselinux-2.8/man/man5/selabel_file.5
|
||||
index e738824..e97bd82 100644
|
||||
--- libselinux-2.8/man/man5/selabel_file.5
|
||||
+++ libselinux-2.8/man/man5/selabel_file.5
|
||||
@@ -92,7 +92,7 @@ The optional local and distribution substitution files that perform any path ali
|
||||
.RE
|
||||
.sp
|
||||
The default file context series of files are:
|
||||
-.RS
|
||||
+.RS 6
|
||||
.I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts
|
||||
.br
|
||||
.I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts.local
|
||||
diff --git libselinux-2.8/man/man8/selinux.8 libselinux-2.8/man/man8/selinux.8
|
||||
index e37aee6..bf23b65 100644
|
||||
--- libselinux-2.8/man/man8/selinux.8
|
||||
@ -17,6 +64,19 @@ index e37aee6..bf23b65 100644
|
||||
|
||||
Every confined service on the system has a man page in the following format:
|
||||
.br
|
||||
diff --git libselinux-2.8/src/audit2why.c libselinux-2.8/src/audit2why.c
|
||||
index 0331fdf..5a1e69a 100644
|
||||
--- libselinux-2.8/src/audit2why.c
|
||||
+++ libselinux-2.8/src/audit2why.c
|
||||
@@ -354,7 +354,7 @@ static PyObject *analyze(PyObject *self __attribute__((unused)) , PyObject *args
|
||||
/* iterate over items of the list, grabbing strings, and parsing
|
||||
for numbers */
|
||||
for (i=0; i<numlines; i++){
|
||||
- char *permstr;
|
||||
+ const char *permstr;
|
||||
|
||||
/* grab the string object from the next element of the list */
|
||||
strObj = PyList_GetItem(listObj, i); /* Can't fail */
|
||||
diff --git libselinux-2.8/src/avc_sidtab.c libselinux-2.8/src/avc_sidtab.c
|
||||
index 9669264..c775430 100644
|
||||
--- libselinux-2.8/src/avc_sidtab.c
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: SELinux library and simple utilities
|
||||
Name: libselinux
|
||||
Version: 2.8
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: Public Domain
|
||||
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libselinux-2.8.tar.gz
|
||||
@ -14,7 +14,7 @@ Url: https://github.com/SELinuxProject/selinux/wiki
|
||||
# download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh
|
||||
# run:
|
||||
# $ VERSION=2.8 ./make-fedora-selinux-patch.sh libselinux
|
||||
# HEAD https://github.com/fedora-selinux/selinux/commit/0e84c8fe6bb895d22f706be1c8f59119c6427f64
|
||||
# HEAD https://github.com/fedora-selinux/selinux/commit/db1433d3b785eadb4eecf5c82430d57c92855a35
|
||||
Patch1: libselinux-fedora.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python2 python2-devel ruby-devel ruby libsepol-static >= %{libsepolver} swig pcre2-devel xz-devel
|
||||
@ -229,6 +229,11 @@ rm -f %{buildroot}%{_mandir}/man8/togglesebool*
|
||||
%{ruby_vendorarchdir}/selinux.so
|
||||
|
||||
%changelog
|
||||
* Tue Sep 4 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-4
|
||||
- Fix the whatis line for the selinux_boolean_sub.3 manpage
|
||||
- Fix line wrapping in selabel_file.5
|
||||
- Fix spelling errors in manpages
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user