base: role changes for the new libmtp module

This is the base part of the policy needed to support libmtp (an
Initiator implementation of the Media Transfer Protocol).

Signed-off-by: Guido Trentalancia <guido at trentalancia.net>
This commit is contained in:
Guido Trentalancia 2017-05-13 23:15:27 +02:00 committed by Chris PeBenito
parent cfe0a94feb
commit 4f8b753f24
3 changed files with 12 additions and 0 deletions

View File

@ -124,6 +124,10 @@ ifndef(`distro_redhat',`
java_role(staff_r, staff_t)
')
optional_policy(`
libmtp_role(staff_r, staff_t)
')
optional_policy(`
lockdev_role(staff_r, staff_t)
')

View File

@ -550,6 +550,10 @@ optional_policy(`
ldap_admin(sysadm_t, sysadm_r)
')
optional_policy(`
libmtp_role(sysadm_r, sysadm_t)
')
optional_policy(`
libs_run_ldconfig(sysadm_t, sysadm_r)
')

View File

@ -97,6 +97,10 @@ ifndef(`distro_redhat',`
java_role(user_r, user_t)
')
optional_policy(`
libmtp_role(user_r, user_t)
')
optional_policy(`
lockdev_role(user_r, user_t)
')