SamarV-121 | b575711 | 2020-09-21 05:47:44 +0000 | [diff] [blame] | 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_OBSOLETE_000 KGIDT_INIT(3001) /* was NET_BT_ADMIN */ |
| 21 | #define AID_OBSOLETE_001 KGIDT_INIT(3002) /* was NET_BT */ |
| 22 | #define AID_INET KGIDT_INIT(3003) |
| 23 | #define AID_NET_RAW KGIDT_INIT(3004) |
| 24 | #define AID_NET_ADMIN KGIDT_INIT(3005) |
| 25 | #define AID_NET_BW_STATS KGIDT_INIT(3006) /* read bandwidth statistics */ |
| 26 | #define AID_NET_BW_ACCT KGIDT_INIT(3007) /* change bandwidth statistics accounting */ |
| 27 | |
| 28 | #endif |