/freebsd-12-stable/crypto/openssh/ |
H A D | platform-misc.c | 22 * return 1 if the specified uid is a uid that may own a system directory 26 platform_sys_dir_uid(uid_t uid) argument 28 if (uid == 0) 31 if (uid == PLATFORM_SYS_DIR_UID)
|
/freebsd-12-stable/usr.bin/top/ |
H A D | username.h | 16 int enter_user(int uid, char *name, bool wecare); 17 int get_user(int uid); 19 char *username(int uid); 23 * "Table_size" defines the size of the hash tables used to map uid to
|
H A D | username.c | 16 * These routines handle uid to username mapping. 44 int uid; member in struct:hash_el 59 username(int uid) argument 63 hashindex = hashit(uid); 64 if (is_empty_hash(hashindex) || (hash_table[hashindex].uid != uid)) 67 hashindex = get_user(uid); 95 enter_user(int uid, char name[], bool wecare) argument 100 fprintf(stderr, "enter_hash(%d, %s, %d)\n", uid, name, wecare); 103 hashindex = hashit(uid); 124 get_user(int uid) argument [all...] |
/freebsd-12-stable/contrib/libarchive/cpio/test/ |
H A D | test_owner_parse.c | 64 skipping("No uid/gid configuration for this OS"); 66 int uid, gid; 68 assert(NULL == owner_parse(ROOT, &uid, &gid)); 69 assert(int_in_list(uid, root_uids, 74 assert(NULL == owner_parse(ROOT ":", &uid, &gid)); 75 assert(int_in_list(uid, root_uids, 80 assert(NULL == owner_parse(ROOT ".", &uid, &gid)); 81 assert(int_in_list(uid, root_uids, 86 assert(NULL == owner_parse("111", &uid, &gid)); 87 assertEqualInt(111, uid); [all...] |
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.uid.d | 31 * collect uid at every fbt probe and at every firing of a 37 @a[uid] = count(); 42 @a[uid] = count();
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/ |
H A D | tst.uid.d | 32 /curpsinfo->pr_uid == uid/ 39 printf("%d != %d\n", curpsinfo->pr_uid, uid);
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | UserID.cpp | 17 Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) { argument 18 strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/ |
H A D | tst.uid.d | 33 * print uid in a script 41 printf("The uid is %d\n", $uid);
|
/freebsd-12-stable/tools/regression/netinet/rawconnect/ |
H A D | rawconnect.t | 14 uid=`id -u` 16 if [ $uid -ne 0 ]; then
|
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | UserID.h | 33 UserID(lldb::user_id_t uid = LLDB_INVALID_UID) : m_uid(uid) {} 51 /// \param[in] uid 53 void SetID(lldb::user_id_t uid) { m_uid = uid; } argument 65 IDMatches(lldb::user_id_t uid) : m_uid(uid) {} argument 89 Stream &operator<<(Stream &strm, const UserID &uid);
|
/freebsd-12-stable/etc/ |
H A D | rc.bsdextended | 63 #${CMD} add subject uid 80 object not uid 80 mode rxws; 68 #${CMD} add subject uid 54 object not uid 54 mode rxws; 73 ${CMD} add subject uid 0 object not uid 0 mode arxws; 78 #${CMD} add subject uid 54 object not uid 54 mode rxws; 83 ${CMD} add subject uid 3 object not uid [all...] |
/freebsd-12-stable/tests/sys/cddl/zfs/tests/history/ |
H A D | history_009_pos.ksh | 114 uid=$($ID $HIST_USER | $AWK -F= '{print $2}'| $AWK -F"(" '{print $1}' ) 130 "ul\$$uid" "allow" "-l -u $HIST_USER snapshot" \ 131 "ul\$$uid" "allow" "-u $HIST_USER snapshot" \ 132 "ul\$$uid" "unallow" "-u $HIST_USER snapshot" \ 133 "Ul\$$uid" "allow" "-l -u $HIST_USER @set" \ 134 "Ul\$$uid" "allow" "-u $HIST_USER @set" \ 135 "Ul\$$uid" "unallow" "-u $HIST_USER @set" \ 136 "ud\$$uid" "allow" "-d -u $HIST_USER snapshot" \ 137 "ud\$$uid" "allow" "-u $HIST_USER snapshot" \ 138 "ud\$$uid" "unallo [all...] |
/freebsd-12-stable/contrib/llvm-project/lldb/source/Symbol/ |
H A D | ClangASTMetadata.cpp | 15 lldb::user_id_t uid = GetUserID(); local 17 if (uid != LLDB_INVALID_UID) { 18 s->Printf("uid=0x%" PRIx64, uid);
|
/freebsd-12-stable/contrib/dialog/samples/ |
H A D | form2 | 9 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'` 24 "1 UID:" 2 1 "$uid" 2 12 10 10 \ 28 "2 UID:" 6 1 "$uid" 6 12 10 10 \ 32 "3 UID:" 10 1 "$uid" 10 12 10 10 \ 36 "4 UID:" 14 1 "$uid" 14 12 10 10 \ 40 "5 UID:" 18 1 "$uid" 18 12 10 10 \ 44 "6 UID:" 22 1 "$uid" 22 12 10 10 \ 48 "7 UID:" 26 1 "$uid" 26 12 10 10 \
|
/freebsd-12-stable/sys/fs/nfsclient/ |
H A D | nfs_kdtrace.h | 62 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \ 65 nfscl_accesscache_get_hit_id, (vp), (uid), \ 69 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \ 72 nfscl_accesscache_get_miss_id, (vp), (uid), \ 76 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \ 79 nfscl_accesscache_load_done_id, (vp), (uid), \ 111 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) 112 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) 113 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error)
|
/freebsd-12-stable/sys/nfs/ |
H A D | nfs_kdtrace.h | 54 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \ 57 nfsclient_accesscache_get_hit_id, (vp), (uid), \ 61 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \ 64 nfsclient_accesscache_get_miss_id, (vp), (uid), \ 68 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \ 71 nfsclient_accesscache_load_done_id, (vp), (uid), \ 111 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) 112 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) 113 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error)
|
/freebsd-12-stable/contrib/pjdfstest/tests/chown/ |
H A D | 00.t | 30 expect 123,456 lstat ${n0} uid,gid 32 expect 0,0 lstat ${n0} uid,gid 35 uidgid=`${fstest} lstat ${n1} uid,gid` 37 expect 123,456 stat ${n1} uid,gid 38 expect 123,456 stat ${n0} uid,gid 39 expect ${uidgid} lstat ${n1} uid,gid 51 expect 123,456 lstat ${n0} uid,gid 66 expect 65534,65533 lstat ${n0} uid,gid 68 expect 65534,65532 lstat ${n0} uid,gid 70 expect 65534,65531 lstat ${n0} uid,gi [all...] |
/freebsd-12-stable/tests/sys/mac/portacl/ |
H A D | nobody_test.sh | 18 bind_test fl fl uid nobody tcp 77 19 bind_test ok ok uid nobody tcp 7777 20 bind_test fl fl uid nobody udp 77 21 bind_test ok ok uid nobody udp 7777 30 bind_test fl fl uid nobody tcp 77 31 bind_test ok ok uid nobody tcp 7777 32 bind_test fl fl uid nobody udp 77 33 bind_test ok ok uid nobody udp 7777 44 bind_test fl fl uid nobody tcp 77 45 bind_test fl ok uid nobod [all...] |
/freebsd-12-stable/usr.bin/mail/ |
H A D | getname.c | 47 * Search the passwd file for a uid. Return name on success, NULL on failure. 50 getname(uid_t uid) argument 54 if ((pw = getpwuid(uid)) == NULL)
|
/freebsd-12-stable/lib/libutil/ |
H A D | _secure_path.c | 46 _secure_path(const char *path, uid_t uid, gid_t gid) argument 62 else if ((int)uid != -1 && sb.st_uid != uid && sb.st_uid != 0) { 63 if (uid == 0) 66 msg = "%s: %s is not owned by uid %d"; 72 syslog(LOG_ERR, msg, "_secure_path", path, uid);
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_setuid.c | 65 uid_t uid = getuid(); local 67 ATF_REQUIRE(setuid(uid) == 0); 69 ATF_REQUIRE(getuid() == uid); 70 ATF_REQUIRE(geteuid() == uid); 85 uid_t uid; local 99 uid = getuid(); 101 if (uid != pw->pw_uid)
|
/freebsd-12-stable/crypto/openssh/openbsd-compat/ |
H A D | pwcache.c | 48 user_from_uid(uid_t uid, int nouser) argument 51 uid_t uid; member in struct:ncache 59 cp = c_uid + (uid & MASK); 60 if (cp->uid != uid || cp->name == NULL) { 67 if ((pw = getpwuid(uid)) == NULL) { 70 (void)snprintf(nbuf, sizeof(nbuf), "%u", uid); 72 cp->uid = uid;
|
/freebsd-12-stable/crypto/heimdal/appl/login/ |
H A D | osfc2.c | 38 do_osfc2_magic(uid_t uid) argument 49 epw = getespwuid(uid); 52 "getespwuid failed for %d", uid); 65 "attempted login by %s (has no uid)", epw->ufld->fd_name);
|
/freebsd-12-stable/contrib/apr/include/ |
H A D | apr_perms_set.h | 43 apr_uid_t uid, apr_gid_t gid); 48 apr_uid_t uid, apr_gid_t gid) 53 apr_uid_t uid, apr_gid_t gid) \
|
/freebsd-12-stable/crypto/heimdal/lib/roken/ |
H A D | get_default_username.c | 63 uid_t uid = getuid (); local 68 if (pwd != NULL && pwd->pw_uid == uid) 71 pwd = k_getpwuid (uid);
|