Searched refs:uid (Results 26 - 50 of 685) sorted by relevance

1234567891011>>

/freebsd-12-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fchownat.c56 static int getuser(uid_t *uid, gid_t *gid) argument
63 *uid = pw->pw_uid;
79 uid_t uid; local
83 ATF_REQUIRE(getuser(&uid, &gid) == 0);
89 ATF_REQUIRE(fchownat(dfd, BASEFILE, uid, gid, 0) == 0);
93 ATF_REQUIRE(st.st_uid == uid);
107 uid_t uid; local
111 ATF_REQUIRE(getuser(&uid, &gid) == 0);
117 ATF_REQUIRE(fchownat(AT_FDCWD, BASEFILE, uid, gid, 0) == 0);
120 ATF_REQUIRE(st.st_uid == uid);
133 uid_t uid; local
150 uid_t uid; local
171 uid_t uid; local
193 uid_t uid; local
213 uid_t uid; local
[all...]
/freebsd-12-stable/contrib/pjdfstest/tests/granular/
H A D04.t23 expect 0,0 lstat ${n0} uid,gid
25 expect 0,0 lstat ${n0} uid,gid
28 expect 0,0 lstat ${n0} uid,gid
30 expect 0,65532 lstat ${n0} uid,gid
33 # ACL_WRITE_OWNER permits to set uid to our own only.
35 expect 0,0 lstat ${n0} uid,gid
37 expect 0,0 lstat ${n0} uid,gid
40 expect 0,0 lstat ${n0} uid,gid
42 expect 65534,65531 lstat ${n0} uid,gid
/freebsd-12-stable/lib/libpam/modules/pam_self/
H A Dpam_self.c63 uid_t uid; local
71 uid = getuid();
72 if (uid == 0 && !openpam_get_option(pamh, OPT_ALLOW_ROOT))
75 if (uid == (uid_t)pwd->pw_uid)
/freebsd-12-stable/libexec/ulog-helper/
H A Dulog-helper.c56 uid_t uid; local
62 * return an arbitrary username corresponding to this uid.
64 uid = getuid();
66 pw->pw_uid == uid)
68 if ((pw = getpwuid(uid)) != NULL)
/freebsd-12-stable/contrib/dialog/samples/
H A Dinputmenu8 uid=`id|sed -e 's/^uid=//' -e 's/(.*//'`
21 "UID:" "$uid" \
42 -u $uid \n\
53 UID) uid="$item" ;;
H A Dinputmenu-stdout8 uid=`id|sed -e 's/^uid=//' -e 's/(.*//'`
20 "UID:" "$uid" \
40 -u $uid \n\
51 UID) uid="$item" ;;
H A Dinputmenu111 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'`
27 "UID:" "$uid" \
55 -u $uid \n\
68 uid="$item"
H A Dinputmenu211 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'`
31 "UID:" "$uid" \
63 -u $uid \n\
76 uid="$item"
H A Dinputmenu311 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'`
32 "UID:" "$uid" "User-ID (number)" \
66 -u $uid \n\
85 uid="$item"
H A Dinputmenu411 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'`
28 "UID:" "$uid" \
56 -u $uid \n\
69 uid="$item"
/freebsd-12-stable/crypto/heimdal/lib/roken/
H A Dk_getpwuid.c42 k_getpwuid (uid_t uid) argument
46 p = getpwuid (uid);
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DX86DisassemblerTables.h218 /// @param uid - The unique ID to set matching entries to.
222 InstrUID uid,
237 /// decode tables to point to a specific uid.
245 /// @param uid - The unique ID of the instruction.
255 InstrUID uid,
265 /// @param uid - The unique ID of the instruction.
267 InstructionSpecifier& specForUID(InstrUID uid) { argument
268 if (uid >= InstructionSpecifiers.size())
269 InstructionSpecifiers.resize(uid + 1);
271 return InstructionSpecifiers[uid];
[all...]
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/
H A Dtst.uid.ksh32 # To verify uid of current process.
54 /\$uid != \$1/
60 /\$uid == \$1/
72 userid=`ps -x -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null`
74 print -u2 "unable to get uid of the current process with pid = $$"
/freebsd-12-stable/lib/libc/rpc/
H A Dnetname.c86 uid_t uid; local
88 uid = geteuid();
89 if (uid == 0) {
92 return (user2netname(name, uid, (char *) NULL));
101 user2netname(char netname[MAXNETNAMELEN + 1], const uid_t uid, const char *domain) argument
114 (void) sprintf(netname, "%s.%ld@%s", OPSYS, (u_long)uid, domain);
/freebsd-12-stable/tests/sys/mac/portacl/
H A Droot_test.sh15 bind_test ok ok uid root tcp 77
16 bind_test ok ok uid root tcp 7777
17 bind_test ok ok uid root udp 77
18 bind_test ok ok uid root udp 7777
29 bind_test fl ok uid root tcp 77
30 bind_test ok ok uid root tcp 7777
31 bind_test fl ok uid root udp 77
32 bind_test ok ok uid root udp 7777
43 bind_test fl ok uid root tcp 77
44 bind_test fl ok uid roo
[all...]
/freebsd-12-stable/usr.sbin/keyserv/
H A Dsetkey.c91 * Set the secretkey key for this uid
94 pk_setkey(uid, skey)
95 uid_t uid;
98 if (!storesecretkey(uid, skey)) {
106 * secret key associated with uid.
109 pk_encrypt(uid, remote_name, remote_key, key)
110 uid_t uid;
115 return (pk_crypt(uid, remote_name, remote_key, key, DES_ENCRYPT));
120 * secret key associated with uid.
123 pk_decrypt(uid, remote_nam
309 uid_t uid; member in struct:secretkey_netname_list
[all...]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.h57 u64 uid; // Globally unique id. member in struct:__tsan::SyncVar
70 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid);
74 // 48 lsb is addr, then 14 bits is low part of uid, then 2 zero bits.
75 return GetLsb((u64)addr | (uid << 48), 60);
77 bool CheckId(u64 uid) const {
78 CHECK_EQ(uid, GetLsb(uid, 14));
79 return GetLsb(this->uid, 14) == uid;
81 static uptr SplitId(u64 id, u64 *uid) { argument
[all...]
/freebsd-12-stable/crypto/heimdal/kcm/
H A Dacl.c114 if (kcm_is_same_session(client, ccache->uid, ccache->session)) {
121 if (client->uid == ccache->uid) {
158 if (ccache->uid != client->uid)
177 uid_t uid,
186 if (ccache->uid != client->uid)
194 ccache->uid = uid;
174 kcm_chown(krb5_context context, kcm_client *client, kcm_ccache ccache, uid_t uid, gid_t gid) argument
[all...]
/freebsd-12-stable/contrib/pjdfstest/tests/chown/
H A D08.t28 expect 0,0 stat ${n0} uid,gid
31 expect 65534,65534 stat ${n0} uid,gid
37 expect 65534,65534 stat ${n0} uid,gid
46 expect 65534,65534 stat ${n0} uid,gid
54 expect 0,0 stat ${n0} uid,gid
57 expect 65534,65534 stat ${n0} uid,gid
63 expect 0,0 stat ${n0} uid,gid
66 expect 65534,65534 stat ${n0} uid,gid
72 expect 65534,65534 stat ${n0} uid,gid
79 expect 0,0 stat ${n0} uid,gi
[all...]
H A D05.t23 expect 65534,65533 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid
28 expect 65534,65533 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid
30 expect 65534,65534 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid
32 expect 65534,65533 -u 65534 -g 65533 stat ${n1}/${n2} uid,gid
/freebsd-12-stable/usr.bin/mail/
H A Dv7.local.c88 uid_t uid; local
94 if ((np = getname(uid = getuid())) != NULL)
96 printf("Cannot associate a name with uid %u\n", (unsigned)uid);
/freebsd-12-stable/contrib/pjdfstest/tests/link/
H A D00.t37 expect ${type},0201,3,65534,65533 lstat ${n0} type,mode,nlink,uid,gid
38 expect ${type},0201,3,65534,65533 lstat ${n1} type,mode,nlink,uid,gid
39 expect ${type},0201,3,65534,65533 lstat ${n2} type,mode,nlink,uid,gid
42 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid
43 expect ${type},0201,2,65534,65533 lstat ${n1} type,mode,nlink,uid,gid
44 expect ${type},0201,2,65534,65533 lstat ${n2} type,mode,nlink,uid,gid
47 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid
48 expect ${type},0201,1,65534,65533 lstat ${n1} type,mode,nlink,uid,gid
49 expect ENOENT lstat ${n2} type,mode,nlink,uid,gid
52 expect ENOENT lstat ${n0} type,mode,nlink,uid,gi
[all...]
/freebsd-12-stable/lib/libcasper/services/cap_pwd/
H A Dcap_pwd.h42 struct passwd *cap_getpwuid(cap_channel_t *chan, uid_t uid);
48 int cap_getpwuid_r(cap_channel_t *chan, uid_t uid, struct passwd *pwd,
64 #define cap_getpwuid(chan, uid) getpwuid(uid)
70 #define cap_getpwuid_r(chan, uid, pwd, buffer, bufsize, result) \
71 getpwuid_r(uid, pwd, buffer, bufsize, result)
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.h24 DWARFCompileUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, argument
28 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
H A DDWARFTypeUnit.h28 DWARFTypeUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, argument
32 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}

Completed in 271 milliseconds

1234567891011>>