Message-ID: <559D1DFD.8050804@tycho.nsa.gov> Date: Wed, 08 Jul 2015 08:56:29 -0400 From: Stephen Smalley MIME-Version: 1.0 To: Laurent Bigonville , selinux@tycho.nsa.gov Subject: Re: [PATCH] Explicitly declare the role "base_r" References: <1436303452-5206-1-git-send-email-bigon@debian.org> In-Reply-To: <1436303452-5206-1-git-send-email-bigon@debian.org> Content-Type: text/plain; charset=windows-1252 List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: On 07/07/2015 05:10 PM, Laurent Bigonville wrote: > From: Laurent Bigonville > > This fixes the compilation of policy generated by mdp with the recent > version of checkpolicy. > > Signed-off-by: Laurent Bigonville Acked-by: Stephen Smalley > --- > scripts/selinux/mdp/mdp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/selinux/mdp/mdp.c b/scripts/selinux/mdp/mdp.c > index 62b34ce..e10beb1 100644 > --- a/scripts/selinux/mdp/mdp.c > +++ b/scripts/selinux/mdp/mdp.c > @@ -98,6 +98,7 @@ int main(int argc, char *argv[]) > > /* types, roles, and allows */ > fprintf(fout, "type base_t;\n"); > + fprintf(fout, "role base_r;\n"); > fprintf(fout, "role base_r types { base_t };\n"); > for (i = 0; secclass_map[i].name; i++) > fprintf(fout, "allow base_t base_t:%s *;\n", >