28 lines
404 B
Plaintext
28 lines
404 B
Plaintext
policy_module(guest, 1.3.1)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
role guest_r;
|
|
|
|
userdom_restricted_user_template(guest)
|
|
|
|
kernel_read_system_state(guest_t)
|
|
|
|
########################################
|
|
#
|
|
# Local policy
|
|
#
|
|
|
|
optional_policy(`
|
|
apache_role(guest_r, guest_t)
|
|
')
|
|
|
|
optional_policy(`
|
|
dbus_role_template(guest, guest_r, guest_t)
|
|
')
|
|
|
|
#gen_user(guest_u, user, guest_r, s0, s0)
|