mirror of
https://github.com/SELinuxProject/selinux
synced 2025-03-05 01:37:33 +00:00
- Add man page sections '(N)' to external references, and '()' on functions described in the same man page. - Escape minus signs when those are expected to be used on the command line or files. - Mark files and variables in italic; Note headings, function names, constants, program options and man page references in bold. - Do not justify and hyphenate SEE ALSO section, and avoid hyphenation on symbol names by prepending them with \%. - Remove trailing dot from NAME section description. - Split sections with a no-op command '.', to visually distinguish them but to avoid introducing spurious vertical space in the formatted output. - Add explicit .sp commands in the SYNOPSIS section between function prototypes, and fix space placement in function protoypes. - Split header includes with .br (instead of the explicit or implicit .sp) so that they are vertically contiguous. - Add missing {} around SELINUXTYPE and POLICYTYPE variable text in paths. - Remove unneeded formatting commands. - Remove spurious blank lines. Signed-off-by: Guillem Jover <guillem@debian.org> Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
28 lines
691 B
Groff
28 lines
691 B
Groff
.TH "selinuxexeccon" "1" "14 May 2011" "dwalsh@redhat.com" "SELinux Command Line documentation"
|
|
.SH "NAME"
|
|
selinuxexeccon \- report SELinux context used for this executable
|
|
.
|
|
.SH "SYNOPSIS"
|
|
.B selinuxexeccon
|
|
.I command
|
|
.RI [ fromcon ]
|
|
.
|
|
.SH "DESCRIPTION"
|
|
.B selinuxexeccon
|
|
reports the SELinux process context for the specified command from the specified context or the current context.
|
|
.
|
|
.SH EXAMPLE
|
|
.nf
|
|
# selinuxexeccon /usr/bin/passwd
|
|
staff_u:staff_r:passwd_t:s0-s0:c0.c1023
|
|
|
|
# selinuxexeccon /usr/sbin/sendmail system_u:system_r:httpd_t:s0
|
|
system_u:system_r:system_mail_t:s0
|
|
.fi
|
|
.
|
|
.SH AUTHOR
|
|
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
|
|
.
|
|
.SH "SEE ALSO"
|
|
.BR secon (8)
|