Searched refs:uid (Results 276 - 300 of 685) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/usr.bin/ar/
H A Dar.h48 #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 Dctm_pass3.c39 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 DSymbolFile.h193 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 DPlatformRemoteGDBServer.h130 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 DTypeMap.cpp51 // 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 Dt_msgctl.c138 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 Darchive_read_disk_set_standard_lookup.c79 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 Dgetfacl.c61 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 Dnss_compat.c225 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 Dnetnamer.c78 uid_t uid; local
133 uid = luid;
136 pwd = getpwuid(uid);
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
H A Dfs.h190 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 Dif_pflog.c242 hdr.uid = pd->lookup.uid;
244 hdr.uid = UID_MAX;
/freebsd-12-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_cm.h83 __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 Dmac_cred.c217 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 Dmac_posix_shm.c218 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 Dzfs_acl_chmod_owner_001_pos.ksh49 # (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 Dlibpfctl.c274 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 Dlfs.c120 * uid: 1001
244 PUSH_INTEGER(uid, uid)
302 PUSH_ENTRY(uid),
/freebsd-12-stable/usr.bin/fstat/
H A Dfuser.c88 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 Dpasswd.c136 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 DSymbolFileNativePDB.cpp489 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 Dlogin_class.c420 * 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 Dmdmfs.c639 * 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 Dtip.c79 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 Ddo_command.c55 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) {

Completed in 153 milliseconds

<<11121314151617181920>>