Add description of missing newrole parameter -p in newrole man page.

Signed-off-by: Lukas Vrabec <lvrabec@redhat.com>
This commit is contained in:
Lukas Vrabec 2016-01-11 10:30:40 +01:00 committed by Steve Lawrence
parent 3e558a7d1b
commit dd7a9363d9
1 changed files with 7 additions and 1 deletions

View File

@ -8,6 +8,7 @@ newrole \- run a shell with a new SELinux role
[\fB-t\fR|\fB--type\fR] [\fB-t\fR|\fB--type\fR]
\fITYPE\fR \fITYPE\fR
[\fB-l\fR|\fB--level\fR] [\fB-l\fR|\fB--level\fR]
[\fB-p\fR|\fB--preserve-environment\fR]
\fILEVEL\fR [-- [\fIARGS\fR]...] \fILEVEL\fR [-- [\fIARGS\fR]...]
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
@ -38,7 +39,12 @@ specified by
If If
\fILEVEL\fR \fILEVEL\fR
is a range, the new context will have the sensitivity level and clearance 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 .PP
Additional arguments Additional arguments
.I ARGS .I ARGS