commit | e920c46e7d6a007290c755ea66ec3367b3478e89 | [log] [tgz] |
---|---|---|
author | Jorge Lucangeli Obes <jorgelo@google.com> | Wed Sep 02 16:19:59 2015 -0700 |
committer | Jorge Lucangeli Obes <jorgelo@google.com> | Wed Sep 02 17:18:44 2015 -0700 |
tree | a5300b13417691afae454b7a628da05db14f4b9b | |
parent | 03bbd64aa99bb03bf80a9340750afa96bdb34280 [diff] [blame] |
Use CAP_MASK_LONG for file capabilities. Extract the |1ULL << $CAP_NAME| construct to a macro, to avoid repeating it. Change-Id: I9312c27130d7e6c5b6ab3b4cc5c70a6b98378b98
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 7047e0f..3e8d62a 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h
@@ -32,6 +32,8 @@ #include "android_filesystem_capability.h" #endif +#define CAP_MASK_LONG(cap_name) (1ULL << (cap_name)) + /* This is the master Users and Groups config for the platform. * DO NOT EVER RENUMBER */