Chris PeBenito 0fbfa5
#DESC Userspace Object Managers
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
#################################
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
# Get our own security context.
Chris PeBenito 0fbfa5
can_getcon(userspace_objmgr)
Chris PeBenito 0fbfa5
# Get security decisions via selinuxfs.
Chris PeBenito 0fbfa5
can_getsecurity(userspace_objmgr)
Chris PeBenito 0fbfa5
# Read /etc/selinux
Chris PeBenito 0fbfa5
r_dir_file(userspace_objmgr, { selinux_config_t default_context_t })
Chris PeBenito 0fbfa5
# Receive notifications of policy reloads and enforcing status changes.
Chris PeBenito 0fbfa5
allow userspace_objmgr self:netlink_selinux_socket { create bind read };
Chris PeBenito 0fbfa5