commit | db7aafb58c829d48bf0ba5346ea873ab859365de | [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 14:07:43 2014 -0700 |
tree | 46c1b11330d9ad74c368683adde853bc0c63eb64 | |
parent | 43cb769574d559189bb1356643549f85a3984b08 [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 Bug: 15408470 Change-Id: Ia95191b4ebbf9310d7ddcf499a106b0561e10dea