Use unsigned long for prctl argument am: a7f4fc9162 am: 7fae31245f am: de8986a733
am: 6cf96468c5
Change-Id: I7fc56bb6d531d53e1c321834f2ce95cc4385560f
diff --git a/system.c b/system.c
index 9373e87..5dbcf54 100644
--- a/system.c
+++ b/system.c
@@ -59,7 +59,7 @@
* 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;