Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/external/e2fsprogs/tests/f_journal/
Dexpect.12 Clearing orphaned inode 37 (uid=0, gid=0, mode=0100600, size=4096)
3 Clearing orphaned inode 90 (uid=0, gid=0, mode=040700, size=1024)
4 Clearing orphaned inode 67 (uid=0, gid=0, mode=0100600, size=4096)
5 Clearing orphaned inode 50 (uid=0, gid=0, mode=0100600, size=4096)
6 Clearing orphaned inode 57 (uid=0, gid=0, mode=040700, size=1024)
7 Clearing orphaned inode 80 (uid=0, gid=0, mode=040700, size=1024)
8 Clearing orphaned inode 45 (uid=0, gid=0, mode=040700, size=1024)
9 Clearing orphaned inode 71 (uid=0, gid=0, mode=0100600, size=4096)
10 Clearing orphaned inode 86 (uid=0, gid=0, mode=040700, size=1024)
11 Clearing orphaned inode 83 (uid=0, gid=0, mode=040700, size=1024)
[all …]
/external/selinux/sepolgen/tests/
Daudit.txt2 …0=80d2437 a1=bf9132f8 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8132 auid=500 uid=0 gid=0 euid=0 suid…
5 …0=80d2437 a1=bf910a48 a2=4c56cff4 a3=0 items=0 ppid=8132 pid=8133 auid=500 uid=0 gid=0 euid=0 suid…
8 …0=80d2437 a1=bf910a48 a2=4c56cff4 a3=0 items=0 ppid=8132 pid=8134 auid=500 uid=0 gid=0 euid=0 suid…
11 …0=80d2437 a1=bfc0ba38 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid…
14 …0=80d2437 a1=bfc0b188 a2=4c56cff4 a3=0 items=0 ppid=8144 pid=8145 auid=500 uid=0 gid=0 euid=0 suid…
17 …0=80d2437 a1=bfc0b188 a2=4c56cff4 a3=0 items=0 ppid=8144 pid=8146 auid=500 uid=0 gid=0 euid=0 suid…
20 …0=80d2437 a1=bfc0a6c8 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid…
23 …0=80d2437 a1=bfc0a0b8 a2=4c56cff4 a3=0 items=0 ppid=8151 pid=8152 auid=500 uid=0 gid=0 euid=0 suid…
26 …0=80d2437 a1=bfc09c78 a2=4c56cff4 a3=0 items=0 ppid=8151 pid=8153 auid=500 uid=0 gid=0 euid=0 suid…
29 …0=80d2437 a1=bfc09be8 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid…
[all …]
/external/autotest/server/cros/clique_lib/
Dclique_dut_control.py77 test_params=None, uid=""): argument
95 self._uid = uid
120 def uid(self): member in CliqueControl
195 uid=dut.host.hostname)
202 result = ControlResult(uid=self.uid,
213 result = ControlResult(uid=self.uid,
226 result = ControlResult(uid=self.uid,
249 result = ControlResult(uid=self.uid,
284 result = ControlResult(uid=self.uid,
304 return ControlResult(uid=self.uid,
[all …]
/external/dbus/dbus/
Ddbus-userdb-util.c49 _dbus_is_console_user (dbus_uid_t uid, in _dbus_is_console_user() argument
64 r = sd_uid_get_seats (uid, 0, NULL); in _dbus_is_console_user()
69 uid, in _dbus_is_console_user()
96 if (_dbus_stat(&f, &st, NULL) && (st.uid == uid)) in _dbus_is_console_user()
118 info = _dbus_user_database_lookup (db, uid, NULL, error); in _dbus_is_console_user()
142 dbus_uid_t *uid) in _dbus_get_user_id() argument
144 return _dbus_get_user_id_and_primary_group (username, uid, NULL); in _dbus_get_user_id()
214 *uid_p = info->uid; in _dbus_get_user_id_and_primary_group()
381 _dbus_groups_from_uid (dbus_uid_t uid, in _dbus_groups_from_uid() argument
399 if (!_dbus_user_database_get_uid (db, uid, in _dbus_groups_from_uid()
[all …]
Ddbus-userdb.c129 dbus_uid_t uid, in _dbus_user_database_lookup() argument
136 _dbus_assert (uid != DBUS_UID_UNSET || username != NULL); in _dbus_user_database_lookup()
139 if (uid == DBUS_UID_UNSET) in _dbus_user_database_lookup()
144 uid = n; in _dbus_user_database_lookup()
148 if (uid != DBUS_UID_UNSET) in _dbus_user_database_lookup()
149 info = _dbus_hash_table_lookup_uintptr (db->users, uid); in _dbus_user_database_lookup()
156 info->uid); in _dbus_user_database_lookup()
164 if (uid != DBUS_UID_UNSET) in _dbus_user_database_lookup()
166 uid); in _dbus_user_database_lookup()
178 if (uid != DBUS_UID_UNSET) in _dbus_user_database_lookup()
[all …]
Ddbus-userdb.h60 dbus_uid_t uid,
77 dbus_uid_t uid,
94 dbus_uid_t *uid);
102 dbus_bool_t _dbus_groups_from_uid (dbus_uid_t uid,
105 dbus_bool_t _dbus_is_console_user (dbus_uid_t uid,
116 dbus_bool_t _dbus_homedir_from_uid (dbus_uid_t uid,
/external/compiler-rt/lib/tsan/rtl/
Dtsan_sync.h33 u64 uid; // Globally unique id. member
49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid);
54 return GetLsb((u64)addr | (uid << 47), 61); in GetId()
56 bool CheckId(u64 uid) const { in CheckId()
57 CHECK_EQ(uid, GetLsb(uid, 14)); in CheckId()
58 return GetLsb(this->uid, 14) == uid; in CheckId()
60 static uptr SplitId(u64 id, u64 *uid) { in SplitId()
61 *uid = id >> 47; in SplitId()
/external/toybox/toys/pending/
Dipcs.c64 TT.id, ipcperm.uid, ipcperm.gid, ipcperm.cuid, ipcperm.cgid,ipcperm.mode); in show_msg_id()
95 ipcperm.uid, ipcperm.gid, ipcperm.cuid, ipcperm.cgid, in show_sem_id()
135 ipcperm.uid, ipcperm.gid, ipcperm.cuid, ipcperm.cgid, in show_shm_id()
211 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array()
213 else printf("%-10d %-10.10d", shmid, buf.shm_perm.uid); in shm_array()
221 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array()
223 else printf("%-10d %-10.10d", shmid, buf.shm_perm.uid); in shm_array()
231 if ((pw = getpwuid(buf.shm_perm.uid))) printf(" %-10s", pw->pw_name); in shm_array()
232 else printf(" %-10d", buf.shm_perm.uid); in shm_array()
237 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array()
[all …]
Duseradd.c37 long uid;
82 if (TT.uid > INT_MAX) error_exit("bad uid");
83 if (getpwuid(TT.uid)) error_exit("uid '%ld' in use", TT.uid);
85 if (toys.optflags & FLAG_S) TT.uid = CFG_TOYBOX_UID_SYS;
86 else TT.uid = CFG_TOYBOX_UID_USR;
88 while (getpwuid(TT.uid)) TT.uid++;
90 pwd.pw_uid = TT.uid;
144 xmprintf("%lu:%lu", TT.uid, TT.gid), p, 0});
/external/autotest/tko/
Dunique_cookie.py11 uid = ''
22 uid = uid_cookie.replace(key, '')
24 if not uid:
25 uid = str(random.random())[2:16] # random string of 14 digits
26 set_cookie_statement = 'Set-Cookie:%s=%s;' % (cookie_key, uid)
30 return uid
/external/tlsdate/src/
Dutil-plan9.c68 uid_t uid; in drop_privs_to() local
86 uid = pw->pw_uid; in drop_privs_to()
87 if (0 == uid) in drop_privs_to()
108 if (0 != setresuid (uid, uid, uid)) in drop_privs_to()
111 if (0 != (setuid (uid) | seteuid (uid))) in drop_privs_to()
/external/strace/tests/
Duid.awk43 uid = a[1]
45 regexp = "^setuid" suffix "\\(" uid "\\)[[:space:]]+= 0$"
48 … regexp = "^getresuid" suffix "\\(\\[" uid "\\], \\[" uid "\\], \\[" uid "\\]\\)[[:space:]]+= 0$"
54 regexp = "^setresuid" suffix "\\(" uid ", -1, -1\\)[[:space:]]+= 0$"
Duid.c47 int uid; in main() local
54 uid = syscall(__NR_getuid); in main()
64 if (uid == n) in main()
70 assert(syscall(__NR_setuid, uid) == 0); in main()
80 assert(syscall(__NR_setresuid, uid, -1, -1L) == 0); in main()
Duid16.c64 int uid; in main() local
68 uid = syscall(__NR_getuid); in main()
78 if (uid == n) in main()
84 assert(syscall(__NR_setuid, uid) == 0); in main()
94 assert(syscall(__NR_setresuid, uid, -1, 0xffff) == 0); in main()
/external/selinux/sepolgen/tests/test_data/
Daudit.log2 …2 a0=2 a1=5401 a2=bfb6479c a3=bfb647dc items=0 ppid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 …
5 … a0=bfdb2fde a1=4 a2=4db18a64 a3=bfdb2fde items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=50…
7 …es exit=24 a0=11833c a1=0 a2=1 a3=8aeffb8 items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=50…
9 …xit=13 a0=9c0e840 a1=42 a2=1c0 a3=9c0e840 items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=50…
11 … exit=0 a0=d a1=7 a2=bf991e3c a3=bf991e3c items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=50…
13 type=USER_AUTH msg=audit(1162850343.419:983): user pid=6377 uid=500 auid=500 subj=staff_u:staff_r:s…
14 type=USER_ACCT msg=audit(1162850343.419:984): user pid=6377 uid=500 auid=500 subj=staff_u:staff_r:s…
16 … a0=bf95cd98 a1=8000 a2=1b6 a3=8e1f9a8 items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 …
18 …it=0 a0=bfa1f935 a1=2 a2=bfa1e1e0 a3=0 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=50…
20 …t=2 a0=bfa1f935 a1=0 a2=1b6 a3=85b5008 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=50…
[all …]
Dhttpd.log1 type=USER_AVC msg=audit(1163772866.369:8084): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
2 type=USER_AVC msg=audit(1163772866.437:8085): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
3 type=USER_AVC msg=audit(1163772866.449:8086): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
4 type=USER_AVC msg=audit(1163772866.449:8087): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
5 type=USER_AVC msg=audit(1163772866.449:8088): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
6 type=USER_AVC msg=audit(1163772866.453:8089): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
7 type=USER_AVC msg=audit(1163772866.453:8090): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
8 type=USER_AVC msg=audit(1163772866.453:8091): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
9 type=USER_AVC msg=audit(1163772866.453:8092): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
10 type=USER_AVC msg=audit(1163772866.453:8093): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:st…
[all …]
/external/llvm/utils/TableGen/
DX86DisassemblerTables.h222 InstrUID uid,
253 InstrUID uid,
263 InstructionSpecifier& specForUID(InstrUID uid) { in specForUID() argument
264 if (uid >= InstructionSpecifiers.size()) in specForUID()
265 InstructionSpecifiers.resize(uid + 1); in specForUID()
267 return InstructionSpecifiers[uid]; in specForUID()
/external/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c57 uid_t uid, euid, suid; in report() local
67 getresuid(&uid, &euid, &suid); in report()
70 if ((uid != euid && uid != 0) || in report()
75 getresuid(&uid, &euid, &suid); in report()
76 if (uid == 0) { in report()
86 printf("User credentials uid:%d euid:%d suid:%d\n", uid, euid, suid); in report()
90 if (uid != euid || gid != egid) in report()
Dnetcap.c196 node.uid = euid; in collect_process_info()
224 if (n->uid == 0) { in report_finding()
228 } else if (last_uid != (int)n->uid) { in report_finding()
230 p = getpwuid(n->uid); in report_finding()
231 last_uid = n->uid; in report_finding()
254 int local_port, rem_port, d, state, timer_run, uid, timeout; in read_tcp() local
275 &uid, &timeout, &inode, more); in read_tcp()
288 int local_port, rem_port, d, state, timer_run, uid, timeout; in read_udp() local
309 &uid, &timeout, &inode, more); in read_udp()
322 int local_port, rem_port, d, state, timer_run, uid, timeout; in read_raw() local
[all …]
/external/e2fsprogs/tests/f_orphan/
Dexpect.11 Clearing orphaned inode 15 (uid=0, gid=0, mode=040755, size=1024)
2 Clearing orphaned inode 17 (uid=0, gid=0, mode=0100644, size=0)
3 Clearing orphaned inode 16 (uid=0, gid=0, mode=040755, size=1024)
4 Clearing orphaned inode 14 (uid=0, gid=0, mode=0100644, size=69)
5 Clearing orphaned inode 13 (uid=0, gid=0, mode=040755, size=1024)
/external/squashfs-tools/squashfs-tools/
Dsquashfs_compat.h77 unsigned int uid:8; member
86 unsigned int uid:8; member
96 unsigned int uid:8; member
107 unsigned int uid:8; member
119 unsigned int uid:8; member
133 unsigned int uid:8; member
148 unsigned int uid:8; member
162 unsigned int uid:8; member
270 SQUASHFS_SWAP((s)->uid, d, 16, 8);\
449 unsigned int uid:4; /* index into uid table */ member
[all …]
Dsquashfs_fs.h313 unsigned short uid; member
322 unsigned short uid; member
332 unsigned short uid; member
343 unsigned short uid; member
354 unsigned short uid; member
366 unsigned short uid; member
378 unsigned short uid; member
392 unsigned short uid; member
409 unsigned short uid; member
423 unsigned short uid; member
/external/iproute2/ip/
Diptuntap.c48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid) in tap_add_ioctl() argument
66 if (uid != -1 && ioctl(fd, TUNSETOWNER, uid)) { in tap_add_ioctl()
107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid) in parse_args() argument
134 } else if (uid && matches(*argv, "user") == 0) { in parse_args()
140 *uid = user; in parse_args()
147 *uid = pw->pw_uid; in parse_args()
201 uid_t uid = -1; in do_add() local
204 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0) in do_add()
207 return tap_add_ioctl(&ifr, uid, gid); in do_add()
/external/selinux/policycoreutils/sandbox/
Dseunshare.c80 static int drop_privs(uid_t uid) in drop_privs() argument
82 if (drop_caps() == -1 || setresuid(uid, uid, uid) == -1) { in drop_privs()
140 static int spawn_command(const char *cmd, uid_t uid){ in spawn_command() argument
154 if (drop_privs(uid) != 0) exit(-1); in spawn_command()
170 static int check_owner_uid(uid_t uid, const char *file, struct stat *st) { in check_owner_uid() argument
175 if (st->st_uid != uid) { in check_owner_uid()
176 fprintf(stderr, _("Error: %s not owned by UID %d\n"), file, uid); in check_owner_uid()
642 uid_t uid = getuid(); in main() local
656 struct passwd *pwd=getpwuid(uid); in main()
719 if (((uid_t)setfsuid(uid) != 0) && (errno != 0)) { in main()
[all …]
/external/libbrillo/brillo/
Dfile_utils.cc58 uid_t uid, in RegularFileOrDelete() argument
70 S_ISREG(file_stat.st_mode) && file_stat.st_uid == uid && in RegularFileOrDelete()
95 uid_t uid, in TouchFileInternal() argument
98 RegularFileOrDeleteResult result = RegularFileOrDelete(path, uid, gid); in TouchFileInternal()
135 uid_t uid, in TouchFile() argument
144 if (!TouchFileInternal(path, uid, gid, &scoped_fd)) { in TouchFile()

12345678910>>...24