2022-01-06 13:55:54 +00:00
|
|
|
policy_module(guest)
|
2018-06-23 13:00:56 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
role guest_r;
|
|
|
|
|
|
|
|
userdom_restricted_user_template(guest)
|
|
|
|
|
|
|
|
kernel_read_system_state(guest_t)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
2021-03-13 23:22:59 +00:00
|
|
|
optional_policy(`
|
|
|
|
dbus_role_template(guest, guest_r, guest_t)
|
|
|
|
')
|
|
|
|
|
2018-06-23 13:00:56 +00:00
|
|
|
#gen_user(guest_u, user, guest_r, s0, s0)
|