From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Sat, 17 Aug 2013 20:51:45 +0200 Subject: [refpolicy] [PATCH 6/7] Support named file transition for fixed_disk_device_t In-Reply-To: <1376765506-28924-1-git-send-email-sven.vermeulen@siphos.be> References: <1376765506-28924-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1376765506-28924-7-git-send-email-sven.vermeulen@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com 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 1700ef2..64c4cd0 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) ') ######################################## -- 1.8.1.5