Searched refs:uid (Results 1 - 25 of 685) sorted by relevance

1234567891011>>

/freebsd-12-stable/crypto/openssh/
H A Dplatform-misc.c22 * 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 Dusername.h16 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 Dusername.c16 * 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 Dtest_owner_parse.c64 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 Dtst.uid.d31 * 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 Dtst.uid.d32 /curpsinfo->pr_uid == uid/
39 printf("%d != %d\n", curpsinfo->pr_uid, uid);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/
H A DUserID.cpp17 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 Dtst.uid.d33 * print uid in a script
41 printf("The uid is %d\n", $uid);
/freebsd-12-stable/tools/regression/netinet/rawconnect/
H A Drawconnect.t14 uid=`id -u`
16 if [ $uid -ne 0 ]; then
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DUserID.h33 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 Drc.bsdextended63 #${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 Dhistory_009_pos.ksh114 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 DClangASTMetadata.cpp15 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 Dform29 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 Dnfs_kdtrace.h62 #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 Dnfs_kdtrace.h54 #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 D00.t30 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 Dnobody_test.sh18 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 Dgetname.c47 * 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.c46 _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 Dt_setuid.c65 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 Dpwcache.c48 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 Dosfc2.c38 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 Dapr_perms_set.h43 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 Dget_default_username.c63 uid_t uid = getuid (); local
68 if (pwd != NULL && pwd->pw_uid == uid)
71 pwd = k_getpwuid (uid);

Completed in 276 milliseconds

1234567891011>>