Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions policy/modules/kernel/domain.te
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ policy_module(domain, 1.11.0)
#
gen_tunable(domain_fd_use, true)

## <desc>
## <p>
## Allow all domains to set NoNewPrivs
## </p>
## </desc>
#
gen_tunable(domain_no_new_privs, false)

## <desc>
## <p>
## Allow all domains to execute in fips_mode
Expand Down Expand Up @@ -209,6 +217,10 @@ tunable_policy(`domain_can_mmap_files',`
allow domain file_type:lnk_file map;
')

tunable_policy(`domain_no_new_privs',`
allow domain self:process2 nnp_transition;
')

ifdef(`hide_broken_symptoms',`
# This check is in the general socket
# listen code, before protocol-specific
Expand Down