summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorBen Fennema <fennema@google.com>2017-07-25 14:37:21 -0700
committerTom Cherry <tomcherry@google.com>2017-07-27 03:31:18 +0000
commita72436067d5f88885e4b32fa7c5d22f1ea8c0756 (patch)
treeb1e051454eed8af433cf6785be0e659b8175e6b3 /libcutils/socket_local_server_unix.cpp
parenta19f481c8caa8f1e7579fffa3c382d5181d982fa (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 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions