Searched refs:uid (Results 201 - 225 of 685) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/sdhci/
H A Dsdhci_acpi.c59 int uid; member in struct:sdhci_acpi_device
218 if (strcmp(acpi_dev->hid, "AMDI0040") == 0 && acpi_dev->uid == 0) {
245 int i, uid; local
254 status = acpi_GetInteger(handle, "_UID", &uid);
256 uid = 0;
261 if ((sdhci_acpi_devices[i].uid != 0) &&
262 (sdhci_acpi_devices[i].uid != uid))
322 if (strcmp(acpi_dev->hid, "80860F14") == 0 && acpi_dev->uid == 1 &&
/freebsd-11-stable/crypto/heimdal/kcm/
H A Dconfig.c165 uid_t uid = 0; local
187 uid = pw->pw_uid; uid_p = 1;
205 ccache->uid = uid;
207 ccache->uid = 0; /* geteuid() XXX */
/freebsd-11-stable/tools/regression/sysvmsg/
H A Dmsgtest.c262 uid_t uid = geteuid(); local
265 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
266 mp->msg_perm.uid, mp->msg_perm.gid,
282 if (mp->msg_perm.uid != uid || mp->msg_perm.cuid != uid)
283 errx(1, "uid mismatch");
/freebsd-11-stable/tools/regression/sysvsem/
H A Dsemtest.c281 uid_t uid = geteuid(); local
284 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
285 sp->sem_perm.uid, sp->sem_perm.gid,
298 if (sp->sem_perm.uid != uid || sp->sem_perm.cuid != uid)
299 errx(1, "uid mismatch");
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drdma_cma_abi.h86 __u64 uid; member in struct:ucma_abi_create_id
247 __u64 uid; member in struct:ucma_abi_accept
292 __u64 uid; member in struct:ucma_abi_join_ip_mcast
302 __u64 uid; member in struct:ucma_abi_join_mcast
317 __u64 uid; member in struct:ucma_abi_event_resp
/freebsd-11-stable/crypto/openssh/
H A Dsftp-common.c59 a->uid = 0;
75 a->uid = st->st_uid;
93 st->st_uid = a->uid;
118 if ((r = sshbuf_get_u32(b, &a->uid)) != 0 ||
166 if ((r = sshbuf_put_u32(b, a->uid)) != 0 ||
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_msgsnd.c296 uid_t uid; local
304 uid = pw->pw_uid;
305 ATF_REQUIRE(uid != 0);
316 if (setuid(uid) != 0)
346 atf_tc_fail("UID %u enqueued message to root's queue", uid);
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBValueList.cpp48 lldb::SBValue FindValueByUID(lldb::user_id_t uid) { argument
50 if (val.IsValid() && val.GetID() == uid)
179 SBValue SBValueList::FindValueObjectByUID(lldb::user_id_t uid) { argument
181 (lldb::user_id_t), uid);
185 sb_value = m_opaque_up->FindValueByUID(uid);
H A DSBAttachInfo.cpp182 void SBAttachInfo::SetUserID(uint32_t uid) { argument
183 LLDB_RECORD_METHOD(void, SBAttachInfo, SetUserID, (uint32_t), uid);
185 m_opaque_sp->SetUserID(uid);
218 void SBAttachInfo::SetEffectiveUserID(uint32_t uid) { argument
219 LLDB_RECORD_METHOD(void, SBAttachInfo, SetEffectiveUserID, (uint32_t), uid);
221 m_opaque_sp->SetEffectiveUserID(uid);
/freebsd-11-stable/crypto/heimdal/lib/ipc/
H A Dserver.c210 uid_t uid; local
225 audit_token_to_au32(client_creds, NULL, &uid, &gid, NULL, NULL, &pid, &session, NULL);
227 kr = _heim_ipc_create_cred(uid, gid, pid, session, &s->cred);
265 uid_t uid; local
276 audit_token_to_au32(client_creds, NULL, &uid, &gid, NULL, NULL, &pid, &session, NULL);
278 kr = _heim_ipc_create_cred(uid, gid, pid, session, &s->cred);
474 uid_t uid; member in struct:client::__anon5997
506 c->unixrights.uid = ucred_geteuid(peercred);
517 uid_t uid; local
520 if (getpeereid(c->fd, &uid,
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Diruserok.c224 uid_t uid; local
245 * Change effective uid while opening .rhosts. If root and
249 uid = geteuid();
253 seteuid(uid);
/freebsd-11-stable/sys/security/mac/
H A Dmac_posix_sem.c220 mac_posixsem_check_setowner(struct ucred *cred, struct ksem *ks, uid_t uid, argument
226 ks->ks_label, uid, gid);
228 uid, gid);
/freebsd-11-stable/contrib/netbsd-tests/include/
H A Dt_paths.c126 uid_t uid; local
135 uid = getuid();
162 "error %d", (uint32_t)uid,
/freebsd-11-stable/usr.sbin/quot/
H A Dquot.c227 uid_t uid; member in struct:user
268 for (usrn = users + (usr->uid&(nusers - 1)); usrn->name;
278 user(uid_t uid) argument
285 for (usr = users + (uid&(nusers - 1)), i = nusers; --i >= 0;
288 usr->uid = uid;
290 if (!(pwd = getpwuid(uid))) {
292 sprintf(usr->name,"#%d",uid);
303 } else if (usr->uid == uid)
327 uses(uid_t uid, daddr_t blks, time_t act) argument
[all...]
/freebsd-11-stable/usr.bin/ar/
H A Dread.c83 uid_t uid; local
139 uid = archive_entry_uid(entry);
145 buf + 1, uid, gid, (uintmax_t)size);
/freebsd-11-stable/usr.bin/env/
H A Denv.c81 uid_t uid; local
149 uid = strtoul(login_name, &endp, 10);
151 pw = getpwuid(uid);
/freebsd-11-stable/usr.sbin/cron/cron/
H A Dpopen.c160 pwd = getpwuid(e->uid);
168 setusercontext(lc, pwd, e->uid,
176 * Set our directory, uid and gid. Set gid
177 * first since once we set uid, we've lost
188 if (setuid(e->uid) != 0)
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompileUnit.h45 /// convert into a FileSpec, the SymbolFile plug-in supplied \a uid, and the
58 /// \param[in] uid
77 const char *pathname, lldb::user_id_t uid,
83 /// convert into a FileSpec, the SymbolFile plug-in supplied \a uid, and the
97 /// \param[in] uid
116 const FileSpec &file_spec, lldb::user_id_t uid,
312 /// \param[in] uid
321 lldb::FunctionSP FindFunctionByUID(lldb::user_id_t uid);
/freebsd-11-stable/contrib/elftoolchain/ar/
H A Dread.c63 uid_t uid; local
142 uid = archive_entry_uid(entry);
147 bsdar_strmode(md) + 1, uid, gid,
/freebsd-11-stable/contrib/pjdfstest/tests/open/
H A D00.t46 expect 65535,65535 lstat ${n0} uid,gid
49 expect "65535,6553[45]" lstat ${n0} uid,gid
53 expect "65534,6553[35]" lstat ${n0} uid,gid
/freebsd-11-stable/lib/libc/rpc/
H A Dkey_call.c109 * stored for the caller's effective uid; it returns 0 otherwise
263 uid_t uid; /* user-id at last authorization */ member in struct:key_call_private
334 /* if uid has changed, build client handle again */
335 if (kcp->uid != geteuid()) {
336 kcp->uid = geteuid();
339 authsys_create("", kcp->uid, 0, 0, NULL);
394 kcp->uid = geteuid();
396 kcp->client->cl_auth = authsys_create("", kcp->uid, 0, 0, NULL);
/freebsd-11-stable/sys/kgssapi/
H A Dgssd.x62 uint32_t uid;
162 uint32_t uid;
181 uint32_t uid;
H A Dgss_pname_to_uid.c77 *uidp = res.uid;
118 *uidp = res.uid;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.cpp26 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) { argument
28 this->uid = uid;
39 uid = 0;
241 const u64 uid = atomic_fetch_add(&uid_gen_, 1, memory_order_relaxed); local
244 mys->Init(thr, pc, addr, uid);
/freebsd-11-stable/contrib/smbfs/smbutil/
H A Ddumptree.c73 printf("(%s:%s) %o", user_from_uid(vip->uid, 0),
96 printf("(%s:%s) %o", user_from_uid(sip->uid, 0),

Completed in 252 milliseconds

1234567891011>>