Skip to main content

Module policy

Module policy 

Source

Structs§

AccessDecision
Encapsulates the result of a permissions calculation, between source & target domains, for a specific class. Decisions describe which permissions are allowed, and whether permissions should be audit-logged when allowed, and when denied.
AccessVector
Set of permissions that may be granted to sources accessing targets of a particular class.

Enums§

FsUseType
Discriminates among the different kinds of fs_use_* labeling statements in policy.
PolicyCap
Reference policy capability Ids.
XpermsKind
Kind of extended permission, corresponding to the base permission that triggers a check of an extended permission.

Constants§

POLICYDB_VERSION_MAX
Maximum supported SELinux policy database version.

Traits§

PolicyId
Trait for strongly-typed policy identifiers.

Type Aliases§

ClassId
Identifies a class within a policy.
PermissionId
Identifies a permission within an object class (class-relative, 1-indexed).
PolicyData
Raw binary policy data buffer.