summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2014-02-06 20:12:06 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2014-02-06 20:12:06 +0400
commit546fe7cbae393738d254105a7ab8bc06c4407764 (patch)
tree13a18d2c6abf9f78332c5126818f1e3405bd0b69
parenta69451fd61bde44e0a4eb7c91cd828d29a1895c6 (diff)
In the current kernel the Android AIDs are only used as the argument to in_egroup_p(). They should be of kgid_t type then. Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r--include/linux/android_aid.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/android_aid.h b/include/linux/android_aid.h
index 06264b8be5f0..6f1fa1792dfc 100644
--- a/include/linux/android_aid.h
+++ b/include/linux/android_aid.h
@@ -17,12 +17,12 @@
#define _LINUX_ANDROID_AID_H
/* AIDs that the kernel treats differently */
-#define AID_OBSOLETE_000 3001 /* was NET_BT_ADMIN */
-#define AID_OBSOLETE_001 3002 /* was NET_BT */
-#define AID_INET 3003
-#define AID_NET_RAW 3004
-#define AID_NET_ADMIN 3005
-#define AID_NET_BW_STATS 3006 /* read bandwidth statistics */
-#define AID_NET_BW_ACCT 3007 /* change bandwidth statistics accounting */
+#define AID_OBSOLETE_000 KGIDT_INIT(3001) /* was NET_BT_ADMIN */
+#define AID_OBSOLETE_001 KGIDT_INIT(3002) /* was NET_BT */
+#define AID_INET KGIDT_INIT(3003)
+#define AID_NET_RAW KGIDT_INIT(3004)
+#define AID_NET_ADMIN KGIDT_INIT(3005)
+#define AID_NET_BW_STATS KGIDT_INIT(3006) /* read bandwidth statistics */
+#define AID_NET_BW_ACCT KGIDT_INIT(3007) /* change bandwidth statistics accounting */
#endif