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

semanage-ibendport - SELinux Policy Management ibendport mapping tool

Author

       This man page was written by Daniel Jurgens <danielj@mellanox.com>

                                                    20170508                               semanage-ibendport(8)

Description

       semanage is used to configure certain elements of SELinux policy without  requiring  modification  to  or
       recompilation  from  policy  sources.  semanageibendport controls the ibendport number to ibendport type
       definitions.

Example

       List all ibendport definitions
       # semanage ibendport -l
       Label mlx4_0 port 2.
       # semanage ibendport -a -t allowed_ibendport_t -z mlx4_0 2

Name

semanage-ibendport-SELinuxPolicyManagementibendportmappingtool

Options

-h,--help
              Show this help message and exit

       -n,--noheading
              Do not print heading when listing the specified object type

       -N,--noreload
              Do not reload policy after commit

       -SSTORE,--storeSTORE
              Select an alternate SELinux Policy Store to manage

       -C,--locallist
              List local customizations

       -a,--add
              Add a record of the specified object type

       -d,--delete
              Delete a record of the specified object type

       -m,--modify
              Modify a record of the specified object type

       -l,--list
              List records of the specified object type

       -E,--extract
              Extract customizable commands, for use within a transaction

       -D,--deleteall
              Remove all local customizations

       -tTYPE,--typeTYPE
              SELinux type for the object

       -rRANGE,--rangeRANGE
              MLS/MCS Security Range (MLS/MCS Systems only) SELinux Range for SELinux login mapping defaults  to
              the SELinux user record range. SELinux Range for SELinux user defaults to s0.

       -zIBDEV_NAME,--ibdev_nameIBDEV_NAME
              The name of the infiniband device for the port to be labeled.  (ex. mlx5_0)

See Also

selinux(8), semanage(8)

Synopsis

semanageibendport[-h][-n][-N][-SSTORE][--add-tTYPE-zIBDEV_NAME-rRANGEport|--delete-zIBDEV_NAMEport|--deleteall|--extract|--list[-C]|--modify-tTYPE-zIBDEV_NAME-rRANGEport]

See Also