commit | a72436067d5f88885e4b32fa7c5d22f1ea8c0756 | [log] [tgz] |
---|---|---|
author | Ben Fennema <fennema@google.com> | Tue Jul 25 14:37:21 2017 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Thu Jul 27 03:31:18 2017 +0000 |
tree | b1e051454eed8af433cf6785be0e659b8175e6b3 | |
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>