From: dominick.grift@gmail.com (Dominick Grift) Date: Thu, 28 Jun 2012 00:19:14 +0200 Subject: [refpolicy] [PATCH 3/6] Supporting interfaces for the /run changes In-Reply-To: <1340833933-27811-4-git-send-email-sven.vermeulen@siphos.be> References: <1340833933-27811-1-git-send-email-sven.vermeulen@siphos.be> <1340833933-27811-4-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1340835554.27654.7.camel@x220.mydomain.internal> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Wed, 2012-06-27 at 23:52 +0200, Sven Vermeulen wrote: > > ######################################## > ## > +## Create a generic lock directory within the run directories > +## > +## > +## > +## Domain allowed access > +## > +## > +## > +## > +## The name of the object being created. > +## > +## > +# > +interface(`files_pid_filetrans_lock_dir',` > + gen_require(` > + type var_t, var_run_t; Bad requires: need var_lock_t instead. > + ') > + > + files_pid_filetrans($1, var_lock_t, dir, $2) > +')