From 96385a7534ac849af1143cba5a910158b7547c45 Mon Sep 17 00:00:00 2001 From: William Roberts <william.c.roberts@intel.com> Date: Mon, 28 Nov 2016 08:07:25 -0800 Subject: [PATCH] zygote: drop braces on single item rule commit 221938cbee580d0d1627db98f8b74e4d68dbc557 introduces a fix that uses braces around a single item. This is not within the normal style of no brace around a single item. Drop the braces. Change-Id: Ibeee1e682c0face97f18d5e5177be13834485676 Signed-off-by: William Roberts <william.c.roberts@intel.com> --- public/zygote.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/zygote.te b/public/zygote.te index b2374f172..aabf12fd4 100644 --- a/public/zygote.te +++ b/public/zygote.te @@ -58,8 +58,8 @@ allow zygote self:capability sys_admin; # Allow zygote to stat the files that it opens. The zygote must # be able to inspect them so that it can reopen them on fork # if necessary: b/30963384. -allow zygote pmsg_device:chr_file { getattr }; -allow zygote debugfs_trace_marker:file { getattr }; +allow zygote pmsg_device:chr_file getattr; +allow zygote debugfs_trace_marker:file getattr; # Check validity of SELinux context before use. selinux_check_context(zygote) -- GitLab