diff options
| author | Ben Fennema <fennema@google.com> | 2017-07-25 14:37:21 -0700 |
|---|---|---|
| committer | Tom Cherry <tomcherry@google.com> | 2017-07-27 03:31:18 +0000 |
| commit | a72436067d5f88885e4b32fa7c5d22f1ea8c0756 (patch) | |
| tree | b1e051454eed8af433cf6785be0e659b8175e6b3 /trusty/coverage/coverage_test.cpp | |
| parent | a19f481c8caa8f1e7579fffa3c382d5181d982fa (diff) | |
init: fix type of 2nd argument passed to prctl
prctl(PR_SET_SECUREBITS, ...) expects an unsigned long as its 2nd argument.
Passing in a int64_t happens to work with a 64-bit kernel, but does not
work with a 32-bit kernel.
Bug: 63680332
Test: boot 32-bit kernel; verify services with capabilities can successfully
set those capabilties
Change-Id: I60250d107a77b54b2e9fe3419b4480b921c7e2f8
Signed-off-by: Ben Fennema <fennema@google.com>
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
