Android UIDs and GIDs

From Android Wiki

(Difference between revisions)
Jump to: navigation, searcha
Line 1: Line 1:
AID_ROOT            0  /* traditional unix root user */<br>
AID_ROOT            0  /* traditional unix root user */<br>
-
 
+
<br>
-
AID_SYSTEM        1000  /* system server */
+
AID_SYSTEM        1000  /* system server */<br>
-
AID_RADIO        1001  /* telephony subsystem, RIL */
+
AID_RADIO        1001  /* telephony subsystem, RIL */<br>
-
AID_BLUETOOTH    1002  /* bluetooth subsystem */
+
AID_BLUETOOTH    1002  /* bluetooth subsystem */<br>
-
AID_GRAPHICS      1003  /* graphics devices */
+
AID_GRAPHICS      1003  /* graphics devices */<br>
-
AID_INPUT        1004  /* input devices */
+
AID_INPUT        1004  /* input devices */<br>
-
AID_AUDIO        1005  /* audio devices */
+
AID_AUDIO        1005  /* audio devices */<br>
-
AID_CAMERA        1006  /* camera devices */
+
AID_CAMERA        1006  /* camera devices */<br>
-
AID_LOG          1007  /* log devices */
+
AID_LOG          1007  /* log devices */<br>
-
AID_COMPASS      1008  /* compass device */
+
AID_COMPASS      1008  /* compass device */<br>
-
AID_MOUNT        1009  /* mountd socket */
+
AID_MOUNT        1009  /* mountd socket */<br>
-
AID_WIFI          1010  /* wifi subsystem */
+
AID_WIFI          1010  /* wifi subsystem */<br>
-
AID_ADB          1011  /* android debug bridge (adbd) */
+
AID_ADB          1011  /* android debug bridge (adbd) */<br>
-
AID_INSTALL      1012  /* group for installing packages */
+
AID_INSTALL      1012  /* group for installing packages */<br>
-
AID_MEDIA        1013  /* mediaserver process */
+
AID_MEDIA        1013  /* mediaserver process */<br>
-
AID_DHCP          1014  /* dhcp client */
+
AID_DHCP          1014  /* dhcp client */<br>
-
 
+
<br>
-
AID_SHELL        2000  /* adb and debug shell user */
+
AID_SHELL        2000  /* adb and debug shell user */<br>
-
AID_CACHE        2001  /* cache access */
+
AID_CACHE        2001  /* cache access */<br>
-
AID_DIAG          2002  /* access to diagnostic resources */
+
AID_DIAG          2002  /* access to diagnostic resources */<br>
-
 
+
<br>
-
/* The 3000 series are intended for use as supplemental group id's only. */
+
/* The 3000 series are intended for use as supplemental group id's only. */<br>
-
/* They indicate special Android capabilities that the kernel is aware of. */
+
/* They indicate special Android capabilities that the kernel is aware of. */<br>
-
AID_NET_BT_ADMIN  3001  /* bluetooth: create any socket */
+
AID_NET_BT_ADMIN  3001  /* bluetooth: create any socket */<br>
-
AID_NET_BT        3002  /* bluetooth: create sco, rfcomm or l2cap sockets */
+
AID_NET_BT        3002  /* bluetooth: create sco, rfcomm or l2cap sockets */<br>
-
AID_INET          3003  /* can create AF_INET and AF_INET6 sockets */
+
AID_INET          3003  /* can create AF_INET and AF_INET6 sockets */<br>
-
AID_NET_RAW      3004  /* can create raw INET sockets */
+
AID_NET_RAW      3004  /* can create raw INET sockets */<br>
-
 
+
<br>
-
AID_MISC          9998  /* access to misc storage */
+
AID_MISC          9998  /* access to misc storage */<br>
-
AID_NOBODY        9999
+
AID_NOBODY        9999<br>
-
 
+
<br>
-
AID_APP          10000 /* first app user */
+
AID_APP          10000 /* first app user */<br>
-
 
+
<br>
-
"root",      AID_ROOT
+
"root",      AID_ROOT<br>
-
"system",    AID_SYSTEM
+
"system",    AID_SYSTEM<br>
-
"radio",    AID_RADIO
+
"radio",    AID_RADIO<br>
-
"bluetooth", AID_BLUETOOTH
+
"bluetooth", AID_BLUETOOTH<br>
-
"graphics",  AID_GRAPHICS
+
"graphics",  AID_GRAPHICS<br>
-
"input",    AID_INPUT
+
"input",    AID_INPUT<br>
-
"audio",    AID_AUDIO
+
"audio",    AID_AUDIO<br>
-
"camera",    AID_CAMERA
+
"camera",    AID_CAMERA<br>
-
"log",      AID_LOG
+
"log",      AID_LOG<br>
-
"compass",  AID_COMPASS
+
"compass",  AID_COMPASS<br>
-
"mount",    AID_MOUNT
+
"mount",    AID_MOUNT<br>
-
"wifi",      AID_WIFI
+
"wifi",      AID_WIFI<br>
-
"dhcp",      AID_DHCP
+
"dhcp",      AID_DHCP<br>
-
"adb",      AID_ADB
+
"adb",      AID_ADB<br>
-
"install",  AID_INSTALL
+
"install",  AID_INSTALL<br>
-
"media",    AID_MEDIA
+
"media",    AID_MEDIA<br>
-
"shell",    AID_SHELL
+
"shell",    AID_SHELL<br>
-
"cache",    AID_CACHE
+
"cache",    AID_CACHE<br>
-
"diag",      AID_DIAG
+
"diag",      AID_DIAG<br>
-
"net_bt_admin", AID_NET_BT_ADMIN
+
"net_bt_admin", AID_NET_BT_ADMIN<br>
-
"net_bt",    AID_NET_BT
+
"net_bt",    AID_NET_BT<br>
-
"inet",      AID_INET  
+
"inet",      AID_INET <br>
-
"net_raw",  AID_NET_RAW
+
"net_raw",  AID_NET_RAW<br>
-
"misc",      AID_MISC
+
"misc",      AID_MISC<br>
-
"nobody",    AID_NOBODY
+
"nobody",    AID_NOBODY<br>

Revision as of 08:52, 6 November 2008

AID_ROOT 0 /* traditional unix root user */

AID_SYSTEM 1000 /* system server */
AID_RADIO 1001 /* telephony subsystem, RIL */
AID_BLUETOOTH 1002 /* bluetooth subsystem */
AID_GRAPHICS 1003 /* graphics devices */
AID_INPUT 1004 /* input devices */
AID_AUDIO 1005 /* audio devices */
AID_CAMERA 1006 /* camera devices */
AID_LOG 1007 /* log devices */
AID_COMPASS 1008 /* compass device */
AID_MOUNT 1009 /* mountd socket */
AID_WIFI 1010 /* wifi subsystem */
AID_ADB 1011 /* android debug bridge (adbd) */
AID_INSTALL 1012 /* group for installing packages */
AID_MEDIA 1013 /* mediaserver process */
AID_DHCP 1014 /* dhcp client */

AID_SHELL 2000 /* adb and debug shell user */
AID_CACHE 2001 /* cache access */
AID_DIAG 2002 /* access to diagnostic resources */

/* The 3000 series are intended for use as supplemental group id's only. */
/* They indicate special Android capabilities that the kernel is aware of. */
AID_NET_BT_ADMIN 3001 /* bluetooth: create any socket */
AID_NET_BT 3002 /* bluetooth: create sco, rfcomm or l2cap sockets */
AID_INET 3003 /* can create AF_INET and AF_INET6 sockets */
AID_NET_RAW 3004 /* can create raw INET sockets */

AID_MISC 9998 /* access to misc storage */
AID_NOBODY 9999

AID_APP 10000 /* first app user */

"root", AID_ROOT
"system", AID_SYSTEM
"radio", AID_RADIO
"bluetooth", AID_BLUETOOTH
"graphics", AID_GRAPHICS
"input", AID_INPUT
"audio", AID_AUDIO
"camera", AID_CAMERA
"log", AID_LOG
"compass", AID_COMPASS
"mount", AID_MOUNT
"wifi", AID_WIFI
"dhcp", AID_DHCP
"adb", AID_ADB
"install", AID_INSTALL
"media", AID_MEDIA
"shell", AID_SHELL
"cache", AID_CACHE
"diag", AID_DIAG
"net_bt_admin", AID_NET_BT_ADMIN
"net_bt", AID_NET_BT
"inet", AID_INET
"net_raw", AID_NET_RAW
"misc", AID_MISC
"nobody", AID_NOBODY

Personal tools