summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Love <rlove@google.com>2008-10-15 15:34:49 -0400
committerColin Cross <ccross@android.com>2012-04-09 13:53:14 -0700
commit8d9e6aca1f6042e53123be3eda327a955a509a35 (patch)
treebc9f8ef65a63452c62c740adc368f1ee4eb92acc
parent80d38eaf3d88a59b25b38479bac012e4cb104b8e (diff)
Add android_aid.h
Add <linux/android_aid.h>, our mapping of AID defines to gid numbers. Signed-off-by: Robert Love <rlove@google.com>
-rw-r--r--include/linux/android_aid.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/android_aid.h b/include/linux/android_aid.h
new file mode 100644
index 00000000000..d22723afbca
--- /dev/null
+++ b/include/linux/android_aid.h
@@ -0,0 +1,25 @@
+/* include/linux/android_aid.h
+ *
+ * Copyright (C) 2008 Google, Inc.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef _LINUX_ANDROID_AID_H
+#define _LINUX_ANDROID_AID_H
+
+/* AIDs that the kernel treats differently */
+#define AID_NET_BT_ADMIN 3001
+#define AID_NET_BT 3002
+#define AID_INET 3003
+#define AID_NET_RAW 3004
+
+#endif