Add interface to allow reading files in efivarfs - contains Linux Kernel configuration options for UEFI systems (UEFI Runtime Variables)
This commit is contained in:
parent
498df2c5b9
commit
17bd45dab9
@ -1846,6 +1846,26 @@ interface(`fs_manage_dos_files',`
|
||||
manage_files_pattern($1, dosfs_t, dosfs_t)
|
||||
')
|
||||
|
||||
#######################################
|
||||
## <summary>
|
||||
## Read files in efivarfs
|
||||
## - contains Linux Kernel configuration options for UEFI systems
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
## <rolecap/>
|
||||
#
|
||||
interface(`fs_read_efivarfs_files',`
|
||||
gen_require(`
|
||||
type efivarfs_t;
|
||||
')
|
||||
|
||||
read_files_pattern($1, efivarfs_t, efivarfs_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Read eventpollfs files.
|
||||
|
Loading…
Reference in New Issue
Block a user