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

/system/core/init/
H A Ddevices.h24 extern int add_devperms_partners(const char *name, mode_t perm, unsigned int uid,
H A Ddevices.c81 mode_t perm; member in struct:perms_
179 int add_devperms_partners(const char *name, mode_t perm, unsigned int uid, argument
191 node->dp.perm = perm;
205 static int qemu_perm(const char* name, mode_t perm, unsigned int uid, argument
218 qemu_perms[qemu_perm_count].perm = perm;
242 unsigned *uid, unsigned *gid, mode_t *perm)
256 *perm = perms[i].perm;
241 get_device_perm_inner(struct perms_ *perms, const char *path, unsigned *uid, unsigned *gid, mode_t *perm) argument
265 mode_t perm; local
[all...]
H A Dutil.c117 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) argument
146 chmod(addr.sun_path, perm);
149 addr.sun_path, perm, uid, gid);
H A Dinit.h24 int create_socket(const char *name, int type, mode_t perm,
101 int perm; member in struct:socketinfo
H A Dparser.c45 RAW(" socket %s %s 0%o\n", si->name, si->type, si->perm);
740 case K_socket: {/* name type perm [ uid gid ] */
743 parse_error(state, "socket option requires name, type, perm arguments\n");
757 si->perm = strtoul(args[3], 0, 8);
H A Dinit.c222 si->perm, si->uid, si->gid);

Completed in 542 milliseconds