commit | d0f96d7af283e83cd1d84f16a3898109214b23d9 | [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 | 84cd11f1245efba88ad96e110c0e058d84489407 [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>