logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

semodule_package - Create a SELinux policy module package.

Authors

       This manual page was written by Dan Walsh <dwalsh@redhat.com>.
       The program was written by Karl MacMillan <kmacmillan@tresys.com>

Security Enhanced Linux                             Nov 2005                                 SEMODULE_PACKAGE(8)

Description

       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.

Example

       # 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

Name

       semodule_package - Create a SELinux policy module package.

Options

-o--outfile<outputfile>
              Policy module package file generated by this tool.

       -s--seuser<seuserfile>
              seuser file to be included in the package.

       -u--user_extra<userextrafile>
              user_extra file to be included in the package.

       -m--module<Modulefile>
              Policy module file to be included in the package.

       -f--fc<Filecontextfile>
              File contexts file for the module (optional).

       -n--nc<netfiltercontextfile>
              netfilter context file to be included in the package.

       -h--help
              Show help message.

See Also

checkmodule(8),semodule(8),semodule_unpackage(8)

Synopsis

semodule_package-o<outputfile>-m<module>[-f<filecontexts>]

See Also