[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhRyivFBBQZ=6_sdidtfPQD-huBi2y6fRn5pw=VztPRokg@mail.gmail.com>
Date: Sun, 12 Jul 2015 20:24:27 -0400
From: Paul Moore <paul@...l-moore.com>
To: Laurent Bigonville <bigon@...ian.org>
Cc: selinux@...ho.nsa.gov, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Explicitly declare the role "base_r"
On Tue, Jul 7, 2015 at 5:10 PM, Laurent Bigonville <bigon@...ian.org> wrote:
> From: Laurent Bigonville <bigon@...on.be>
>
> This fixes the compilation of policy generated by mdp with the recent
> version of checkpolicy.
>
> Signed-off-by: Laurent Bigonville <bigon@...on.be>
> ---
> scripts/selinux/mdp/mdp.c | 1 +
> 1 file changed, 1 insertion(+)
Merged into selinux#next, thank you.
> 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",
> --
> 2.1.4
--
paul moore
www.paul-moore.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists