/system/core/init/ |
H A D | devices.h | 25 mode_t perm, unsigned int uid,
|
H A D | ueventd.c | 115 mode_t perm; local 157 perm = strtol(args[1], &endptr, 8); 180 add_dev_perms(name, attr, perm, uid, gid, prefix);
|
H A D | util.h | 28 int create_socket(const char *name, int type, mode_t perm,
|
H A D | init.h | 57 int perm; member in struct:socketinfo
|
H A D | parser.c | 31 RAW(" socket %s %s 0%o\n", si->name, si->type, si->perm);
|
H A D | devices.c | 73 mode_t perm; member in struct:perms_ 96 mode_t perm, unsigned int uid, unsigned int gid, 112 node->dp.perm = perm; 149 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm); 151 chmod(buf, dp->perm); 165 mode_t perm; local 186 return dp->perm; 95 add_dev_perms(const char *name, const char *attr, mode_t perm, unsigned int uid, unsigned int gid, unsigned short prefix) argument
|
H A D | util.c | 87 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) argument 127 chmod(addr.sun_path, perm); 130 addr.sun_path, perm, uid, gid);
|
H A D | property_service.c | 157 const char *perm = "set"; local 169 if (selinux_check_access(sctx, tctx, class, perm, name) == 0)
|
H A D | init.c | 260 si->perm, si->uid, si->gid);
|
H A D | init_parser.c | 774 case K_socket: {/* name type perm [ uid gid ] */ 777 parse_error(state, "socket option requires name, type, perm arguments\n"); 792 si->perm = strtoul(args[3], 0, 8);
|
/system/extras/librank/ |
H A D | librank.c | 174 static int parse_perm(const char *perm) argument 178 while (*perm) { 179 switch(*perm) { 190 fprintf(stderr, "Unknown permission '%c'\n", *perm); 193 perm++; 219 int perm; local 232 perm = 0; 252 {"perm", required_argument, 0, 'm'}, 280 perm = parse_perm(optarg); 351 if (perm [all...] |
/system/core/sdcard/ |
H A D | sdcard.c | 168 perm_t perm; member in struct:node 426 node->perm = PERM_INHERIT; 437 switch (parent->perm) { 443 node->perm = PERM_ROOT; 451 node->perm = PERM_ANDROID; 470 node->perm = PERM_ANDROID_DATA; 474 node->perm = PERM_ANDROID_OBB; 483 node->perm = PERM_ANDROID_USER; 498 node->perm = PERM_ROOT; 524 if (parent_node && parent_node->perm [all...] |
/system/security/keystore/ |
H A D | keystore.cpp | 194 static bool has_permission(uid_t uid, perm_t perm) { argument 203 return user.perms & perm; 207 return DEFAULT_PERMS & perm;
|