selinux/semodule-utils/semodule_package/semodule_package.8
Stephen Smalley f189e8afc8 libselinux,policycoreutils,python,semodule-utils: de-brand SELinux
Change "NSA SELinux" to just "SELinux" and remove NSA from the
SELinux manual pages.

Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2023-08-04 13:56:44 -04:00

55 lines
1.7 KiB
Groff

.TH SEMODULE_PACKAGE "8" "Nov 2005" "Security Enhanced Linux"
.SH NAME
semodule_package \- Create a SELinux policy module package.
.SH SYNOPSIS
.B semodule_package \-o <output file> \-m <module> [\-f <file contexts>]
.br
.SH DESCRIPTION
.PP
semodule_package is the tool used to create a SELinux policy module
package from a binary policy module and optionally other data such as file
contexts. semodule_package packages binary policy modules created by
checkmodule. The policy package created by semodule_package can then
be installed via semodule.
.SH EXAMPLE
.nf
# Build a policy package for a base module.
$ semodule_package \-o base.pp \-m base.mod \-f file_contexts
# Build a policy package for a httpd module.
$ semodule_package \-o httpd.pp \-m httpd.mod \-f httpd.fc
# Build a policy package for local TE rules and no file contexts.
$ semodule_package \-o local.pp \-m local.mod
.fi
.SH "OPTIONS"
.TP
.B \-o \-\-outfile <output file>
Policy module package file generated by this tool.
.TP
.B \-s \-\-seuser <seuser file>
seuser file to be included in the package.
.TP
.B \-u \-\-user_extra <user extra file>
user_extra file to be included in the package.
.TP
.B \-m \-\-module <Module file>
Policy module file to be included in the package.
.TP
.B \-f \-\-fc <File context file>
File contexts file for the module (optional).
.TP
.B \-n \-\-nc <netfilter context file>
netfilter context file to be included in the package.
.TP
.B \-h \-\-help
Show help message.
.SH SEE ALSO
.B checkmodule(8), semodule(8), semodule_unpackage(8)
.SH AUTHORS
.nf
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
The program was written by Karl MacMillan <kmacmillan@tresys.com>