Add interface to allow reading files in efivarfs - contains Linux Kernel configuration options for UEFI systems (UEFI Runtime Variables)

This commit is contained in:
Vit Mojzis 2015-10-01 10:20:01 +02:00 committed by Laurent Bigonville
parent 498df2c5b9
commit 17bd45dab9

View File

@ -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.