1 Nov 2011 20:25
[PATCH 01/63] checkpolicy: the " is not part of the filename for
This patch looks good to me. acked.
From c3ba40d2e17186d702a6ea2b83e185603dafa06f Mon Sep 17 00:00:00 2001 From: Dan Walsh <dwalsh@...> Date: Tue, 20 Sep 2011 09:52:57 -0400 Subject: [PATCH 01/63] checkpolicy: the " is not part of the filename for trans rules Policy decided that all filenames needed to be wrapped in " in the filename trans rules. But we weren't doing anything with those in the language syntax and instead just passed the " to the kernel as if the filename in question were actually \"file\". Add the " to the policy grammer. Signed-off-by: Eric Paris <eparis@...> --- checkpolicy/policy_parse.y | 4 ++-- checkpolicy/policy_scan.l | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/checkpolicy/policy_parse.y b/checkpolicy/policy_parse.y index 49ac15f..1e3ef6f 100644 --- a/checkpolicy/policy_parse.y +++ b/checkpolicy/policy_parse.y <at> <at> -353,7 +353,7 <at> <at> cond_rule_def : cond_transition_def | require_block { $$ = NULL; } ;(Continue reading)
RSS Feed