Joshua Brindle | 13cd4c8 | 2008-08-19 15:30:36 -0400 | [diff] [blame] | 1 | .TH SEMODULE_PACKAGE "8" "Nov 2005" "Security Enhanced Linux" NSA |
| 2 | .SH NAME |
| 3 | semodule_package \- Create a SELinux policy module package. |
| 4 | |
| 5 | .SH SYNOPSIS |
| 6 | .B semodule_package -o <output file> -m <module> [-f <file contexts>] |
| 7 | .br |
| 8 | .SH DESCRIPTION |
| 9 | .PP |
| 10 | semodule_package is the tool used to create a SELinux policy module |
| 11 | package from a binary policy module and optionally other data such as file |
| 12 | contexts. semodule_package packages binary policy modules created by |
| 13 | checkmodule. The policy package created by semodule_package can then |
| 14 | be installed via semodule. |
| 15 | |
| 16 | .SH EXAMPLE |
| 17 | .nf |
| 18 | # Build a policy package for a base module. |
| 19 | $ semodule_package -o base.pp -m base.mod -f file_contexts |
| 20 | # Build a policy package for a httpd module. |
| 21 | $ semodule_package -o httpd.pp -m httpd.mod -f httpd.fc |
| 22 | # Build a policy package for local TE rules and no file contexts. |
| 23 | $ semodule_package -o local.pp -m local.mod |
| 24 | .fi |
| 25 | |
| 26 | .SH "OPTIONS" |
| 27 | .TP |
| 28 | .B \-o \-\-outfile <output file> |
| 29 | Policy module package file generated by this tool. |
| 30 | .TP |
| 31 | .B \-s \-\-seuser <seuser file> |
| 32 | seuser file to be included in the package. |
| 33 | .TP |
| 34 | .B \-u \-\-user_extra <user extra file> |
| 35 | user_extra file to be included in the package. |
| 36 | .TP |
| 37 | .B \-m \-\-module <Module file> |
| 38 | Policy module file to be included in the package. |
| 39 | .TP |
| 40 | .B \-f \-\-fc <File context file> |
| 41 | File contexts file for the module (optional). |
| 42 | .TP |
| 43 | .B \-n \-\-nc <netfilter context file> |
| 44 | netfilter context file to be included in the package. |
| 45 | |
| 46 | .SH SEE ALSO |
Dan Walsh | 8fb9a45 | 2011-08-04 09:53:34 -0400 | [diff] [blame] | 47 | .B checkmodule(8), semodule(8), semodule_unpackage(8) |
Joshua Brindle | 13cd4c8 | 2008-08-19 15:30:36 -0400 | [diff] [blame] | 48 | .SH AUTHORS |
| 49 | .nf |
| 50 | This manual page was written by Dan Walsh <dwalsh@redhat.com>. |
| 51 | The program was written by Karl MacMillan <kmacmillan@tresys.com> |