1SEMODULE_PACKAGE(8) NSA SEMODULE_PACKAGE(8)
2
3
4
6 semodule_package - Create a SELinux policy module package.
7
8
10 semodule_package -o <output file> -m <module> [-f <file contexts>]
11
13 semodule_package is the tool used to create a SELinux policy module
14 package from a binary policy module and optionally other data such as
15 file contexts. semodule_package packages binary policy modules created
16 by checkmodule. The policy package created by semodule_package can
17 then be installed via semodule.
18
19
21 # Build a policy package for a base module.
22 $ semodule_package -o base.pp -m base.mod -f file_contexts
23 # Build a policy package for a httpd module.
24 $ semodule_package -o httpd.pp -m httpd.mod -f httpd.fc
25 # Build a policy package for local TE rules and no file contexts.
26 $ semodule_package -o local.pp -m local.mod
27
28
30 -o --outfile <output file>
31 Policy module package file generated by this tool.
32
33 -s --seuser <seuser file>
34 seuser file to be included in the package.
35
36 -u --user_extra <user extra file>
37 user_extra file to be included in the package.
38
39 -m --module <Module file>
40 Policy module file to be included in the package.
41
42 -f --fc <File context file>
43 File contexts file for the module (optional).
44
45 -n --nc <netfilter context file>
46 netfilter context file to be included in the package.
47
48
50 checkmodule(8), semodule(8) [22m(8),
51
53 This manual page was written by Dan Walsh <dwalsh@redhat.com>.
54 The program was written by Karl MacMillan <kmacmillan@tresys.com>
55
56
57
58Security Enhanced Linux Nov 2005 SEMODULE_PACKAGE(8)