Crate selinux

source ·

Re-exports§

Modules§

Structs§

  • SELinux security context-related filesystem mount options. These options are documented in the context=context, fscontext=context, defcontext=context, and rootcontext=context section of the mount(8) manpage.
  • A borrowed byte slice that contains no NUL characters by truncating the input slice at the first NUL (if any) upon construction.
  • Status information parameter for the SeLinuxStatusPublisher interface.
  • The Security ID (SID) used internally to refer to a security context.

Enums§

  • A class that may appear in SELinux policy or an access vector cache query.
  • A permission that may appear in SELinux policy or an access vector cache query.
  • A well-known “dir” class permission in SELinux policy that has a particular meaning in policy enforcement hooks.
  • A well-known file-like class in SELinux policy that has a particular meaning in policy enforcement hooks.
  • A well-known “file” class permission in SELinux policy that has a particular meaning in policy enforcement hooks.
  • A well-known “filesystem” class permission in SELinux policy that has a particular meaning in policy enforcement hooks.
  • Initial Security Identifier (SID) values actually used by this implementation. These must be present in the policy, for it to be valid.
  • A well-known class in SELinux policy that has a particular meaning in policy enforcement hooks.
  • A well-known (class, permission) pair in SELinux policy that has a particular meaning in policy enforcement hooks.
  • A well-known “process” class permission in SELinux policy that has a particular meaning in policy enforcement hooks.
  • A well-known “security” class permission in SELinux policy, used to control access to sensitive administrative and query API surfaces in the “selinuxfs”.

Constants§

  • Lowest Security Identifier value guaranteed not to be used by this implementation to refer to an initial Security Context.

Traits§