aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Love2008-10-15 14:34:49 -0500
committerArve Hjønnevåg2013-02-19 17:49:11 -0600
commit46b56700c9cb621487e73870c615062b33db33e7 (patch)
tree454e99d2da547b5c97b30bc7ccb9f42a544bc652 /include/linux/android_aid.h
parenta6e14036f4f2699602b2cd93ac2f0e6425610c0c (diff)
downloadkernel-common-46b56700c9cb621487e73870c615062b33db33e7.tar.gz
kernel-common-46b56700c9cb621487e73870c615062b33db33e7.tar.xz
kernel-common-46b56700c9cb621487e73870c615062b33db33e7.zip
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>
Diffstat (limited to 'include/linux/android_aid.h')
-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 @@
1/* include/linux/android_aid.h
2 *
3 * Copyright (C) 2008 Google, Inc.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 */
15
16#ifndef _LINUX_ANDROID_AID_H
17#define _LINUX_ANDROID_AID_H
18
19/* AIDs that the kernel treats differently */
20#define AID_NET_BT_ADMIN 3001
21#define AID_NET_BT 3002
22#define AID_INET 3003
23#define AID_NET_RAW 3004
24
25#endif