From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Mon, 26 Aug 2013 08:51:43 -0400 Subject: [refpolicy] [PATCH 6/7] Support named file transition for fixed_disk_device_t In-Reply-To: <1376765506-28924-7-git-send-email-sven.vermeulen@siphos.be> References: <1376765506-28924-1-git-send-email-sven.vermeulen@siphos.be> <1376765506-28924-7-git-send-email-sven.vermeulen@siphos.be> Message-ID: <521B4F5F.2010701@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 08/17/2013 02:51 PM, Sven Vermeulen wrote: > > 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) > ') > > ######################################## Merged. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com