/freebsd-10-stable/contrib/amd/hlfsd/ |
H A D | hlfsd.h | 110 uid_t uid; /* XXX: with or without UID_OFFSET? */ member in struct:uid2home_t 120 uid_t uid; /* XXX: with or without UID_OFFSET? */ member in struct:username2uid_t
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fchownat.c | 56 static int getuser(uid_t *uid, gid_t *gid) argument 79 uid_t uid; local 107 uid_t uid; local 133 uid_t uid; local 150 uid_t uid; local 171 uid_t uid; local 193 uid_t uid; local 213 uid_t uid; local [all...] |
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_set_standard_lookup.c | 169 lookup_uid(void *private_data, const char *uname, int64_t uid) argument
|
/freebsd-10-stable/bin/getfacl/ |
H A D | getfacl.c | 61 getuname(uid_t uid) argument
|
/freebsd-10-stable/contrib/apr/include/arch/unix/ |
H A D | apr_arch_threadproc.h | 104 apr_uid_t uid; member in struct:apr_procattr_t
|
/freebsd-10-stable/contrib/apr/shmem/unix/ |
H A D | shm.c | 152 apr_uid_t uid; local
|
/freebsd-10-stable/contrib/groff/src/preproc/eqn/ |
H A D | delim.cpp | 293 static void define_extensible_string(char *delim, int uid, argument [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
H A D | Symbol.h | 108 SetID(uint32_t uid) argument
|
/freebsd-10-stable/contrib/llvm/tools/lldb/source/API/ |
H A D | SBValueList.cpp | 72 FindValueByUID (lldb::user_id_t uid) argument 254 SBValueList::FindValueObjectByUID (lldb::user_id_t uid) argument
|
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServer.cpp | 359 assert(packet_len < (int)sizeof(packet)); return SendPacketNoLock (packet, packet_len); } GDBRemoteCommunication::PacketResult GDBRemoteCommunicationServer::SendOKResponse () { return SendPacketNoLock (�, 2); } bool GDBRemoteCommunicationServer::HandshakeWithClient(Error *error_ptr) { return GetAck() == PacketResult::Success; } GDBRemoteCommunication::PacketResult GDBRemoteCommunicationServer::Handle_qHostInfo (StringExtractorGDBRemote &packet) { StreamString response; ArchSpec host_arch (Host::GetArchitecture ()); const llvm::Triple &host_triple = host_arch.GetTriple(); response.PutCString(�); response.PutCStringAsRawHex8(host_triple.getTriple().c_str()); response.Printf (�,host_arch.GetAddressByteSize()); const char* distribution_id = host_arch.GetDistributionId ().AsCString (); if (distribution_id) { response.PutCString(�); response.PutCStringAsRawHex8(distribution_id); response.PutCString(�); } uint32_t cpu = host_arch.GetMachOCPUType(); uint32_t sub = host_arch.GetMachOCPUSubType(); if (cpu != LLDB_INVALID_CPUTYPE) response.Printf (�, cpu); if (sub != LLDB_INVALID_CPUTYPE) response.Printf (�, sub); if (cpu == ArchSpec::kCore_arm_any) response.Printf(�); else response.Printf(�); switch (lldb::endian::InlHostByteOrder()) { case eByteOrderBig: response.PutCString (�); break; case eByteOrderLittle: response.PutCString (�); break; case eByteOrderPDP: response.PutCString (�); break; default: response.PutCString (�); break; } uint32_t major = UINT32_MAX; uint32_t minor = UINT32_MAX; uint32_t update = UINT32_MAX; if (Host::GetOSVersion (major, minor, update)) { if (major != UINT32_MAX) { response.Printf(�, major); if (minor != UINT32_MAX) { response.Printf(�, minor); if (update != UINT32_MAX) response.Printf(�, update); } response.PutChar(�); } } std::string s; if (Host::GetOSBuildString (s)) { response.PutCString (�); response.PutCStringAsRawHex8(s.c_str()); response.PutChar(�); } if (Host::GetOSKernelDescription (s)) { response.PutCString (�); response.PutCStringAsRawHex8(s.c_str()); response.PutChar(�); } response.PutCString (�); response.PutCStringAsRawHex8(�); response.PutChar(�); return SendPacketNoLock (response.GetData(), response.GetSize()); } static void CreateProcessInfoResponse (const ProcessInstanceInfo &proc_info, StreamString &response) { response.Printf (� PRIu64 � PRIu64 �, proc_info.GetProcessID(), proc_info.GetParentProcessID(), proc_info.GetUserID(), proc_info.GetGroupID(), proc_info.GetEffectiveUserID(), proc_info.GetEffectiveGroupID()); response.PutCString (�); response.PutCStringAsRawHex8(proc_info.GetName()); response.PutChar(�); const ArchSpec &proc_arch = proc_info.GetArchitecture(); if (proc_arch.IsValid()) { const llvm::Triple &proc_triple = proc_arch.GetTriple(); response.PutCString(�); response.PutCStringAsRawHex8(proc_triple.getTriple().c_str()); response.PutChar(�); } } GDBRemoteCommunication::PacketResult GDBRemoteCommunicationServer::Handle_qProcessInfoPID (StringExtractorGDBRemote &packet) { packet.SetFilePos(::strlen (�)); lldb::pid_t pid = packet.GetU32 (LLDB_INVALID_PROCESS_ID); if (pid != LLDB_INVALID_PROCESS_ID) { ProcessInstanceInfo proc_info; if (Host::GetProcessInfo(pid, proc_info)) { StreamString response; CreateProcessInfoResponse (proc_info, response); return SendPacketNoLock (response.GetData(), response.GetSize()); } } return SendErrorResponse (1); } GDBRemoteCommunication::PacketResult GDBRemoteCommunicationServer::Handle_qfProcessInfo (StringExtractorGDBRemote &packet) { m_proc_infos_index = 0; m_proc_infos.Clear(); ProcessInstanceInfoMatch match_info; packet.SetFilePos(::strlen (�)); if (packet.GetChar() == �) { std::string key; std::string value; while (packet.GetNameColonValue(key, value)) { bool success = true; if (key.compare(�) == 0) { StringExtractor extractor; extractor.GetStringRef().swap(value); extractor.GetHexByteString (value); match_info.GetProcessInfo().GetExecutableFile().SetFile(value.c_str(), false); } else if (key.compare(�) == 0) { if (value.compare(�) == 0) { match_info.SetNameMatchType (eNameMatchEquals); } else if (value.compare(�) == 0) { match_info.SetNameMatchType (eNameMatchStartsWith); } else if (value.compare(�) == 0) { match_info.SetNameMatchType (eNameMatchEndsWith); } else if (value.compare(�) == 0) { match_info.SetNameMatchType (eNameMatchContains); } else if (value.compare(�) == 0) { match_info.SetNameMatchType (eNameMatchRegularExpression); } else { success = false; } } else if (key.compare(�) == 0) { match_info.GetProcessInfo().SetProcessID (Args::StringToUInt32(value.c_str(), LLDB_INVALID_PROCESS_ID, 0, &success)); } else if (key.compare(�) == 0) { match_info.GetProcessInfo().SetParentProcessID (Args::StringToUInt32(value.c_str(), LLDB_INVALID_PROCESS_ID, 0, &success)); } else if (key.compare(�) == 0) { match_info.GetProcessInfo().SetUserID (Args::StringToUInt32(value.c_str(), UINT32_MAX, 0, &success)); } else if (key.compare(�) == 0) { match_info.GetProcessInfo().SetGroupID (Args::StringToUInt32(value.c_str(), UINT32_MAX, 0, &success)); } else if (key.compare(�) == 0) { match_info.GetProcessInfo().SetEffectiveUserID (Args::StringToUInt32(value.c_str(), UINT32_MAX, 0, &success)); } else if (key.compare(�) == 0) { match_info.GetProcessInfo().SetEffectiveGroupID (Args::StringToUInt32(value.c_str(), UINT32_MAX, 0, &success)); } else if (key.compare(�) == 0) { match_info.SetMatchAllUsers(Args::StringToBoolean(value.c_str(), false, &success)); } else if (key.compare(�) == 0) { match_info.GetProcessInfo().GetArchitecture().SetTriple (value.c_str(), NULL); } else { success = false; } if (!success) return SendErrorResponse (2); } } if (Host::FindProcesses (match_info, m_proc_infos)) { return Handle_qsProcessInfo (packet); } return SendErrorResponse (3); } GDBRemoteCommunication::PacketResult GDBRemoteCommunicationServer::Handle_qsProcessInfo (StringExtractorGDBRemote &packet) { if (m_proc_infos_index < m_proc_infos.GetSize()) { StreamString response; CreateProcessInfoResponse (m_proc_infos.GetProcessInfoAtIndex(m_proc_infos_index), response); ++m_proc_infos_index; return SendPacketNoLock (response.GetData(), response.GetSize()); } return SendErrorResponse (4); } GDBRemoteCommunication::PacketResult GDBRemoteCommunicationServer::Handle_qUserName (StringExtractorGDBRemote &packet) { packet.SetFilePos(::strlen (�)); uint32_t uid = packet.GetU32 (UINT32_MAX); if (uid != UINT32_MAX) { std::string name; if (Host::GetUserName (uid, name)) { StreamString response; response.PutCStringAsRawHex8 (name.c_str()); return SendPacketNoLock (response.GetData(), response.GetSize()); } } return SendErrorResponse (5); } GDBRemoteCommunication::PacketResult GDBRemoteCommunicationServer::Handle_qGroupName (StringExtractorGDBRemote &packet) { packet.SetFilePos(::strlen (�)); uint32_t gid = packet.GetU32 (UINT32_MAX); if (gid != UINT32_MAX) { std::string name; if (Host::GetGroupName (gid, name)) { StreamString response; response.PutCStringAsRawHex8 (name.c_str()); return SendPacketNoLock (response.GetData(), response.GetSize()); } } return SendErrorResponse (6); } GDBRemoteCommunication::PacketResult GDBRemoteCommunicationServer::Handle_qSpeedTest (StringExtractorGDBRemote &packet) { packet.SetFilePos(::strlen (�)); std::string key; std::string value; bool success = packet.GetNameColonValue(key, value); if (success && key.compare(�) == 0) { uint32_t response_size = Args::StringToUInt32(value.c_str(), 0, 0, &success); if (success) { if (response_size == 0) return SendOKResponse(); StreamString response; uint32_t bytes_left = response_size; response.PutCString(�); while (bytes_left > 0) { if (bytes_left >= 26) argument
|
/freebsd-10-stable/contrib/smbfs/mount_smbfs/ |
H A D | mount_smbfs.c | 86 uid_t uid; local
|
/freebsd-10-stable/sys/boot/userboot/userboot/ |
H A D | host.c | 98 int uid; local
|
/freebsd-10-stable/tools/regression/priv/ |
H A D | main.c | 387 setup_dir(const char *test, char *dpathp, uid_t uid, gid_t gid, mode_t mode) argument 403 setup_file(const char *test, char *fpathp, uid_t uid, gid_t gid, mode_t mode) argument 426 set_creds(const char *test, uid_t uid, gid_t gid) argument [all...] |
/freebsd-10-stable/tools/regression/sysvmsg/ |
H A D | msgtest.c | 262 uid_t uid = geteuid(); local
|
/freebsd-10-stable/usr.bin/chkey/ |
H A D | chkey.c | 91 uid_t uid; local 249 ypgetpwuid(uid_t uid) argument [all...] |
/freebsd-10-stable/usr.bin/finger/ |
H A D | finger.h | 40 uid_t uid; /* user id */ member in struct:person
|
/freebsd-10-stable/usr.sbin/ctm/ctm/ |
H A D | ctm_pass3.c | 37 u_char *md5=0,*md5before=0,*trash=0,*name=0,*uid=0,*gid=0,*mode=0; local
|
/freebsd-10-stable/usr.sbin/nscd/ |
H A D | query.h | 72 uid_t uid; /* uid of the caller, received via credentials */ member in struct:query_state
|
/freebsd-10-stable/usr.sbin/rpcbind/ |
H A D | pmap_svc.c | 176 uid_t uid; local
|
/freebsd-10-stable/usr.sbin/sa/ |
H A D | usrdb.c | 71 static uid_t uid; local 122 uid_t uid; local [all...] |
/freebsd-10-stable/usr.sbin/chown/ |
H A D | chown.c | 67 static uid_t uid; variable [all...] |
/freebsd-10-stable/sys/sys/ |
H A D | ipc.h | 78 unsigned short uid; /* user id */ member in struct:ipc_perm_old 89 uid_t uid; /* user id */ member in struct:ipc_perm
|
/freebsd-10-stable/contrib/top/ |
H A D | commands.c | 395 int uid; local 484 int uid; local
|
H A D | machine.h | 71 int uid; /* only this uid (unless uid == -1) */ member in struct:process_select
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_sa.c | 204 uint64_t uid, gid, mode, rdev, xattr, parent; local
|