* Mon Jun 1 Dan Walsh <dwalsh@redhat.com> 2.0.62-12.9

- Fix mount options on sandbox
This commit is contained in:
Daniel J Walsh 2009-06-01 10:35:20 +00:00
parent 15753a3a4a
commit 8c97448739
2 changed files with 11 additions and 7 deletions

View File

@ -17,8 +17,8 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.16 --exclude=gui --exclude=po
-mkdir -p $(MANDIR)/man8 -mkdir -p $(MANDIR)/man8
diff --exclude-from=exclude --exclude=sepolgen-1.0.16 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/sandbox policycoreutils-2.0.62/scripts/sandbox diff --exclude-from=exclude --exclude=sepolgen-1.0.16 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/sandbox policycoreutils-2.0.62/scripts/sandbox
--- nsapolicycoreutils/scripts/sandbox 1969-12-31 19:00:00.000000000 -0500 --- nsapolicycoreutils/scripts/sandbox 1969-12-31 19:00:00.000000000 -0500
+++ policycoreutils-2.0.62/scripts/sandbox 2009-05-26 12:30:48.000000000 -0400 +++ policycoreutils-2.0.62/scripts/sandbox 2009-06-01 06:31:39.000000000 -0400
@@ -0,0 +1,138 @@ @@ -0,0 +1,139 @@
+#!/usr/bin/python -E +#!/usr/bin/python -E
+import os, sys, getopt, socket, random, fcntl +import os, sys, getopt, socket, random, fcntl
+import selinux +import selinux
@ -119,10 +119,11 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.16 --exclude=gui --exclude=po
+ if o == "-t" or o == "--type": + if o == "-t" or o == "--type":
+ setype = a + setype = a
+ +
+ if o == "-m" or o == "--mount": + if o == "-m" or o == "--mount":
+ mount_ind = True + mount_ind = True
+ if o == "-h" or o == "--help": +
+ usage(_("Usage")); + if o == "-h" or o == "--help":
+ usage(_("Usage"));
+ +
+ if len(cmds) == 0: + if len(cmds) == 0:
+ usage(_("Command required")) + usage(_("Command required"))

View File

@ -6,7 +6,7 @@
Summary: SELinux policy core utilities Summary: SELinux policy core utilities
Name: policycoreutils Name: policycoreutils
Version: 2.0.62 Version: 2.0.62
Release: 12.8%{?dist} Release: 12.9%{?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
@ -224,6 +224,9 @@ else
fi fi
%changelog %changelog
* Mon Jun 1 Dan Walsh <dwalsh@redhat.com> 2.0.62-12.9
- Fix mount options on sandbox
* Tue May 26 2009 Dan Walsh <dwalsh@redhat.com> 2.0.62-12.8 * Tue May 26 2009 Dan Walsh <dwalsh@redhat.com> 2.0.62-12.8
- Allow polgen.py to generate policy for just the binary - Allow polgen.py to generate policy for just the binary