summaryrefslogtreecommitdiff
path: root/include/private/android_filesystem_config.h
diff options
context:
space:
mode:
authorJorge Lucangeli Obes <jorgelo@google.com>2015-09-02 16:19:59 -0700
committerJorge Lucangeli Obes <jorgelo@google.com>2015-09-02 17:18:44 -0700
commite920c46e7d6a007290c755ea66ec3367b3478e89 (patch)
treea5300b13417691afae454b7a628da05db14f4b9b /include/private/android_filesystem_config.h
parent03bbd64aa99bb03bf80a9340750afa96bdb34280 (diff)
Use CAP_MASK_LONG for file capabilities.
Extract the |1ULL << $CAP_NAME| construct to a macro, to avoid repeating it. Change-Id: I9312c27130d7e6c5b6ab3b4cc5c70a6b98378b98
Diffstat (limited to 'include/private/android_filesystem_config.h')
-rw-r--r--include/private/android_filesystem_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 7047e0feb..3e8d62af3 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
*/