Searched defs:perm (Results 1 - 6 of 6) sorted by relevance

/system/core/init/
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 Dinit.h57 int perm; member in struct:socketinfo
H A Dproperty_service.c206 const char *perm = "set"; local
218 if (selinux_check_access(sctx, tctx, class, perm, name) == 0)
H A Dutil.c86 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) argument
126 chmod(addr.sun_path, perm);
129 addr.sun_path, perm, uid, gid);
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;
148 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm);
150 chmod(buf, dp->perm);
156 mode_t perm; local
177 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
/system/security/keystore/
H A Dkeystore.cpp183 static bool has_permission(uid_t uid, perm_t perm) { argument
192 return user.perms & perm;
196 return DEFAULT_PERMS & perm;

Completed in 69 milliseconds