[policycoreutils/f15/master] Return to original seunshare man page
Daniel J Walsh
dwalsh at fedoraproject.org
Wed Mar 16 13:36:27 UTC 2011
commit fd42cdb339648e39c0253dca589969c62ffeb1a9
Author: Dan Walsh <dwalsh at redhat.com>
Date: Wed Mar 16 09:36:26 2011 -0400
Return to original seunshare man page
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 7ba2583..506acb0 100644
--- a/policycoreutils-rhat.patch
+++ b/policycoreutils-rhat.patch
@@ -2079,26 +2079,29 @@ index 8338203..e501b03 100644
break
diff --git a/policycoreutils/sandbox/seunshare.8 b/policycoreutils/sandbox/seunshare.8
new file mode 100644
-index 0000000..6063d6a
+index 0000000..e7b8991
--- /dev/null
+++ b/policycoreutils/sandbox/seunshare.8
-@@ -0,0 +1,34 @@
+@@ -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 f8eb3fa..aba4da6 100644
--- a/policycoreutils.spec
+++ b/policycoreutils.spec
@@ -7,7 +7,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.0.85
-Release: 21%{?dist}
+Release: 22%{?dist}
License: GPLv2
Group: System Environment/Base
# Based on git repository with tag 20101221
@@ -331,6 +331,9 @@ fi
exit 0
%changelog
+* Wed Mar 16 2011 Dan Walsh <dwalsh at redhat.com> 2.0.85-22
+- Return to original seunshare man page
+
* Fri Mar 11 2011 Dan Walsh <dwalsh at redhat.com> 2.0.85-21
- change default location of HOMEDIR in sandbox to /tmp/.sandbox_home_*
- This will allow default sandboxes to work on NFS homedirs without allowing
More information about the scm-commits
mailing list