* Fri Feb 11 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-6
- Fix genhomedircon regular expression
This commit is contained in:
parent
7500758a95
commit
5e0b9272b3
@ -1,6 +1,6 @@
|
|||||||
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-1.21.15/scripts/genhomedircon
|
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-1.21.15/scripts/genhomedircon
|
||||||
--- nsapolicycoreutils/scripts/genhomedircon 2005-01-28 11:16:36.000000000 -0500
|
--- nsapolicycoreutils/scripts/genhomedircon 2005-01-28 11:16:36.000000000 -0500
|
||||||
+++ policycoreutils-1.21.15/scripts/genhomedircon 2005-02-11 00:54:56.000000000 -0500
|
+++ policycoreutils-1.21.15/scripts/genhomedircon 2005-02-11 08:22:00.000000000 -0500
|
||||||
@@ -13,38 +13,109 @@
|
@@ -13,38 +13,109 @@
|
||||||
#
|
#
|
||||||
# ASSUMPTIONS:
|
# ASSUMPTIONS:
|
||||||
@ -235,7 +235,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon po
|
|||||||
+ ret= self.heading()
|
+ ret= self.heading()
|
||||||
+ ret += self.getHomeRootContext()
|
+ ret += self.getHomeRootContext()
|
||||||
+ for h in self.getHomeDirs():
|
+ for h in self.getHomeDirs():
|
||||||
+ ret += self.getHomeDirContext ("user_u" , h+'/[A-z0-9]*', "user")
|
+ ret += self.getHomeDirContext ("user_u" , h+'/[^/]*', "user")
|
||||||
+ ret += self.genHomeDirContext()
|
+ ret += self.genHomeDirContext()
|
||||||
+ return ret
|
+ return ret
|
||||||
+
|
+
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Summary: SELinux policy core utilities.
|
Summary: SELinux policy core utilities.
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 1.21.15
|
Version: 1.21.15
|
||||||
Release: 5
|
Release: 6
|
||||||
License: GPL
|
License: GPL
|
||||||
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
|
||||||
@ -81,6 +81,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%config(noreplace) %{_sysconfdir}/sestatus.conf
|
%config(noreplace) %{_sysconfdir}/sestatus.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 11 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-6
|
||||||
|
- Fix genhomedircon regular expression
|
||||||
|
|
||||||
* Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-5
|
* Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-5
|
||||||
- Trap failure on write
|
- Trap failure on write
|
||||||
- Rewrite genhomedircon to generate file_context.homedirs
|
- Rewrite genhomedircon to generate file_context.homedirs
|
||||||
|
Loading…
Reference in New Issue
Block a user