From 8c2b32a8811f7eb7b1bb934bdf9114037ab6bbd5 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Mon, 5 Nov 2012 11:54:39 -0500 Subject: [PATCH] Apply patch from eparis to fix leaked file descriptor in new labeling code --- selinuxconlist.8 | 18 ++++++++++++++++++ selinuxdefcon.8 | 24 ++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 selinuxconlist.8 create mode 100644 selinuxdefcon.8 diff --git a/selinuxconlist.8 b/selinuxconlist.8 new file mode 100644 index 0000000..c698daa --- /dev/null +++ b/selinuxconlist.8 @@ -0,0 +1,18 @@ +.TH "selinuxconlist" "1" "7 May 2008" "dwalsh@redhat.com" "SELinux Command Line documentation" +.SH "NAME" +selinuxconlist \- list all SELinux context reachable for user +.SH "SYNOPSIS" +.B selinuxconlist [-l level] user [context] + +.SH "DESCRIPTION" +.B selinuxconlist +reports the list of context reachable for user from the current context or specified context + +.B \-l level +mcs/mls level + +.SH AUTHOR +This manual page was written by Dan Walsh . + +.SH "SEE ALSO" +secon(8), selinuxdefcon(8) diff --git a/selinuxdefcon.8 b/selinuxdefcon.8 new file mode 100644 index 0000000..3cbeff2 --- /dev/null +++ b/selinuxdefcon.8 @@ -0,0 +1,24 @@ +.TH "selinuxdefcon" "1" "7 May 2008" "dwalsh@redhat.com" "SELinux Command Line documentation" +.SH "NAME" +selinuxdefcon \- report default SELinux context for user + +.SH "SYNOPSIS" +.B selinuxdefcon [-l level] user fromcon + +.SH "DESCRIPTION" +.B selinuxdefcon +reports the default context for the specified user from the specified context + +.B \-l level +mcs/mls level + +.SH EXAMPLE +# selinuxdefcon jsmith system_u:system_r:sshd_t:s0 +.br +unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 + +.SH AUTHOR +This manual page was written by Dan Walsh . + +.SH "SEE ALSO" +secon(8), selinuxconlist(8)