/freebsd-12-stable/usr.bin/ar/ |
H A D | ar.h | 48 #define AR_D 0x1000 /* insert dummy mode, mtime, uid and gid */ 67 uid_t uid; /* user id */ member in struct:ar_obj
|
/freebsd-12-stable/usr.sbin/ctm/ctm/ |
H A D | ctm_pass3.c | 39 u_char *md5=0,*md5before=0,*trash=0,*name=0,*uid=0,*gid=0,*mode=0; local 113 Delete(uid); 141 case CTM_F_Uid: GETFIELDCOPY(uid,sep); break; 285 Delete(uid);
|
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | SymbolFile.h | 193 virtual CompilerDecl GetDeclForUID(lldb::user_id_t uid) { argument 196 virtual CompilerDeclContext GetDeclContextForUID(lldb::user_id_t uid) { argument 199 virtual CompilerDeclContext GetDeclContextContainingUID(lldb::user_id_t uid) { argument
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/ |
H A D | PlatformRemoteGDBServer.h | 130 uint32_t uid = UINT32_MAX, uint32_t gid = UINT32_MAX) override; 192 llvm::Optional<std::string> DoGetUserName(UserIDResolver::id_t uid) override; 193 llvm::Optional<std::string> DoGetGroupName(UserIDResolver::id_t uid) override;
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Symbol/ |
H A D | TypeMap.cpp | 51 // TypeMap::FindType(lldb::user_id_t uid) 53 // iterator pos = m_types.find(uid); 112 lldb::user_id_t uid = type_sp->GetID(); local 113 for (iterator pos = m_types.find(uid), end = m_types.end(); 114 pos != end && pos->first == uid; ++pos) {
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_msgctl.c | 138 msgds.msg_perm.uid = getuid(); 274 msgds.msg_perm.uid = pw->pw_uid; 279 msgds.msg_perm.uid = getuid();
|
/freebsd-12-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_set_standard_lookup.c | 79 static const char * lookup_uname_helper(struct name_cache *, id_t uid); 91 * use the uid/gid without the lookup. Or define your own custom functions 139 * Lookup uid/gid from uname/gname, return NULL if no match. 178 lookup_uname(void *data, int64_t uid) argument 182 &lookup_uname_helper, (id_t)uid));
|
/freebsd-12-stable/bin/getfacl/ |
H A D | getfacl.c | 61 getuname(uid_t uid) argument 66 if ((pw = getpwuid(uid)) == NULL) { 67 (void)snprintf(uids, sizeof(uids), "%u", uid);
|
/freebsd-12-stable/lib/libc/net/ |
H A D | nss_compat.c | 225 uid_t uid; local 233 uid = va_arg(ap, uid_t); 238 nss_status = fn(uid, pwd, buffer, bufsize, errnop);
|
/freebsd-12-stable/lib/libc/rpc/ |
H A D | netnamer.c | 78 uid_t uid; local 133 uid = luid; 136 pwd = getpwuid(uid);
|
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | fs.h | 190 const struct file_operations *fops, uid_t uid, 212 const struct file_operations *fops, uid_t uid, gid_t gid, int mode) 215 return (__register_chrdev_p(major, 0, 256, name, fops, uid, gid, mode)); 211 register_chrdev_p(unsigned int major, const char *name, const struct file_operations *fops, uid_t uid, gid_t gid, int mode) argument
|
/freebsd-12-stable/sys/netpfil/pf/ |
H A D | if_pflog.c | 242 hdr.uid = pd->lookup.uid; 244 hdr.uid = UID_MAX;
|
/freebsd-12-stable/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_cm.h | 83 __u64 uid; member in struct:ib_ucm_create_id 163 __u64 uid; member in struct:ib_ucm_rep 313 __u64 uid; member in struct:ib_ucm_event_resp
|
/freebsd-12-stable/sys/security/mac/ |
H A D | mac_cred.c | 217 mac_cred_check_setuid(struct ucred *cred, uid_t uid) argument 221 MAC_POLICY_CHECK_NOSLEEP(cred_check_setuid, cred, uid); 222 MAC_CHECK_PROBE2(cred_check_setuid, error, cred, uid);
|
H A D | mac_posix_shm.c | 218 mac_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, uid_t uid, argument 224 shmfd->shm_label, uid, gid); 226 uid, gid);
|
/freebsd-12-stable/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
H A D | zfs_acl_chmod_owner_001_pos.ksh | 49 # (1) If uid is granted the write_owner permission, 50 # then it can only do chown to its own uid, 142 function get_user_group #uid 144 typeset uid=$1 147 if [[ -z $uid ]]; then 151 value=$(id $uid) 158 log_fail "Invalid UID (uid)."
|
/freebsd-12-stable/lib/libpfctl/ |
H A D | libpfctl.c | 274 const struct pf_rule_uid *uid) 279 uids[0] = uid->uid[0]; 280 uids[1] = uid->uid[1]; 281 nvlist_add_number_array(nvl, "uid", uids, 2); 282 nvlist_add_number(nvl, "op", uid->op); 289 pf_nvrule_uid_to_rule_uid(const nvlist_t *nvl, struct pf_rule_uid *uid) argument 291 pf_nvuint_32_array(nvl, "uid", 2, uid 273 pfctl_nv_add_uid(nvlist_t *nvparent, const char *name, const struct pf_rule_uid *uid) argument [all...] |
/freebsd-12-stable/libexec/flua/modules/ |
H A D | lfs.c | 120 * uid: 1001 244 PUSH_INTEGER(uid, uid) 302 PUSH_ENTRY(uid),
|
/freebsd-12-stable/usr.bin/fstat/ |
H A D | fuser.c | 88 uid_t uid; member in struct:consumer 271 user_from_uid(consumer->uid, 0)); 345 cons->uid = kp->ki_uid;
|
/freebsd-12-stable/usr.sbin/nscd/agents/ |
H A D | passwd.c | 136 uid_t uid; local 164 memcpy(&uid, key + sizeof(enum nss_lookup_type), sizeof(uid_t)); 177 result = getpwuid(uid);
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | SymbolFileNativePDB.cpp | 489 uint64_t uid = toOpaqueUid(PdbTypeSymId(ti, false)); local 493 uid, this, ConstString("std::nullptr_t"), 0, nullptr, LLDB_INVALID_UID, 514 uid, this, ConstString(), pointer_size, nullptr, LLDB_INVALID_UID, 525 return std::make_shared<Type>(uid, this, ConstString(type_name), size, 687 // decl and just map the forward ref uid to the full decl record. 911 PdbSymUid uid(comp_unit.GetID()); 912 lldbassert(uid.kind() == PdbSymUidKind::Compiland); 915 m_index->compilands().GetCompiland(uid.asCompiland().modi); 927 PdbSymUid uid{comp_unit.GetID()}; 928 lldbassert(uid 1502 GetDeclForUID(lldb::user_id_t uid) argument 1510 GetDeclContextForUID(lldb::user_id_t uid) argument 1520 GetDeclContextContainingUID(lldb::user_id_t uid) argument [all...] |
/freebsd-12-stable/lib/libutil/ |
H A D | login_class.c | 420 * Given a login class <lc> and a user in <pwd>, with a uid <uid>, 432 setusercontext(login_cap_t *lc, const struct passwd *pwd, uid_t uid, unsigned int flags) argument 447 pathvars[0].def = uid ? _PATH_DEFPATH : _PATH_STDPATH; 554 if ((flags & LOGIN_SETUSER) && setuid(uid) != 0) { 555 syslog(LOG_ERR, "setuid(%lu): %m", (u_long)uid); 562 if (getuid() == uid && (lc = login_getuserclass(pwd)) != NULL) {
|
/freebsd-12-stable/sbin/mdmfs/ |
H A D | mdmfs.c | 639 * name. Upon return, the uid and gid fields in 'mip' will contain 640 * the uid and gid of the user and group name in 'str', respectively. 657 uid_t *uid; local 660 uid = &mip->mi_uid; 672 /* Derive uid. */ 673 *uid = strtoul(user, &p, 10); 674 if (*uid == (uid_t)ULONG_MAX) 680 *uid = pw->pw_uid;
|
/freebsd-12-stable/usr.bin/tip/tip/ |
H A D | tip.c | 79 uid = getuid(); 163 * return to the real uid and gid. These things will 164 * be closed on exit. Swap real and effective uid's 278 * daemon_uid() switches back to the privileged uid for unlocking. 279 * Finally, to avoid running a shell with the wrong real uid, 280 * shell_uid() sets real and effective uid's to the user's real ID. 288 seteuid(uid); 307 seteuid(uid); 462 if ((p->e_flags&PRIV) && uid) 545 if ((p->e_flags&PRIV) && uid) [all...] |
/freebsd-12-stable/usr.sbin/cron/cron/ |
H A D | do_command.c | 55 getpid(), e->cmd, u->name, e->uid, e->gid)) 230 if (e->uid == ROOT_UID) 287 pwd = getpwuid(e->uid); 295 setusercontext(lc, pwd, e->uid, 302 /* set our directory, uid and gid. Set gid first, 303 * since once we set uid, we've lost root privileges. 322 if (setuid(e->uid) != 0) {
|