Searched refs:uid (Results 151 - 175 of 461) sorted by relevance

1234567891011>>

/openbsd-current/usr.sbin/authpf/
H A Dauthpf.c90 uid_t uid; local
136 uid = getuid();
137 pw = getpwuid(uid);
139 syslog(LOG_ERR, "cannot find user for uid %u", uid);
153 syslog(LOG_ERR, "wrong shell for user %s, uid %u",
285 uid = getuid();
286 if (setresuid(uid, uid, uid)
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D920928-4.c54 signed32 uid; member in struct:__anon6870
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20011008-3.c50 u_int8_t uid[20]; member in struct:__db_txnlist::__anon6954::__anon6958
/openbsd-current/sys/isofs/cd9660/
H A Dcd9660_rrip.h50 char uid [ISODCL ( 20, 27)]; /* 733 */ member in struct:__anon9746
/openbsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_rrip.h53 char uid [ISODCL ( 20, 27)]; /* 733 */ member in struct:__anon10658
/openbsd-current/gnu/llvm/lldb/include/lldb/API/
H A DSBLaunchInfo.h43 void SetUserID(uint32_t uid);
/openbsd-current/sys/dev/acpi/
H A Damdgpio.c120 int64_t uid; local
126 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) {
127 printf(": can't find uid\n");
131 printf(" uid %lld", uid);
133 switch (uid) {
H A Dbytgpio.c126 int64_t uid; local
134 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) {
135 printf(": can't find uid\n");
139 printf(" uid %lld", uid);
141 switch (uid) {
H A Daplgpio.c99 int64_t uid; local
106 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) {
107 printf(": can't find uid\n");
111 printf(" uid %lld", uid);
113 switch (uid) {
H A Dglkgpio.c99 int64_t uid; local
106 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) {
107 printf(": can't find uid\n");
111 printf(" uid %lld", uid);
113 switch (uid) {
/openbsd-current/lib/librpcsvc/
H A Dnfs_prot.x119 unsigned uid; /* owner user id */
137 unsigned uid; /* owner user id */
/openbsd-current/usr.sbin/amd/rpcx/
H A Dnfs_prot.x138 unsigned uid; /* owner user id */
156 unsigned uid; /* owner user id */
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dstat.t208 # switch uid back (may not be implemented)
337 my($cnt, $uid);
338 $cnt = $uid = 0;
350 $uid++ if -u;
351 last if $uid && $uid < $cnt;
356 skip "No setuid programs", 3 if $uid == 0;
359 isnt($uid, 0, ' found some setuid programs');
360 ok($uid < $cnt, " they're not all setuid");
563 skip "uid
[all...]
/openbsd-current/libexec/mail.local/
H A Dmail.local.c60 uid_t uid; local
93 * uid matches, otherwise, use the name from the password file
94 * corresponding to the uid.
96 uid = getuid();
98 !(pw = getpwnam(from)) || pw->pw_uid != uid))
99 from = (pw = getpwuid(uid)) ? pw->pw_name : "???";
/openbsd-current/usr.bin/ipcs/
H A Dipcs.c306 mode_t mode, uid_t uid, gid_t gid, uid_t cuid, gid_t cgid,
319 user_from_uid(uid, 0), group_from_gid(gid, 0));
361 mode_t mode, uid_t uid, gid_t gid, uid_t cuid, gid_t cgid,
373 user_from_uid(uid, 0), group_from_gid(gid, 0));
414 uid_t uid, gid_t gid, uid_t cuid, gid_t cgid, int16_t nsems)
424 user_from_uid(uid, 0), group_from_gid(gid, 0));
496 msqptr->msg_perm.uid,
568 shmptr->shm_perm.uid,
639 semaptr->sem_perm.uid,
741 msqptr->msg_perm.uid,
305 show_msginfo(time_t stime, time_t rtime, time_t ctime, int ipcid, key_t key, mode_t mode, uid_t uid, gid_t gid, uid_t cuid, gid_t cgid, u_long cbytes, u_long qnum, u_long qbytes, pid_t lspid, pid_t lrpid) argument
360 show_shminfo(time_t atime, time_t dtime, time_t ctime, int ipcid, key_t key, mode_t mode, uid_t uid, gid_t gid, uid_t cuid, gid_t cgid, u_int32_t nattch, int segsz, pid_t cpid, pid_t lpid) argument
413 show_seminfo(time_t otime, time_t ctime, int ipcid, key_t key, mode_t mode, uid_t uid, gid_t gid, uid_t cuid, gid_t cgid, int16_t nsems) argument
[all...]
/openbsd-current/usr.bin/rsync/
H A Dids.c82 if (fl[i].st.uid == 0)
85 if ((int32_t)fl[i].st.uid == ids[j].id)
88 fl[i].st.uid = ids[j].mapped;
188 ERR("%d: unknown uid", id);
/openbsd-current/gnu/usr.bin/perl/cpan/IPC-SysV/
H A DSysV.xs135 AV_FETCH_IV(ds.msg_perm.uid , list, 0);
166 AV_STORE_IV(data->msg_perm.uid , list, 0);
198 AV_FETCH_IV(ds.sem_perm.uid , list, 0);
225 AV_STORE_IV(data->sem_perm.uid , list, 0);
253 AV_FETCH_IV(ds.shm_perm.uid , list, 0);
284 AV_STORE_IV(data->shm_perm.uid , list, 0);
/openbsd-current/gnu/usr.bin/perl/cpan/IPC-SysV/lib/IPC/
H A DMsg.pm29 uid => '$',
185 uid
204 uid
/openbsd-current/usr.bin/chpass/
H A Dedit.c90 if (!uid) {
145 if (sb.st_size == 0 || sb.st_nlink != 1 || sb.st_uid != uid) {
166 if (ep->restricted && uid) {
/openbsd-current/sys/net/
H A Dif_pflog.c226 hdr.uid = pd->lookup.uid;
229 hdr.uid = -1;
/openbsd-current/gnu/llvm/lldb/source/API/
H A DSBLaunchInfo.cpp103 void SBLaunchInfo::SetUserID(uint32_t uid) { argument
104 LLDB_INSTRUMENT_VA(this, uid);
106 m_opaque_sp->SetUserID(uid);
/openbsd-current/gnu/llvm/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.h128 uint32_t uid = UINT32_MAX, uint32_t gid = UINT32_MAX) override;
185 std::optional<std::string> DoGetUserName(UserIDResolver::id_t uid) override;
186 std::optional<std::string> DoGetGroupName(UserIDResolver::id_t uid) override;
/openbsd-current/gnu/usr.bin/cvs/src/
H A Dsubr.c337 uid_t uid;
349 /* Get the caller's login from his uid. If the real uid is "root"
351 both fail, return the uid as a string. */
356 uid = getuid ();
357 if (uid == (uid_t) 0)
369 if ((pw = (struct passwd *) getpwuid (uid)) == NULL)
373 (void) snprintf (uidname, sizeof uidname, "uid%lu", (unsigned long) uid);
336 uid_t uid; local
/openbsd-current/regress/sys/ffs/
H A Dfstest.c143 fprintf(stderr, "usage: fstest [-u uid] [-g gid1[,gid2[...]]] syscall "
213 else if (strcmp(what, "uid") == 0)
462 int uid, umsk, ch; local
467 uid = -1;
477 uid = (int)strtol(optarg, &endp, 0);
479 fprintf(stderr, "invalid uid '%s' - number "
506 if (uid != -1) {
507 if (setuid(uid) < 0) {
508 fprintf(stderr, "cannot change uid: %s\n",
/openbsd-current/regress/bin/ksh/
H A Dth952 local($type, $perm, $uid, $gid, $matchType,
955 # format is: type perm uid gid matchType "name"
962 ($type, $perm, $uid, $gid, $matchType, $rest)
974 if ($uid !~ /^\d+$/ && $uid ne '*') {
976 "$prog:$file:$.: bad user-id for file-result: $uid\n";
1138 local($type, $perm, $uid, $gid, $rest, $c, $len, $name);
1146 ($type, $perm, $uid, $gid, $matchType, $rest) =
1164 if ($uid ne '*' && $stbuf[4] != $uid) {
[all...]

Completed in 176 milliseconds

1234567891011>>