aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorSultan Alsawaf <sultan@kerneltoast.com>2020-01-20 13:03:40 -0800
committerdragonGR <alex@dragongr.dev>2020-10-21 15:17:43 +0300
commitf420d5627e032579c421b76e176a0ebd0d36643a (patch)
treefa105b933ef9b234b93072a5aabacb66b8c91737 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentb64733b5b964e7bc3c3e6f85c794205770a20236 (diff)
proc: cmdline: Patch SafetyNet flags
Userspace parses androidboot.* flags from /proc/cmdline and sets the ro.boot.* props accordingly, which in turn trips SafetyNet when the reported values are incorrect. Patch the cmdline flags checked by SafetyNet to prevent it from failing a device. These flags were found by extracting the latest snet.jar and searching for 'ro.boot.' strings. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions