Searched defs:uid (Results 26 - 33 of 33) sorted by relevance

12

/system/core/init/
H A Ddevices.c78 unsigned int uid; member in struct:perms_
99 mode_t perm, unsigned int uid, unsigned int gid,
116 node->dp.uid = uid;
151 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm);
152 chown(buf, dp->uid, dp->gid);
157 static mode_t get_device_perm(const char *path, unsigned *uid, unsigned *gid) argument
178 *uid = dp->uid;
183 *uid
98 add_dev_perms(const char *name, const char *attr, mode_t perm, unsigned int uid, unsigned int gid, unsigned short prefix) argument
192 unsigned uid; local
[all...]
/system/core/toolbox/
H A Dtop.c57 uid_t uid; member in struct:proc_info
303 proc->uid = cur_proc.uid;
395 unsigned int uid, gid; local
400 sscanf(line, "Uid: %u", &uid);
404 proc->uid = uid; proc->gid = gid;
465 user = getpwuid(proc->uid);
470 snprintf(user_buf, 20, "%d", proc->uid);
/system/netd/
H A DCommandListener.cpp1432 int uid = atoi(argv[2]); local
1435 int res = sFirewallCtrl->setUidRule(uid, rule);
H A DBandwidthController.cpp100 * iptables -A penalty_box -m owner --uid-owner app_3 \
284 std::string BandwidthController::makeIptablesNaughtyCmd(IptOp op, int uid) { argument
301 asprintf(&buff, "%s penalty_box -m owner --uid-owner %d", opFlag, uid);
322 std::list<int /*uid*/>::iterator it;
327 failLogTemplate = "Failed to add app uid %d to penalty box.";
331 failLogTemplate = "Failed to delete app uid %d from penalty box.";
347 int uid = appUids[uidNum]; local
349 if (*it == uid)
356 ALOGE("No such appUid %d to remove", uid);
[all...]
/system/core/libcutils/
H A Dmq.c51 uid_t uid; member in struct:__anon392
628 // Fake gid and uid until we have the real thing. The real creds are
631 credentials.uid = 0;
1050 credentials.uid = ucredentials.uid;
/system/core/sdcard/
H A Dsdcard.c299 attr->uid = 0;
1242 ERROR("usage: sdcard [-t<threads>] <source_path> <dest_path> <uid> <gid>\n"
1248 static int run(const char* source_path, const char* dest_path, uid_t uid, gid_t gid, argument
1266 fd, uid, gid);
1280 res = setuid(uid);
1304 uid_t uid = 0; local
1317 else if (!uid) {
1320 uid = strtoul(arg, &endptr, 10);
1322 ERROR("Invalid uid");
1347 if (!uid || !gi
[all...]
H A Dfuse.h98 __u32 uid; member in struct:fuse_attr
344 __u32 uid; member in struct:fuse_setattr_in
541 __u32 uid; member in struct:fuse_in_header
/system/security/keystore/
H A Dkeystore.cpp180 static int encode_key_for_uid(char* out, uid_t uid, const Value* key) { argument
181 int n = snprintf(out, NAME_MAX, "%u_", uid);
441 uint32_t uid; member in struct:__anon570
616 uid_t uid; local
617 if (!convertToUid(uidValue, &uid)) {
621 grant_t *grant = getGrant(filename, uid);
624 grant->uid = uid;
631 uid_t uid; local
632 if (!convertToUid(uidValue, &uid)) {
895 get_key_for_name(KeyStore* keyStore, Blob* keyBlob, const Value* keyName, const uid_t uid, const BlobType type) argument
939 get(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*, Value*) argument
952 insert(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* val, Value*) argument
960 del(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value*, Value*) argument
971 exist(KeyStore*, int, uid_t uid, Value* keyName, Value*, Value*) argument
980 saw(KeyStore*, int sock, uid_t uid, Value* keyPrefix, Value*, Value*) argument
1052 unlock(KeyStore* keyStore, int sock, uid_t uid, Value* pw, Value* unused, Value* unused2) argument
1061 generate(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value*, Value*) argument
1094 import(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* key, Value*) argument
1114 get_pubkey(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*, Value*) argument
1149 del_key(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value*, Value*) argument
1180 sign(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value* data, Value*) argument
1221 verify(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* data, Value* signature) argument
1253 grant(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* granteeData, Value*) argument
1265 ungrant(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* granteeData, Value*) argument
1276 getmtime(KeyStore*, int sock, uid_t uid, Value* keyName, Value*, Value*) argument
1363 uid_t uid; member in struct:user
1375 process(KeyStore* keyStore, int sock, uid_t uid, int8_t code) argument
[all...]

Completed in 309 milliseconds

12