Home
last modified time | relevance | path

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

12345678910>>...50

/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/strace/tests-m32/
Dso_peercred.c86 const unsigned int sizeof_uid = offsetofend(struct ucred, uid); in main()
87 struct ucred *const uid = tail_alloc(sizeof_uid); in main() local
107 PRINT_FIELD_UID(", ", *peercred, uid); in main()
122 PRINT_FIELD_UID(", ", *peercred, uid); in main()
158 memcpy(uid, uid_truncated, sizeof_uid_truncated); in main()
160 PRINT_FIELD_D(", {", *uid, pid); in main()
162 print_quoted_hex(&uid->uid, sizeof_uid_truncated - in main()
163 offsetof(struct ucred, uid)); in main()
171 get_peercred(sv[0], uid, len); in main()
173 PRINT_FIELD_D(", {", *uid, pid); in main()
[all …]
Dxchownx.c97 #define PAIR(val) { val, gid }, { uid, val }
104 unsigned int uid = GETEUID; in main() local
105 CHECK_OVERFLOWUID(uid); in main()
110 const long uid, gid; in main() member
112 { uid, gid }, in main()
113 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
114 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
117 { 0xffff0000U | uid, gid }, in main()
118 { uid, 0xffff0000U | gid }, in main()
135 const unsigned int unum = ugid2int(tests[i].uid); in main()
[all …]
/external/strace/tests/
Dso_peercred.c86 const unsigned int sizeof_uid = offsetofend(struct ucred, uid); in main()
87 struct ucred *const uid = tail_alloc(sizeof_uid); in main() local
107 PRINT_FIELD_UID(", ", *peercred, uid); in main()
122 PRINT_FIELD_UID(", ", *peercred, uid); in main()
158 memcpy(uid, uid_truncated, sizeof_uid_truncated); in main()
160 PRINT_FIELD_D(", {", *uid, pid); in main()
162 print_quoted_hex(&uid->uid, sizeof_uid_truncated - in main()
163 offsetof(struct ucred, uid)); in main()
171 get_peercred(sv[0], uid, len); in main()
173 PRINT_FIELD_D(", {", *uid, pid); in main()
[all …]
Dxchownx.c97 #define PAIR(val) { val, gid }, { uid, val }
104 unsigned int uid = GETEUID; in main() local
105 CHECK_OVERFLOWUID(uid); in main()
110 const long uid, gid; in main() member
112 { uid, gid }, in main()
113 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
114 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
117 { 0xffff0000U | uid, gid }, in main()
118 { uid, 0xffff0000U | gid }, in main()
135 const unsigned int unum = ugid2int(tests[i].uid); in main()
[all …]
/external/strace/tests-mx32/
Dso_peercred.c86 const unsigned int sizeof_uid = offsetofend(struct ucred, uid); in main()
87 struct ucred *const uid = tail_alloc(sizeof_uid); in main() local
107 PRINT_FIELD_UID(", ", *peercred, uid); in main()
122 PRINT_FIELD_UID(", ", *peercred, uid); in main()
158 memcpy(uid, uid_truncated, sizeof_uid_truncated); in main()
160 PRINT_FIELD_D(", {", *uid, pid); in main()
162 print_quoted_hex(&uid->uid, sizeof_uid_truncated - in main()
163 offsetof(struct ucred, uid)); in main()
171 get_peercred(sv[0], uid, len); in main()
173 PRINT_FIELD_D(", {", *uid, pid); in main()
[all …]
Dxchownx.c97 #define PAIR(val) { val, gid }, { uid, val }
104 unsigned int uid = GETEUID; in main() local
105 CHECK_OVERFLOWUID(uid); in main()
110 const long uid, gid; in main() member
112 { uid, gid }, in main()
113 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
114 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
117 { 0xffff0000U | uid, gid }, in main()
118 { uid, 0xffff0000U | gid }, in main()
135 const unsigned int unum = ugid2int(tests[i].uid); in main()
[all …]
/external/selinux/python/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.py75 test_params=None, uid=""): argument
93 self._uid = uid
118 def uid(self): member in CliqueControl
193 uid=dut.host.hostname)
200 result = ControlResult(uid=self.uid,
211 result = ControlResult(uid=self.uid,
224 result = ControlResult(uid=self.uid,
247 result = ControlResult(uid=self.uid,
282 result = ControlResult(uid=self.uid,
302 return ControlResult(uid=self.uid,
[all …]
/external/ltp/testcases/kernel/syscalls/setfsuid/
Dsetfsuid02.c45 uid_t uid; in main() local
51 uid = 1; in main()
52 while (getpwuid(uid)) in main()
53 uid++; in main()
55 UID16_CHECK(uid, setfsuid, cleanup); in main()
61 TEST(SETFSUID(cleanup, uid)); in main()
69 if (TEST_RETURN == uid) { in main()
71 TEST_RETURN, uid); in main()
Dsetfsuid03.c48 uid_t uid; in main() local
54 uid = 1; in main()
55 while (!getpwuid(uid)) in main()
56 uid++; in main()
58 UID16_CHECK(uid, setfsuid, cleanup); in main()
64 TEST(SETFSUID(cleanup, uid)); in main()
72 if (TEST_RETURN == uid) { in main()
75 TEST_RETURN, uid); in main()
Dsetfsuid01.c43 uid_t uid; in main() local
49 uid = geteuid(); in main()
50 UID16_CHECK(uid, setfsuid, cleanup); in main()
56 TEST(SETFSUID(cleanup, uid)); in main()
64 if (TEST_RETURN != uid) { in main()
66 TEST_RETURN, uid); in main()
/external/rust/crates/tokio/src/net/unix/
Ducred.rs9 uid: uid_t, field
16 pub fn uid(&self) -> uid_t { in uid() method
17 self.uid in uid()
68 uid: 0, in get_peer_cred()
89 uid: ucred.uid, in get_peer_cred()
118 let mut uid = MaybeUninit::uninit(); in get_peer_cred() localVariable
121 let ret = getpeereid(raw_fd, uid.as_mut_ptr(), gid.as_mut_ptr()); in get_peer_cred()
125 uid: uid.assume_init(), in get_peer_cred()
150 let mut uid = MaybeUninit::uninit(); in get_peer_cred() localVariable
168 let ret = getpeereid(raw_fd, uid.as_mut_ptr(), gid.as_mut_ptr()); in get_peer_cred()
[all …]
/external/iptables/extensions/
Dlibxt_owner.t3 -m owner --uid-owner root;-m owner --uid-owner 0;OK
4 -m owner --uid-owner 0-10;=;OK
7 -m owner --uid-owner root --gid-owner root;-m owner --uid-owner 0 --gid-owner 0;OK
8 -m owner --uid-owner 0-10 --gid-owner 0-10;=;OK
9 -m owner ! --uid-owner root;-m owner ! --uid-owner 0;OK
16 -m owner --uid-owner root;;FAIL
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAppOpsManager.java105 public void setMode(String op, int uid, String packageName, int mode) { in setMode() argument
106 setMode(AppOpsManager.strOpToOp(op), uid, packageName, mode); in setMode() local
119 public void setMode(int op, int uid, String packageName, int mode) { in setMode() argument
120 Integer oldMode = appModeMap.put(getOpMapKey(uid, packageName, op), mode); in setMode()
130 public int unsafeCheckOpNoThrow(String op, int uid, String packageName) { in unsafeCheckOpNoThrow() argument
131 return checkOpNoThrow(AppOpsManager.strOpToOp(op), uid, packageName); in unsafeCheckOpNoThrow()
141 protected int unsafeCheckOpRawNoThrow(String op, int uid, String packageName) { in unsafeCheckOpRawNoThrow() argument
142 return unsafeCheckOpRawNoThrow(AppOpsManager.strOpToOp(op), uid, packageName); in unsafeCheckOpRawNoThrow()
150 protected int unsafeCheckOpRawNoThrow(int op, int uid, String packageName) { in unsafeCheckOpRawNoThrow() argument
151 Integer mode = appModeMap.get(getOpMapKey(uid, packageName, op)); in unsafeCheckOpRawNoThrow()
[all …]
/external/openssh/openbsd-compat/
Dpwcache.c48 user_from_uid(uid_t uid, int nouser) in user_from_uid() argument
51 uid_t uid; in user_from_uid() member
59 cp = c_uid + (uid & MASK); in user_from_uid()
60 if (cp->uid != uid || cp->name == NULL) { in user_from_uid()
67 if ((pw = getpwuid(uid)) == NULL) { in user_from_uid()
70 (void)snprintf(nbuf, sizeof(nbuf), "%lu", (u_long)uid); in user_from_uid()
72 cp->uid = uid; in user_from_uid()
/external/perfetto/src/trace_processor/metrics/android/
Dprocess_metadata.sql20 SELECT uid, COUNT(1) AS cnt field
39 process.android_appid AS uid, field
45 LEFT JOIN uid_package_count ON process.android_appid = uid_package_count.uid
48 process.android_appid = plist.uid
49 AND uid_package_count.uid = plist.uid
69 JOIN package_list ON process.android_appid = package_list.uid
76 'uid', uid,
/external/perfetto/test/trace_processor/parsing/
Dprocess_metadata_matching.textproto7 uid: 0
13 uid: 1000
19 uid: 10100
25 uid: 10100
31 uid: 1010100
39 uid: 10100
44 uid: 10100
/external/ltp/testcases/kernel/syscalls/setuid/
Dsetuid01.c20 uid_t uid; in verify_setuid() local
23 uid = getuid(); in verify_setuid()
24 UID16_CHECK(uid, setuid); in verify_setuid()
26 TEST(SETUID(uid)); in verify_setuid()
28 tst_res(TFAIL | TTERRNO, "setuid(%d) failed", uid); in verify_setuid()
30 tst_res(TPASS, "setuid(%d) successfully", uid); in verify_setuid()
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl01.c21 static uid_t uid; variable
84 if (buf.msg_perm.uid == uid) { in verify_msgctl()
85 tst_res(TPASS, "msg_perm.uid = %u", (unsigned)uid); in verify_msgctl()
88 (unsigned)buf.msg_perm.uid, (unsigned)uid); in verify_msgctl()
98 if (buf.msg_perm.cuid == uid) { in verify_msgctl()
99 tst_res(TPASS, "msg_perm.cuid = %u", (unsigned)uid); in verify_msgctl()
102 (unsigned)buf.msg_perm.cuid, (unsigned)uid); in verify_msgctl()
127 uid = geteuid(); in setup()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_sync.h57 u64 uid; // Globally unique id. member
70 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid);
75 return GetLsb((u64)addr | (uid << 48), 60); in GetId()
77 bool CheckId(u64 uid) const { in CheckId()
78 CHECK_EQ(uid, GetLsb(uid, 14)); in CheckId()
79 return GetLsb(this->uid, 14) == uid; in CheckId()
81 static uptr SplitId(u64 id, u64 *uid) { in SplitId()
82 *uid = id >> 48; in SplitId()
/external/llvm-project/lldb/include/lldb/Utility/
DUserID.h33 UserID(lldb::user_id_t uid = LLDB_INVALID_UID) : m_uid(uid) {} in m_uid()
53 void SetID(lldb::user_id_t uid) { m_uid = uid; } in SetID()
65 IDMatches(lldb::user_id_t uid) : m_uid(uid) {} in IDMatches()
89 Stream &operator<<(Stream &strm, const UserID &uid);
/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/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 …]

12345678910>>...50