From 8c9744873985233175928c1278b66e2d545fdf7b Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 1 Jun 2009 10:35:20 +0000 Subject: [PATCH] * Mon Jun 1 Dan Walsh 2.0.62-12.9 - Fix mount options on sandbox --- policycoreutils-F11.patch | 13 +++++++------ policycoreutils.spec | 5 ++++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/policycoreutils-F11.patch b/policycoreutils-F11.patch index 4bfe1a1..4a8a302 100644 --- a/policycoreutils-F11.patch +++ b/policycoreutils-F11.patch @@ -17,8 +17,8 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.16 --exclude=gui --exclude=po -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 --- 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 -@@ -0,0 +1,138 @@ ++++ policycoreutils-2.0.62/scripts/sandbox 2009-06-01 06:31:39.000000000 -0400 +@@ -0,0 +1,139 @@ +#!/usr/bin/python -E +import os, sys, getopt, socket, random, fcntl +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": + setype = a + -+ if o == "-m" or o == "--mount": -+ mount_ind = True -+ if o == "-h" or o == "--help": -+ usage(_("Usage")); ++ if o == "-m" or o == "--mount": ++ mount_ind = True ++ ++ if o == "-h" or o == "--help": ++ usage(_("Usage")); + + if len(cmds) == 0: + usage(_("Command required")) diff --git a/policycoreutils.spec b/policycoreutils.spec index 9b5acc6..33b8236 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.62 -Release: 12.8%{?dist} +Release: 12.9%{?dist} License: GPLv2+ Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -224,6 +224,9 @@ else fi %changelog +* Mon Jun 1 Dan Walsh 2.0.62-12.9 +- Fix mount options on sandbox + * Tue May 26 2009 Dan Walsh 2.0.62-12.8 - Allow polgen.py to generate policy for just the binary