aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2017-07-14 05:20:50 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-07-14 05:20:50 +0000
commitde8986a733cd605b61b0da35e8a7e1902a4a6740 (patch)
tree1dfcb9c49308803aebb2d294a4ccb1e9a5938cad
parentb60d57424c299a6621451b25e4230d37b8c9e217 (diff)
parent7fae31245fd4ce7a2cb8567b1cdf67b505271fed (diff)
downloadminijail-de8986a733cd605b61b0da35e8a7e1902a4a6740.tar.gz
Use unsigned long for prctl argument am: a7f4fc9162
am: 7fae31245f Change-Id: I90a1ad3f77dce43b936747ae18222ca91b0b9cfd
-rw-r--r--system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system.c b/system.c
index 9373e87..5dbcf54 100644
--- a/system.c
+++ b/system.c
@@ -59,7 +59,7 @@ int lock_securebits(uint64_t skip_mask)
* need to lock the NO_CAP_AMBIENT_RAISE securebit, since we are already
* configuring the permitted and inheritable set.
*/
- uint64_t securebits =
+ unsigned long securebits =
(SECURE_BITS_NO_AMBIENT | SECURE_LOCKS_NO_AMBIENT) & ~skip_mask;
if (!securebits) {
return 0;