* Thu Jan 21 2010 Dan Walsh <dwalsh@redhat.com> 2.0.78-13
- Fix executable template for fifo files
This commit is contained in:
parent
47f0fb78a7
commit
bb2db04b13
@ -11889,7 +11889,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/templates/etc_rw.py
|
|||||||
+"""
|
+"""
|
||||||
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/templates/executable.py policycoreutils-2.0.78/gui/templates/executable.py
|
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/templates/executable.py policycoreutils-2.0.78/gui/templates/executable.py
|
||||||
--- nsapolicycoreutils/gui/templates/executable.py 1969-12-31 19:00:00.000000000 -0500
|
--- nsapolicycoreutils/gui/templates/executable.py 1969-12-31 19:00:00.000000000 -0500
|
||||||
+++ policycoreutils-2.0.78/gui/templates/executable.py 2009-12-08 17:05:49.000000000 -0500
|
+++ policycoreutils-2.0.78/gui/templates/executable.py 2010-01-21 08:18:05.000000000 -0500
|
||||||
@@ -0,0 +1,359 @@
|
@@ -0,0 +1,359 @@
|
||||||
+# Copyright (C) 2007-2009 Red Hat
|
+# Copyright (C) 2007-2009 Red Hat
|
||||||
+# see file 'COPYING' for use and warranty information
|
+# see file 'COPYING' for use and warranty information
|
||||||
@ -11997,7 +11997,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/templates/executable
|
|||||||
+domain_use_interactive_fds(TEMPLATETYPE_t)
|
+domain_use_interactive_fds(TEMPLATETYPE_t)
|
||||||
+
|
+
|
||||||
+# internal communication is often done using fifo and unix sockets.
|
+# internal communication is often done using fifo and unix sockets.
|
||||||
+allow TEMPLATETYPE_t self:fifo_file rw_file_perms;
|
+allow TEMPLATETYPE_t self:fifo_file rw_fifo_file_perms;
|
||||||
+allow TEMPLATETYPE_t self:unix_stream_socket create_stream_socket_perms;
|
+allow TEMPLATETYPE_t self:unix_stream_socket create_stream_socket_perms;
|
||||||
+
|
+
|
||||||
+files_read_etc_files(TEMPLATETYPE_t)
|
+files_read_etc_files(TEMPLATETYPE_t)
|
||||||
@ -12012,7 +12012,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/templates/executable
|
|||||||
+"""
|
+"""
|
||||||
+
|
+
|
||||||
+te_userapp_rules="""
|
+te_userapp_rules="""
|
||||||
+allow TEMPLATETYPE_t self:fifo_file manage_file_file_perms;
|
+allow TEMPLATETYPE_t self:fifo_file manage_fifo_file_perms;
|
||||||
+allow TEMPLATETYPE_t self:unix_stream_socket create_stream_socket_perms;
|
+allow TEMPLATETYPE_t self:unix_stream_socket create_stream_socket_perms;
|
||||||
+
|
+
|
||||||
+files_read_etc_files(TEMPLATETYPE_t)
|
+files_read_etc_files(TEMPLATETYPE_t)
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
%define libauditver 1.4.2-1
|
%define libauditver 1.4.2-1
|
||||||
%define libsepolver 2.0.38-1
|
%define libsepolver 2.0.41-1
|
||||||
%define libsemanagever 2.0.39-1
|
%define libsemanagever 2.0.43-3
|
||||||
%define libselinuxver 2.0.87-1
|
%define libselinuxver 2.0.90-1
|
||||||
%define sepolgenver 1.0.19
|
%define sepolgenver 1.0.19
|
||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.0.78
|
Version: 2.0.78
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
||||||
@ -26,7 +26,7 @@ Patch3: policycoreutils-gui.patch
|
|||||||
Patch4: policycoreutils-sepolgen.patch
|
Patch4: policycoreutils-sepolgen.patch
|
||||||
Obsoletes: policycoreutils < 2.0.61-2
|
Obsoletes: policycoreutils < 2.0.61-2
|
||||||
|
|
||||||
BuildRequires: pam-devel libsepol-static >= %{libsepolver} libsemanage-devel >= %{libsemanagever} libselinux-devel >= %{libselinuxver} libcap-devel audit-libs-devel >= %{libauditver} gettext
|
BuildRequires: pam-devel libsepol-static >= %{libsepolver} libsemanage-static >= %{libsemanagever} libselinux-devel >= %{libselinuxver} libcap-devel audit-libs-devel >= %{libauditver} gettext
|
||||||
BuildRequires: desktop-file-utils dbus-devel dbus-glib-devel
|
BuildRequires: desktop-file-utils dbus-devel dbus-glib-devel
|
||||||
Requires: /bin/mount /bin/egrep /bin/awk /usr/bin/diff rpm /bin/sed
|
Requires: /bin/mount /bin/egrep /bin/awk /usr/bin/diff rpm /bin/sed
|
||||||
Requires: libsepol >= %{libsepolver} coreutils checkpolicy libselinux-utils >= %{libselinuxver}
|
Requires: libsepol >= %{libsepolver} coreutils checkpolicy libselinux-utils >= %{libselinuxver}
|
||||||
@ -297,7 +297,10 @@ fi
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 14 2010 Dan Walsh <dwalsh@redhat.com> 2.0.78-12
|
* Thu Jan 21 2010 Dan Walsh <dwalsh@redhat.com> 2.0.78-13
|
||||||
|
- Fix executable template for fifo files
|
||||||
|
|
||||||
|
* Tue Jan 19 2010 Dan Walsh <dwalsh@redhat.com> 2.0.78-12
|
||||||
- Fix patch xod xmodmap
|
- Fix patch xod xmodmap
|
||||||
- Exit 0 from script
|
- Exit 0 from script
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user