From 94a6b29e00efda43cc66bea2b0f6a6803d7fa4f2 Mon Sep 17 00:00:00 2001 From: Sven Vermeulen Date: Sat, 17 Aug 2013 20:51:45 +0200 Subject: [PATCH] Support named file transition for fixed_disk_device_t Signed-off-by: Sven Vermeulen --- policy/modules/kernel/storage.if | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/policy/modules/kernel/storage.if b/policy/modules/kernel/storage.if index 1700ef27f..64c4cd01c 100644 --- a/policy/modules/kernel/storage.if +++ b/policy/modules/kernel/storage.if @@ -260,13 +260,18 @@ interface(`storage_manage_fixed_disk',` ## Domain allowed access. ## ## +## +## +## Optional filename of the block device to be created +## +## # interface(`storage_dev_filetrans_fixed_disk',` gen_require(` type fixed_disk_device_t; ') - dev_filetrans($1, fixed_disk_device_t, blk_file) + dev_filetrans($1, fixed_disk_device_t, blk_file, $2) ') ########################################