Searched defs:uid (Results 1 - 25 of 198) sorted by relevance

12345678

/external/lldb/source/Core/
H A DUserID.cpp19 lldb_private::operator << (Stream& strm, const UserID& uid) argument
21 strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
/external/strace/tests/
H A Duid.c19 int uid; local
23 uid = syscall(__NR_getuid);
24 assert(syscall(__NR_setuid, uid) == 0);
34 assert(syscall(__NR_setresuid, uid, -1, -1L) == 0);
H A Duid16.c37 int uid; local
41 uid = syscall(__NR_getuid);
51 if (uid == n)
57 assert(syscall(__NR_setuid, uid) == 0);
67 assert(syscall(__NR_setresuid, uid, -1, 0xffff) == 0);
/external/openssh/
H A Dsftp-common.h38 u_int32_t uid; member in struct:Attrib
H A Dplatform.c90 /* uid 0 is not special on Cygwin so always try */
134 /* Sets login uid for accounting */
171 * uid which we will need for chroot. If we don't have a
202 * return 1 if the specified uid is a uid that may own a system directory
206 platform_sys_dir_uid(uid_t uid) argument
208 if (uid == 0)
211 if (uid == PLATFORM_SYS_DIR_UID)
H A Daudit-linux.c43 linux_audit_record_event(int uid, const char *username, argument
58 username == NULL ? uid : -1, hostname, ip, ttyn, success);
88 if (linux_audit_record_event(li->uid, NULL, li->hostname,
H A Dsshlogin.c73 get_last_login_time(uid_t uid, const char *logname, argument
78 login_get_lastlog(&li, uid);
88 store_lastlog_message(const char *user, uid_t uid) argument
98 time_string = sys_auth_get_lastlogin_msg(user, uid);
104 last_login_time = get_last_login_time(uid, user, hostname,
127 record_login(pid_t pid, const char *tty, const char *user, uid_t uid, argument
133 store_lastlog_message(user, uid);
H A Duidswap.c6 * Code for uid-swapping.
50 /* Saved effective uid. */
55 /* Saved effective uid. */
62 * Temporarily changes to the given uid. If the effective user
121 /* Set the effective uid to the given (unprivileged) uid. */
128 /* Propagate the privileged uid to all of our uids. */
141 permanently_drop_suid(uid_t uid) argument
147 debug("permanently_drop_suid: %u", (u_int)uid);
148 if (setresuid(uid, ui
[all...]
/external/kernel-headers/original/uapi/asm-generic/
H A Dipcbuf.h21 __kernel_uid32_t uid; member in struct:ipc64_perm
/external/lldb/source/Symbol/
H A DClangExternalASTSourceCommon.cpp64 lldb::user_id_t uid = GetUserID (); local
66 if (uid != LLDB_INVALID_UID)
68 s->Printf ("uid=0x%" PRIx64, uid);
/external/llvm/utils/TableGen/
H A DX86DisassemblerTables.h218 /// @param uid - The unique ID to set matching entries to.
222 InstrUID uid,
237 /// decode tables to point to a specific uid.
245 /// @param uid - The unique ID of the instruction.
253 InstrUID uid,
261 /// @param uid - The unique ID of the instruction.
263 InstructionSpecifier& specForUID(InstrUID uid) { argument
264 if (uid >= InstructionSpecifiers.size())
265 InstructionSpecifiers.resize(uid + 1);
267 return InstructionSpecifiers[uid];
[all...]
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dproc-llist.h35 uid_t uid; // user ID member in struct:_lnode
H A Dcaptest.c44 /* Setuid apps run by uid 0 don't get caps back */
57 uid_t uid, euid, suid; local
67 getresuid(&uid, &euid, &suid);
70 if ((uid != euid && uid != 0) ||
75 getresuid(&uid, &euid, &suid);
76 if (uid == 0) {
86 printf("User credentials uid:%d euid:%d suid:%d\n", uid, euid, suid);
90 if (uid !
[all...]
H A Dpscap.c67 int pid, ppid, uid = -1, euid = -1; local
120 // Get the effective uid
156 uid = 0;
157 } else if (euid != uid) {
160 uid = euid;
170 uid, cmd);
/external/linux-tools-perf/src/tools/perf/util/
H A Dtarget.c67 target->uid = UINT_MAX;
79 int uid = strtol(str, &endptr, 10); local
84 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result);
90 target->uid = result->pw_uid;
/external/lldb/include/lldb/Core/
H A DUserID.h38 UserID (lldb::user_id_t uid = LLDB_INVALID_UID) : m_uid(uid) {}
67 /// @param[in] uid
71 SetID (lldb::user_id_t uid) { m_uid = uid; } argument
90 IDMatches (lldb::user_id_t uid) : m_uid(uid) {} argument
126 Stream& operator << (Stream& strm, const UserID& uid);
/external/openssh/openbsd-compat/
H A Dpwcache.c48 user_from_uid(uid_t uid, int nouser) argument
51 uid_t uid; member in struct:ncache
59 cp = c_uid + (uid & MASK);
60 if (cp->uid != uid || cp->name == NULL) {
67 if ((pw = getpwuid(uid)) == NULL) {
70 (void)snprintf(nbuf, sizeof(nbuf), "%u", uid);
72 cp->uid = uid;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowBinder.java45 public static void setCallingUid(int uid) { argument
46 ShadowBinder.callingUid = uid;
/external/squashfs-tools/squashfs-tools/
H A Dpseudo.h29 unsigned int uid; member in struct:pseudo_dev
/external/toybox/toys/other/
H A Dmakedevs.c21 <name> <type> <mode> <uid> <gid> <major> <minor> <start> <increment> <count>
59 uid_t uid; local
81 uid = *user ? xgetpwnamid(user)->pw_uid : getuid();
107 if (chown(ptr, uid, gid) || chmod(ptr, mode))
/external/valgrind/include/
H A Dpub_tool_libcfile.h60 UInt uid; member in struct:vg_stat
/external/vboot_reference/firmware/lib/include/
H A Drollback_index.h33 uint32_t uid; member in struct:RollbackSpaceKernel
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.h33 u64 uid; // Globally unique id. member in struct:__tsan::SyncVar
49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid);
53 // 47 lsb is addr, then 14 bits is low part of uid, then 3 zero bits.
54 return GetLsb((u64)addr | (uid << 47), 61);
56 bool CheckId(u64 uid) const {
57 CHECK_EQ(uid, GetLsb(uid, 14));
58 return GetLsb(this->uid, 14) == uid;
60 static uptr SplitId(u64 id, u64 *uid) { argument
[all...]
/external/fio/os/windows/posix/include/sys/
H A Dshm.h16 uid_t uid; /* owner's user ID */ member in struct:ipc_perm
/external/kernel-headers/original/uapi/linux/
H A Dncp_mount.h38 __kernel_uid_t uid; member in struct:ncp_mount_data
62 unsigned long uid; member in struct:ncp_mount_data_v4

Completed in 1317 milliseconds

12345678