* Fri Feb 11 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-6

- Fix genhomedircon regular expression
This commit is contained in:
Daniel J Walsh 2005-02-11 13:31:34 +00:00
parent 7500758a95
commit 5e0b9272b3
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
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
+++ 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 @@
#
# ASSUMPTIONS:
@ -235,7 +235,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon po
+ ret= self.heading()
+ ret += self.getHomeRootContext()
+ 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()
+ return ret
+

View File

@ -2,7 +2,7 @@
Summary: SELinux policy core utilities.
Name: policycoreutils
Version: 1.21.15
Release: 5
Release: 6
License: GPL
Group: System Environment/Base
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
@ -81,6 +81,9 @@ rm -rf ${RPM_BUILD_ROOT}
%config(noreplace) %{_sysconfdir}/sestatus.conf
%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
- Trap failure on write
- Rewrite genhomedircon to generate file_context.homedirs