devices/storage: quote arguments to tunable_policy

Match the overall style and please sepolgen-ifgen

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
Christian Göttsche 2020-05-28 14:27:59 +02:00
parent a3811f4eb4
commit dcb01ec4cc
2 changed files with 4 additions and 4 deletions

View File

@ -2802,7 +2802,7 @@ interface(`dev_read_raw_memory_cond',`
')
typeattribute $1 memory_raw_read;
tunable_policy($2, `
tunable_policy(`$2', `
read_chr_files_pattern($1, device_t, memory_device_t)
allow $1 self:capability sys_rawio;
')
@ -2880,7 +2880,7 @@ interface(`dev_write_raw_memory_cond',`
')
typeattribute $1 memory_raw_write;
tunable_policy($2, `
tunable_policy(`$2', `
write_chr_files_pattern($1, device_t, memory_device_t)
allow $1 self:capability sys_rawio;
')
@ -2956,7 +2956,7 @@ interface(`dev_wx_raw_memory_cond',`
typeattribute $1 memory_raw_write;
dev_write_raw_memory_cond($1, $2)
tunable_policy($2, `
tunable_policy(`$2', `
allow $1 memory_device_t:chr_file { map execute };
')
')

View File

@ -130,7 +130,7 @@ interface(`storage_raw_read_fixed_disk_cond',`
')
typeattribute $1 fixed_disk_raw_read;
tunable_policy($2, `
tunable_policy(`$2', `
dev_list_all_dev_nodes($1)
allow $1 fixed_disk_device_t:blk_file read_blk_file_perms;
allow $1 fixed_disk_device_t:chr_file read_chr_file_perms;