commit | 65809bca4f0e2381b0a97a1db5f8166a19ca0d46 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Jul 11 17:49:06 2014 -0700 |
committer | Nick Kralevich <nnk@google.com> | Fri Jul 11 17:52:01 2014 -0700 |
tree | 243e7d03f6b44c0eb154b0f47326f142e6d60199 | |
parent | fee8a29f8fdae6aff6aaa3232d0f29e45ee82bec [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: Ib77436a31fa3c55e15b56f6e1a7a89d1d39b81ee