selinux-refpolicy/policy/modules/apps/vlock.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

44 lines
802 B
Plaintext

policy_module(vlock)
########################################
#
# Declarations
#
attribute_role vlock_roles;
type vlock_t;
type vlock_exec_t;
application_domain(vlock_t, vlock_exec_t)
role vlock_roles types vlock_t;
########################################
#
# Local policy
#
dontaudit vlock_t self:capability { setgid setuid };
allow vlock_t self:fd use;
allow vlock_t self:fifo_file rw_fifo_file_perms;
kernel_read_system_state(vlock_t)
corecmd_list_bin(vlock_t)
domain_use_interactive_fds(vlock_t)
files_dontaudit_search_home(vlock_t)
mls_file_write_all_levels(vlock_t)
selinux_dontaudit_getattr_fs(vlock_t)
auth_use_pam(vlock_t)
init_dontaudit_rw_utmp(vlock_t)
miscfiles_read_localization(vlock_t)
userdom_dontaudit_search_user_home_dirs(vlock_t)
userdom_use_user_terminals(vlock_t)