diff options
author | Ben Fennema <fennema@google.com> | 2017-07-25 14:37:21 -0700 |
---|---|---|
committer | Ben Fennema <fennema@google.com> | 2017-07-27 21:57:40 +0000 |
commit | 7d7e7cdf3498d0484f85fa69688a79fe3cd7091e (patch) | |
tree | dcb8740490feae926dcbd5b56a606e341a4d3c45 /trusty/coverage/coverage.cpp | |
parent | 684f4883b33856d8d0cd97e33f07b2939957bf96 (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>
(cherry picked from commit a72436067d5f88885e4b32fa7c5d22f1ea8c0756)
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions