/freebsd-12-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fchownat.c | 56 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 D | 04.t | 23 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 D | pam_self.c | 63 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 D | ulog-helper.c | 56 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 D | inputmenu | 8 uid=`id|sed -e 's/^uid=//' -e 's/(.*//'` 21 "UID:" "$uid" \ 42 -u $uid \n\ 53 UID) uid="$item" ;;
|
H A D | inputmenu-stdout | 8 uid=`id|sed -e 's/^uid=//' -e 's/(.*//'` 20 "UID:" "$uid" \ 40 -u $uid \n\ 51 UID) uid="$item" ;;
|
H A D | inputmenu1 | 11 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'` 27 "UID:" "$uid" \ 55 -u $uid \n\ 68 uid="$item"
|
H A D | inputmenu2 | 11 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'` 31 "UID:" "$uid" \ 63 -u $uid \n\ 76 uid="$item"
|
H A D | inputmenu3 | 11 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'` 32 "UID:" "$uid" "User-ID (number)" \ 66 -u $uid \n\ 85 uid="$item"
|
H A D | inputmenu4 | 11 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 D | k_getpwuid.c | 42 k_getpwuid (uid_t uid) argument 46 p = getpwuid (uid);
|
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | X86DisassemblerTables.h | 218 /// @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 D | tst.uid.ksh | 32 # 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 D | netname.c | 86 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 D | root_test.sh | 15 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 D | setkey.c | 91 * 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 D | tsan_sync.h | 57 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 D | acl.c | 114 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 D | 08.t | 28 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 D | 05.t | 23 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 D | v7.local.c | 88 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 D | 00.t | 37 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 D | cap_pwd.h | 42 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 D | DWARFCompileUnit.h | 24 DWARFCompileUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, argument 28 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
|
H A D | DWARFTypeUnit.h | 28 DWARFTypeUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, argument 32 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
|