selinux-refpolicy/policy/modules/admin/su.te
Chris PeBenito 78276fc43b Drop module versioning.
Semodule stopped using this many years ago. The policy_module() macro will
continue to support an optional second parameter as version.
If it is not specified, a default value of 1 is set.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2022-01-06 09:19:13 -05:00

20 lines
380 B
Plaintext

policy_module(su)
## <desc>
## <p>
## Determine whether the user application
## exec domain attribute should be respected
## for su access. If not enabled, only user
## domains themselves may use su.
## </p>
## </desc>
gen_tunable(su_allow_user_exec_domains, false)
########################################
#
# Declarations
#
type su_exec_t;
corecmd_executable_file(su_exec_t)