From dd7a9363d9ba86c75727ba3900ea9dcd790696fb Mon Sep 17 00:00:00 2001 From: Lukas Vrabec Date: Mon, 11 Jan 2016 10:30:40 +0100 Subject: [PATCH] Add description of missing newrole parameter -p in newrole man page. Signed-off-by: Lukas Vrabec --- policycoreutils/newrole/newrole.1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/policycoreutils/newrole/newrole.1 b/policycoreutils/newrole/newrole.1 index c47bc522..96cdd140 100644 --- a/policycoreutils/newrole/newrole.1 +++ b/policycoreutils/newrole/newrole.1 @@ -8,6 +8,7 @@ newrole \- run a shell with a new SELinux role [\fB-t\fR|\fB--type\fR] \fITYPE\fR [\fB-l\fR|\fB--level\fR] +[\fB-p\fR|\fB--preserve-environment\fR] \fILEVEL\fR [-- [\fIARGS\fR]...] .SH DESCRIPTION .PP @@ -38,7 +39,12 @@ specified by If \fILEVEL\fR is a range, the new context will have the sensitivity level and clearance -specified by that range. +specified by that range. If the +.B -p +or +.B --preserve-environment +option is specified, the shell with the new SELinux context will preserve environment variables, +otherwise a new minimal enviroment is created. .PP Additional arguments .I ARGS