[policycoreutils/f13/master] Fix seunshare man page to go back to original, allowing -t tmpfile

Daniel J Walsh dwalsh at fedoraproject.org
Wed Mar 16 13:41:53 UTC 2011


commit 0c72a3e903839173d38cbdea1d3f09a46d079d3c
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Wed Mar 16 09:41:52 2011 -0400

    Fix seunshare man page to go back to original, allowing -t tmpfile

 policycoreutils-rhat.patch |   13 ++++++++-----
 policycoreutils.spec       |    5 ++++-
 2 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch
index aa18e35..fbbc80b 100644
--- a/policycoreutils-rhat.patch
+++ b/policycoreutils-rhat.patch
@@ -2180,24 +2180,27 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.23 --exclude=gui --exclude=po
      break
 diff --exclude-from=exclude --exclude=sepolgen-1.0.23 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/sandbox/seunshare.8 policycoreutils-2.0.83/sandbox/seunshare.8
 --- nsapolicycoreutils/sandbox/seunshare.8	1969-12-31 19:00:00.000000000 -0500
-+++ policycoreutils-2.0.83/sandbox/seunshare.8	2011-03-15 09:28:51.779381000 -0400
-@@ -0,0 +1,34 @@
++++ policycoreutils-2.0.83/sandbox/seunshare.8	2011-03-16 09:40:31.646617802 -0400
+@@ -0,0 +1,37 @@
 +.TH SEUNSHARE "8" "May 2010" "seunshare" "User Commands"
 +.SH NAME
 +seunshare \- Run cmd with alternate homedir, tmpdir and/or SELinux context
 +.SH SYNOPSIS
 +.B seunshare
-+[ -v ] -h homedir [ -Z context ] -- executable [args]
++[ -v ] [ -t tmpdir ] [ -h homedir ] [ -Z context ] -- executable [args]
 +.br
 +.SH DESCRIPTION
 +.PP
 +Run the 
 +.I executable
-+within the specified context, using the alternate home directory and /tmp directory.  The seunshare command unshares from the default namespace, then mounts the specified homedir over the default homedir.  It also creates a temporary directori in /tmp and mounts it on top of /tmp and /var/tmp. Optionally it  tells the kernel to execute the application under the specified SELinux context.
++within the specified context, using the alternate home directory and /tmp directory.  The seunshare command unshares from the default namespace, then mounts the specified homedir and tmpdir over the default homedir and /tmp. Finally it tells the kernel to execute the application under the specified SELinux context.
 +
 +.TP
 +\fB\-h homedir\fR
-+Alternate homedir to be used by the application.  Homedir must be owned by the user. Can not be on /tmp. (seunsahre will create a new /tmp and copy the contents of homedir/.sandboxtmp into the newly created /tmp.
++Alternate homedir to be used by the application.  Homedir must be owned by the user.
++.TP
++\fB\-t\ tmpdir
++Use alternate tempory directory to mount on /tmp.  tmpdir must be owned by the user.
 +.TP
 +\fB\-c cgroups\fR
 +Use cgroups to control this copy of seunshare.  Specify parameters in /etc/sysconfig/sandbox.  Max memory usage and cpu usage are to be specified in percent.  You can specify which CPUs to use by numbering them 0,1,2... etc.
diff --git a/policycoreutils.spec b/policycoreutils.spec
index 4bb6cbf..061341b 100644
--- a/policycoreutils.spec
+++ b/policycoreutils.spec
@@ -7,7 +7,7 @@
 Summary: SELinux policy core utilities
 Name:	 policycoreutils
 Version: 2.0.83
-Release: 33.3%{?dist}
+Release: 33.4%{?dist}
 License: GPLv2
 Group:	 System Environment/Base
 Source:  http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
@@ -316,6 +316,9 @@ fi
 exit 0
 
 %changelog
+* Wed Mar 16 2011 Dan Walsh <dwalsh at redhat.com> 2.0.83-33.4
+- Fix seunshare man page to go back to original, allowing -t tmpfile
+
 * Tue Mar 15 2011 Dan Walsh <dwalsh at redhat.com> 2.0.83-33.3
 - Change sepolgen-ifgen to search all available policy files
 - Fix portspage in system-config-selinux to not crash


More information about the scm-commits mailing list