Searched refs:uid (Results 126 - 150 of 461) sorted by relevance

1234567891011>>

/openbsd-current/gnu/llvm/lldb/source/Plugins/Platform/Android/
H A DPlatformAndroid.h50 uint32_t uid = UINT32_MAX, uint32_t gid = UINT32_MAX) override;
/openbsd-current/games/hunt/huntd/
H A Danswer.c161 memcpy(&sp->uid, cp1, sizeof (u_int32_t));
175 sp->uid = ntohl(sp->uid);
236 pp->p_ident = get_ident(&sp->source, sp->sourcelen, sp->uid,
438 get_ident(struct sockaddr *sa, int salen, u_long uid, char *name, char team) argument
451 && ip->i_uid == uid
482 ip->i_uid = uid;
/openbsd-current/usr.bin/rdist/
H A Dcommon.c435 * Get the user name for the uid.
438 getusername(uid_t uid, char *file, opt_t opts) argument
449 (void) snprintf(buf, sizeof(buf), ":%u", uid);
456 if (lastuid == uid && buf[0] != '\0' && buf[0] != ':')
459 lastuid = uid;
461 if ((name = user_from_uid(uid, 1)) == NULL) {
466 "%s: No password entry for uid %u", file, uid);
467 (void) snprintf(buf, sizeof(buf), ":%u", uid);
/openbsd-current/bin/ps/
H A Dps.c82 char lfmt[] = "uid pid ppid cpu pri nice vsz rss wchan state tt time command";
100 uid_t uid; local
125 uid = 0;
232 if (uid_from_user(optarg, &uid) == 0)
237 uid = strtonum(optarg, 0, UID_MAX, &errstr);
239 user_from_uid(uid, 1) != NULL)
324 uid = getuid();
342 flag = uid;
/openbsd-current/gnu/gcc/gcc/
H A Dfinal.c328 /* Max uid for which the above arrays are valid. */
344 its uid to obtain the next following align that in turn increases the
610 int uid = INSN_UID (start);
616 for (align_label = uid_align[uid]; align_label; align_label = uid_align[uid])
620 uid = INSN_UID (align_label);
621 align_addr = INSN_ADDRESSES (uid) - insn_lengths[uid];
622 if (uid_shuid[uid] > end_shuid)
815 int uid;
606 int uid = INSN_UID (start); local
809 int uid; local
944 int uid = INSN_UID (seq); local
[all...]
H A Dipa-utils.c94 splay_tree_remove (env->nodes_marked_new, v->uid);
190 (splay_tree_key)node->uid,
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dfinal.c594 /* Max uid for which the above arrays are valid. */
610 its uid to obtain the next following align that in turn increases the
863 int uid = INSN_UID (start);
869 for (align_label = uid_align[uid]; align_label; align_label = uid_align[uid])
873 uid = INSN_UID (align_label);
874 align_addr = INSN_ADDRESSES (uid) - insn_lengths[uid];
875 if (uid_shuid[uid] > end_shuid)
1052 int uid;
859 int uid = INSN_UID (start); local
1046 int uid; local
1183 int uid = INSN_UID (seq); local
[all...]
/openbsd-current/sys/dev/acpi/
H A Dchvgpio.c170 int64_t uid; local
177 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) {
178 printf(": can't find uid\n");
182 printf(" uid %lld", uid);
184 switch (uid) {
242 aml_register_regionspace(sc->sc_node, CHVGPIO_REGIONSPACE_BASE + uid,
/openbsd-current/gnu/llvm/lldb/include/lldb/Symbol/
H A DSymbolFileOnDemand.h106 lldb_private::CompilerDecl GetDeclForUID(lldb::user_id_t uid) override;
109 GetDeclContextForUID(lldb::user_id_t uid) override;
112 GetDeclContextContainingUID(lldb::user_id_t uid) override;
230 lldb::TypeSP MakeType(lldb::user_id_t uid, ConstString name,
240 uid, name, byte_size, context, encoding_uid, encoding_uid_type, decl,
H A DSymbolFile.h214 virtual CompilerDecl GetDeclForUID(lldb::user_id_t uid) { argument
217 virtual CompilerDeclContext GetDeclContextForUID(lldb::user_id_t uid) { argument
220 virtual CompilerDeclContext GetDeclContextContainingUID(lldb::user_id_t uid) { argument
416 MakeType(lldb::user_id_t uid, ConstString name,
509 lldb::TypeSP MakeType(lldb::user_id_t uid, ConstString name,
519 uid, this, name, byte_size, context, encoding_uid,
/openbsd-current/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h93 lldb_private::CompilerDecl GetDeclForUID(lldb::user_id_t uid) override;
96 GetDeclContextForUID(lldb::user_id_t uid) override;
99 GetDeclContextContainingUID(lldb::user_id_t uid) override;
227 GetPDBCompilandByUID(uint32_t uid);
236 bool ResolveFunction(uint32_t uid, bool include_inlines,
/openbsd-current/sys/kern/
H A Dkern_prot.c404 * Note that unlike the other set*uid() calls, each
405 * uid type is set independently of the others.
626 * The saved uid check here is complicated: we reset the
627 * saved uid to the real uid if the real uid is specified
628 * *and* either it's changing _or_ the saved uid won't equal
629 * the effective uid. So, the svuid *won't* change when
672 * The saved uid presents a bit of a dilemma, as it did not
674 * uid whe
701 uid_t uid; local
[all...]
H A Dkern_proc.c53 #define UIHASH(uid) (&uihashtbl[(uid) & uihash])
123 uid_find(uid_t uid) argument
128 uipp = UIHASH(uid);
131 if (uip->ui_uid == uid)
139 if (uip->ui_uid == uid)
145 nuip->ui_uid = uid;
162 chgproccnt(uid_t uid, int diff) argument
167 uip = uid_find(uid);
H A Dkern_fork.c305 fork_check_maxthread(uid_t uid) argument
316 if ((nthreads >= maxthread - 5 && uid != 0) || nthreads >= maxthread) {
348 uid_t uid = curp->p_ucred->cr_ruid; local
360 if ((error = fork_check_maxthread(uid)))
363 if ((nprocesses >= maxprocess - 5 && uid != 0) ||
375 * Increment the count of processes running with this uid.
378 count = chgproccnt(uid, 1);
379 if (uid != 0 && count > lim_cur(RLIMIT_NPROC)) {
380 (void)chgproccnt(uid, -1);
388 (void)chgproccnt(uid,
[all...]
/openbsd-current/usr.bin/top/
H A Dtop.c168 uid_t uid; local
173 ps.uid = (pid_t)-1;
175 uidp = &ps.uid;
182 uid = strtonum(bufp, 0, UID_MAX, &errstr);
183 if (errstr == NULL && user_from_uid(uid, 1) != NULL) {
184 *uidp = uid;
253 case 'u': /* toggle uid/username display */
398 ps.uid = (uid_t)-1;
436 /* set constants for username/uid display correctly */
919 ps.uid
[all...]
H A Dutils.c88 * format_uid(uid) - like itoa, except for uid_t and the number is right
92 format_uid(uid_t uid, int nouser) argument
97 * 16 is sufficient since the largest uid we will ever convert
100 (void)snprintf(buffer, sizeof(buffer), "%6u", uid);
/openbsd-current/usr.bin/login/
H A Dlogin.c154 uid_t uid; local
186 uid = getuid();
193 if (uid) {
210 if (uid) {
235 if (uid) {
247 if (uid) {
254 if (!uid)
457 if (!pwd || (uid && uid != pwd->pw_uid))
/openbsd-current/sys/ufs/ufs/
H A Dufs_quota.c159 * Set up the user quota based on file uid.
164 dqget(vp, DIP(ip, uid), ump, USRQUOTA, &ip->i_dquot[USRQUOTA])) &&
272 DIP(ip, uid) == cred->cr_uid) {
287 if (DIP(ip, uid) == cred->cr_uid)
295 DIP(ip, uid) == cred->cr_uid) {
392 DIP(ip, uid) == cred->cr_uid) {
407 if (DIP(ip, uid) == cred->cr_uid)
415 DIP(ip, uid) == cred->cr_uid) {
1038 ufs_quotactl(struct mount *mp, int cmds, uid_t uid, caddr_t arg, argument
1043 if (uid
[all...]
H A Dufs_vnops.c280 return (vaccess(vp->v_type, DIP(ip, mode), DIP(ip, uid), DIP(ip, gid),
301 vap->va_uid = DIP(ip, uid);
353 if (cred->cr_uid != DIP(ip, uid) &&
413 if (cred->cr_uid != DIP(ip, uid) &&
461 if (cred->cr_uid != DIP(ip, uid) &&
484 ufs_chown(struct vnode *vp, uid_t uid, gid_t gid, struct ucred *cred) argument
493 if (uid == (uid_t)VNOVAL)
494 uid = DIP(ip, uid);
502 if ((cred->cr_uid != DIP(ip, uid) || ui
[all...]
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dpwent.t68 # though it returns the uid as 4294967294. If you track uid_t
184 my ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$home,$shell) = @n;
188 ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$home,$shell) = @n;
193 $uid eq $uid_s and
H A Dchop.t280 my $uid = '';
282 $uid = $line[-1];
283 is($uid, $expected,
/openbsd-current/lib/libcrypto/sm2/
H A Dsm2_sign.c32 const uint8_t *uid, size_t uid_len, const uint8_t *msg, size_t msg_len)
54 if (!sm2_compute_userid_digest(za, digest, uid, uid_len, key)) {
352 sm2_do_sign(const EC_KEY *key, const EVP_MD *digest, const uint8_t *uid, argument
358 e = sm2_compute_msg_hash(digest, key, uid, uid_len, msg, msg_len);
373 const uint8_t *uid, size_t uid_len, const uint8_t *msg, size_t msg_len)
378 e = sm2_compute_msg_hash(digest, key, uid, uid_len, msg, msg_len);
31 sm2_compute_msg_hash(const EVP_MD *digest, const EC_KEY *key, const uint8_t *uid, size_t uid_len, const uint8_t *msg, size_t msg_len) argument
372 sm2_do_verify(const EC_KEY *key, const EVP_MD *digest, const ECDSA_SIG *sig, const uint8_t *uid, size_t uid_len, const uint8_t *msg, size_t msg_len) argument
H A Dsm2_za.c26 sm2_compute_userid_digest(uint8_t *out, const EVP_MD *digest, uint8_t *uid, argument
85 if (!EVP_DigestUpdate(hash, uid, uid_len))
/openbsd-current/usr.sbin/vmd/
H A Dcontrol.c420 if (c->peercred.uid != 0) {
421 log_warnx("denied request %d from uid %d",
422 imsg.hdr.type, c->peercred.uid);
451 vmc.vmc_owner.uid = c->peercred.uid;
469 vid.vid_uid = c->peercred.uid;
505 vid.vid_uid = c->peercred.uid;
506 log_debug("%s id: %d, name: %s, uid: %d",
/openbsd-current/gnu/usr.bin/perl/lib/File/
H A Dstat.pm96 my $uid = $eff ? $> : $<;
102 if (_IS_CYGWIN ? _ingroup(544, $eff) : ($uid == 0 && $^O ne "VMS")) {
113 if ($stuid == $uid) {
194 dev ino mode nlink uid gid rdev size
247 print "My effective uid can read $file\n";
267 uid,
287 C<uid> and C<gid> fields, and returns whether or not the current process

Completed in 206 milliseconds

1234567891011>>