78276fc43b
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>
24 lines
344 B
Plaintext
24 lines
344 B
Plaintext
policy_module(guest)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
role guest_r;
|
|
|
|
userdom_restricted_user_template(guest)
|
|
|
|
kernel_read_system_state(guest_t)
|
|
|
|
########################################
|
|
#
|
|
# Local policy
|
|
#
|
|
|
|
optional_policy(`
|
|
dbus_role_template(guest, guest_r, guest_t)
|
|
')
|
|
|
|
#gen_user(guest_u, user, guest_r, s0, s0)
|