Skip to content

Commit

Permalink
Add interface devicekit_mounton_var_lib()
Browse files Browse the repository at this point in the history
  • Loading branch information
wrabcak committed Aug 28, 2018
1 parent 6e809e5 commit 5bdee6f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions devicekit.if
Expand Up @@ -433,3 +433,22 @@ interface(`devicekit_filetrans_named_content',`
logging_log_filetrans($1, devicekit_var_log_t, file, "pm-powersave.log")
logging_log_filetrans($1, devicekit_var_log_t, file, "pm-suspend.log")
')

########################################

## <summary>
## Mounton devicekit lib directory.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`devicekit_mounton_var_lib',`
gen_require(`
type devicekit_var_lib_t;
')

allow $1 devicekit_var_lib_t:dir mounton;
')

0 comments on commit 5bdee6f

Please sign in to comment.