Searched refs:perm (Results 1 - 13 of 13) sorted by relevance

/system/core/init/
H A Ddevices.h25 mode_t perm, unsigned int uid,
H A Dueventd.c115 mode_t perm; local
157 perm = strtol(args[1], &endptr, 8);
180 add_dev_perms(name, attr, perm, uid, gid, prefix);
H A Dutil.h28 int create_socket(const char *name, int type, mode_t perm,
H A Dinit.h57 int perm; member in struct:socketinfo
H A Dparser.c31 RAW(" socket %s %s 0%o\n", si->name, si->type, si->perm);
H A Ddevices.c73 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 Dutil.c87 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 Dproperty_service.c157 const char *perm = "set"; local
169 if (selinux_check_access(sctx, tctx, class, perm, name) == 0)
H A Dinit.c260 si->perm, si->uid, si->gid);
H A Dinit_parser.c774 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 Dlibrank.c174 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 Dsdcard.c168 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 Dkeystore.cpp194 static bool has_permission(uid_t uid, perm_t perm) { argument
203 return user.perms & perm;
207 return DEFAULT_PERMS & perm;

Completed in 129 milliseconds