Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 10 of 10) sorted by relevance

/system/core/init/
Dueventd.c80 mode_t perm; in set_device_permission() local
122 perm = strtol(args[1], &endptr, 8); in set_device_permission()
145 add_dev_perms(name, attr, perm, uid, gid, prefix); in set_device_permission()
Ddevices.c88 mode_t perm; member
103 mode_t perm, unsigned int uid, unsigned int gid, in add_dev_perms() argument
119 node->dp.perm = perm; in add_dev_perms()
155 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm); in fixup_sys_perms()
157 chmod(buf, dp->perm); in fixup_sys_perms()
163 mode_t perm; in get_device_perm() local
184 return dp->perm; in get_device_perm()
Ddevices.h25 mode_t perm, unsigned int uid,
Dutil.h28 int create_socket(const char *name, int type, mode_t perm,
Dutil.c120 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) in create_socket() argument
149 chmod(addr.sun_path, perm); in create_socket()
152 addr.sun_path, perm, uid, gid); in create_socket()
Dinit.h57 int perm; member
Dparser.c32 RAW(" socket %s %s 0%o\n", si->name, si->type, si->perm); in DUMP()
Dinit.c213 si->perm, si->uid, si->gid); in service_start()
Dinit_parser.c602 si->perm = strtoul(args[3], 0, 8); in parse_line_service()
Dreadme.txt73 socket <name> <type> <perm> [ <user> [ <group> ] ]