commit | 9c096034139e1d15a7f4765ddcfcc27520b03493 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Sat Jul 12 13:52:45 2014 -0700 |
committer | Nick Kralevich <nnk@google.com> | Sat Jul 12 15:25:30 2014 -0700 |
tree | 20b8b0a069477931a5ec80bc1b03a99cd507ebc5 | |
parent | 1270fd98598ed6983803f895a7579e89dd6220d5 [diff] |
Cleanup vroot test and fix false positive. The previous test was too complicated. Use the kernel binary sysctl to exercise the get_user call instead. Besides being simpler, it has the advantage of not crashing the device if the vulnerability is present. Credit for the idea comes from https://twitter.com/grsecurity/status/401443359912239105 (cherrypicked from db7aafb58c829d48bf0ba5346ea873ab859365de) Bug: 15408470 Change-Id: I25137913f0671037b2e24101bf0097f2c2fadee6