summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDave Weinstein <olorin@google.com>2017-01-19 18:03:34 -0800
committerDave Weinstein <olorin@google.com>2017-01-20 09:40:43 -0800
commit44f7e4f42190fdb5309b818d5acc0ff6b0f87249 (patch)
tree37a3f9c1c79ff98819f3a967357ca7b410aa615d /trusty/coverage/coverage.cpp
parent8dbab358f01ed0957ff4d5b1c505981dfe93d5de (diff)
Move the kptr_restrict setting from init.rc to init.cpp.
Also ensure that it uses the highest supported value, and abort if the value is not above a minimum threshold. Test: Tested against the curent kernel (maximum value of 2, set to 0 by the kernel initially) and against a modified kernel (maximum value of 4, set to 4 by the kernel initially) Bug: 30368199 Change-Id: I608db577258b68b390ffe96f452e1f7c0bc9ad8a
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions