fix build error
This commit is contained in:
parent
e2b84ef79a
commit
6c63996d9b
|
@ -36,7 +36,7 @@ dev_getattr_all_chr_files(readahead_t)
|
|||
dev_getattr_all_blk_files(readahead_t)
|
||||
dev_dontaudit_read_all_blk_files(readahead_t)
|
||||
dev_dontaudit_getattr_memory_dev(readahead_t)
|
||||
dev_dontaudit_getattr_nvram(readahead_t)
|
||||
dev_dontaudit_getattr_nvram_dev(readahead_t)
|
||||
storage_dontaudit_getattr_fixed_disk_dev(readahead_t)
|
||||
|
||||
domain_use_interactive_fds(readahead_t)
|
||||
|
|
|
@ -1977,6 +1977,25 @@ interface(`dev_create_null_dev',`
|
|||
allow $1 self:capability mknod;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Do not audit attempts to get the attributes
|
||||
## of the BIOS non-volatile RAM device.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`dev_dontaudit_getattr_nvram_dev',`
|
||||
gen_require(`
|
||||
type nvram_device_t;
|
||||
')
|
||||
|
||||
dontaudit $1 nvram_device_t:chr_file getattr;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Read and write BIOS non-volatile RAM.
|
||||
|
|
Loading…
Reference in New Issue