Merge pull request #782 from pebenito/quic_amisjain-bt-uhid
Sepolicy changes for bluez to access uhid
This commit is contained in:
commit
c963ddfae0
|
@ -4851,6 +4851,25 @@ interface(`dev_rw_tpm',`
|
||||||
rw_chr_files_pattern($1, device_t, tpm_device_t)
|
rw_chr_files_pattern($1, device_t, tpm_device_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
#####################
|
||||||
|
## <summary>
|
||||||
|
## Allow open/read/write uhid device
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed rw to uhid device
|
||||||
|
## to communicate with uhid input node
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`dev_rw_uhid',`
|
||||||
|
gen_require(`
|
||||||
|
type device_t, uhid_device_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
rw_chr_files_pattern($1, device_t, uhid_device_t)
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Read from pseudo random number generator devices (e.g., /dev/urandom).
|
## Read from pseudo random number generator devices (e.g., /dev/urandom).
|
||||||
|
|
|
@ -104,6 +104,7 @@ dev_rw_generic_usb_dev(bluetooth_t)
|
||||||
dev_read_urand(bluetooth_t)
|
dev_read_urand(bluetooth_t)
|
||||||
dev_rw_input_dev(bluetooth_t)
|
dev_rw_input_dev(bluetooth_t)
|
||||||
dev_rw_wireless(bluetooth_t)
|
dev_rw_wireless(bluetooth_t)
|
||||||
|
dev_rw_uhid(bluetooth_t)
|
||||||
|
|
||||||
domain_use_interactive_fds(bluetooth_t)
|
domain_use_interactive_fds(bluetooth_t)
|
||||||
domain_dontaudit_search_all_domains_state(bluetooth_t)
|
domain_dontaudit_search_all_domains_state(bluetooth_t)
|
||||||
|
|
Loading…
Reference in New Issue