-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7dHDoACgkQrlYvE4MpobOyEwCcCzHFgZ2j/tD6ijfBrxq5Pk3I VFwAn3vm/XShueGeCFW2BTaj4LoZiheJ =DWbp -----END PGP SIGNATURE-----
>From fa7ed33b48ec8a575777bb01ac24614b7a2ea783 Mon Sep 17 00:00:00 2001 From: Eric Paris <eparis@xxxxxxxxxx> Date: Wed, 30 Nov 2011 16:29:59 -0500 Subject: [PATCH 25/48] policycoreutils: sandbox: move sandbox.conf.5 to just sandbox.5 Since this file lives in /etc/sysconfig/ it does not include a .conf extention. Thus the man page should not include a .conf in the filename. Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> --- policycoreutils/sandbox/Makefile | 2 +- policycoreutils/sandbox/sandbox.5 | 40 ++++++++++++++++++++++++++++++++ policycoreutils/sandbox/sandbox.conf.5 | 40 -------------------------------- 3 files changed, 41 insertions(+), 41 deletions(-) create mode 100644 policycoreutils/sandbox/sandbox.5 delete mode 100644 policycoreutils/sandbox/sandbox.conf.5 diff --git a/policycoreutils/sandbox/Makefile b/policycoreutils/sandbox/Makefile index 36042a2..96c6795 100644 --- a/policycoreutils/sandbox/Makefile +++ b/policycoreutils/sandbox/Makefile @@ -23,7 +23,7 @@ install: all install -m 644 sandbox.8 $(MANDIR)/man8/ install -m 644 seunshare.8 $(MANDIR)/man8/ -mkdir -p $(MANDIR)/man5 - install -m 644 sandbox.conf.5 $(MANDIR)/man5/sandbox.5 + install -m 644 sandbox.5 $(MANDIR)/man5/sandbox.5 -mkdir -p $(SBINDIR) install -m 4755 seunshare $(SBINDIR)/ -mkdir -p $(SHAREDIR) diff --git a/policycoreutils/sandbox/sandbox.5 b/policycoreutils/sandbox/sandbox.5 new file mode 100644 index 0000000..b3ee67d --- /dev/null +++ b/policycoreutils/sandbox/sandbox.5 @@ -0,0 +1,40 @@ +.TH sandbox.conf "5" "June 2010" "sandbox.conf" "Linux System Administration" +.SH NAME +sandbox.conf \- user config file for the SELinux sandbox +.SH DESCRIPTION +.PP +When running sandbox with the -C argument, it will be confined using control groups and a system administrator can specify how the sandbox is confined. + +.PP +Everything after "#" is ignored, as are empty lines. All arguments should be separated by and equals sign ("="). + +.PP +These keywords are allowed. + +.RS +.TP +.B NAME +The name of the sandbox control group. Default is "sandbox". + +.TP +.B CPUAFFINITY +Which cpus to assign sandbox to. The default is ALL, but users can specify a comma-separated list with dashes ("-") to represent ranges. Ex: 0-2,5 + +.TP +.B MEMUSAGE +How much memory to allow sandbox to use. The default is 80%. Users can specify either a percentage or a value in the form of a number followed by one of the suffixes K, M, G to denote kilobytes, megabytes or gigabytes respectively. Ex: 50% or 100M + +.TP +.B CPUUSAGE +Percentage of cpu sandbox should be allowed to use. The default is 80%. Specify a value followed by a percent sign ("%"). Ex: 50% + + + +.SH "SEE ALSO" +.TP +sandbox(8) +.PP + +.SH AUTHOR +This manual page was written by +.I Thomas Liu <tliu@xxxxxxxxxxxxxxxxx> diff --git a/policycoreutils/sandbox/sandbox.conf.5 b/policycoreutils/sandbox/sandbox.conf.5 deleted file mode 100644 index b3ee67d..0000000 --- a/policycoreutils/sandbox/sandbox.conf.5 +++ /dev/null @@ -1,40 +0,0 @@ -.TH sandbox.conf "5" "June 2010" "sandbox.conf" "Linux System Administration" -.SH NAME -sandbox.conf \- user config file for the SELinux sandbox -.SH DESCRIPTION -.PP -When running sandbox with the -C argument, it will be confined using control groups and a system administrator can specify how the sandbox is confined. - -.PP -Everything after "#" is ignored, as are empty lines. All arguments should be separated by and equals sign ("="). - -.PP -These keywords are allowed. - -.RS -.TP -.B NAME -The name of the sandbox control group. Default is "sandbox". - -.TP -.B CPUAFFINITY -Which cpus to assign sandbox to. The default is ALL, but users can specify a comma-separated list with dashes ("-") to represent ranges. Ex: 0-2,5 - -.TP -.B MEMUSAGE -How much memory to allow sandbox to use. The default is 80%. Users can specify either a percentage or a value in the form of a number followed by one of the suffixes K, M, G to denote kilobytes, megabytes or gigabytes respectively. Ex: 50% or 100M - -.TP -.B CPUUSAGE -Percentage of cpu sandbox should be allowed to use. The default is 80%. Specify a value followed by a percent sign ("%"). Ex: 50% - - - -.SH "SEE ALSO" -.TP -sandbox(8) -.PP - -.SH AUTHOR -This manual page was written by -.I Thomas Liu <tliu@xxxxxxxxxxxxxxxxx> -- 1.7.7.4