From 2db1cd48fc7de34cad5bbffdbdafa98e0ac19f3a Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep <jeffv@google.com> Date: Fri, 21 Apr 2017 09:33:39 -0700 Subject: [PATCH] Fix build time warning Fixes warning: system/sepolicy/public/install_recovery.te:14:WARNING 'unrecognized character' at token ''' on line 13335: allow install_recovery vendor_file:file { { getattr open read ioctl lock } { getattr execute execute_no_trans } };' Bug: 37105075 Test: Fugu policy builds without this warning. Change-Id: I8f417c51a816f3983a918c7e36dd804c5b85543f --- public/install_recovery.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/install_recovery.te b/public/install_recovery.te index 9a2a9ee05..21156634d 100644 --- a/public/install_recovery.te +++ b/public/install_recovery.te @@ -10,7 +10,7 @@ allow install_recovery shell_exec:file rx_file_perms; # Execute /system/bin/applypatch allow install_recovery system_file:file rx_file_perms; -not_full_treble(allow install_recovery vendor_file:file rx_file_perms;') +not_full_treble(`allow install_recovery vendor_file:file rx_file_perms;') allow install_recovery toolbox_exec:file rx_file_perms; -- GitLab