Home
last modified time | relevance | path

Searched refs:userid (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_userquota.ksh29 userid='123'
40 log_must zfs create -o userquota@$userid=$UQUOTA_SIZE \
44 ans, setpoint = zfs.get_prop("$fs", "userquota@$userid")
48 ans, setpoint = zfs.get_prop("$fs", "userused@$userid")
63 ans, setpoint = zfs.get_prop("$fs1", "userquota@$userid")
67 ans, setpoint = zfs.get_prop("$fs1", "userused@$userid")
/freebsd-13.1/contrib/apr/include/
H A Dapr_user.h66 APR_DECLARE(apr_status_t) apr_uid_current(apr_uid_t *userid,
77 APR_DECLARE(apr_status_t) apr_uid_name_get(char **username, apr_uid_t userid,
88 APR_DECLARE(apr_status_t) apr_uid_get(apr_uid_t *userid, apr_gid_t *groupid,
/freebsd-13.1/usr.sbin/lpr/lpr/
H A Dlpr.c109 static int userid; /* user id */ variable
290 userid = getuid(); in main()
292 if (userid != 0 && userid != pp->daemon_user) in main()
297 if (userid != pp->daemon_user || lpr_username == 0) { in main()
298 if ((pw = getpwuid(userid)) == NULL) in main()
307 if (pp->restrict_grp != NULL && userid != pp->daemon_user) { in main()
324 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & LFM_QUEUE_DIS)) in main()
650 if (fchown(f, userid, -1) < 0) { in nfile()
781 if(stats.st_uid == userid) { in checkwriteperm()
/freebsd-13.1/contrib/apr/user/unix/
H A Duserinfo.c120 APR_DECLARE(apr_status_t) apr_uid_name_get(char **username, apr_uid_t userid, in apr_uid_name_get() argument
129 rv = getpwuid_r(userid, &pwd, pwbuf, sizeof(pwbuf), &pw); in apr_uid_name_get()
140 if ((pw = getpwuid(userid)) == NULL) { in apr_uid_name_get()
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/
H A Dtst.uid.ksh72 userid=`ps -x -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null`
78 $dfilename $userid >/dev/null 2>&1
H A Dtst.euid.ksh72 userid=`ps -x -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null`
78 $dfilename $userid >/dev/null 2>&1
/freebsd-13.1/contrib/file/tests/
H A DMakefile.am48 pgp-binary-key-v4-ecc-no-userid-secret.result \
49 pgp-binary-key-v4-ecc-no-userid-secret.testfile \
54 pgp-binary-key-v4-rsa-no-userid-secret.result \
55 pgp-binary-key-v4-rsa-no-userid-secret.testfile \
H A DMakefile.in340 pgp-binary-key-v4-ecc-no-userid-secret.result \
341 pgp-binary-key-v4-ecc-no-userid-secret.testfile \
346 pgp-binary-key-v4-rsa-no-userid-secret.result \
347 pgp-binary-key-v4-rsa-no-userid-secret.testfile \
/freebsd-13.1/usr.sbin/lpr/common_source/
H A Dcommon.c563 const char *userid, const char *otherhost, const char *orighost) in trstat_write() argument
627 if (*userid == '\0') in trstat_write()
628 userid = NULL; in trstat_write()
682 if (userid != NULL) { in trstat_write()
683 snprintf(eostat, remspace, " user=%s", userid); in trstat_write()
/freebsd-13.1/crypto/openssh/
H A Dssh-sk-helper.c154 char *provider, *application, *pin, *device, *userid; in process_enroll() local
167 (r = sshbuf_get_cstring(req, &userid, NULL)) != 0 || in process_enroll()
182 null_empty(&userid); in process_enroll()
185 if ((r = sshsk_enroll((int)type, provider, device, application, userid, in process_enroll()
H A Dssh-sk.h45 const char *application, const char *userid, uint8_t flags,
H A Dssh-sk-client.c302 const char *application, const char *userid, uint8_t flags, in sshsk_enroll() argument
332 (r = sshbuf_put_cstring(req, userid)) != 0 || in sshsk_enroll()
H A Dssh-sk.c450 const char *application, const char *userid, uint8_t flags, in sshsk_enroll() argument
466 provider_path, device, application, userid, flags, in sshsk_enroll()
474 if ((r = make_options(device, userid, &opts)) != 0) in sshsk_enroll()
H A Dscp.c418 uid_t userid; variable
599 if ((pwd = getpwuid(userid = getuid())) == NULL) in main()
600 fatal("unknown user %u", (u_int) userid); in main()
/freebsd-13.1/usr.bin/top/
H A Dusername.h20 int userid(char *username);
H A Dusername.c73 userid(char username_[]) in userid() function
H A Dtop.c192 if ((uid = userid(buf2)) == -1) in handle_user()
329 if ((ps.uid[0] = userid(optarg)) == -1) in main()
/freebsd-13.1/crypto/openssh/regress/misc/fuzz-harness/
H A Dssh-sk-null.cc29 const char *application, const char *userid, uint8_t flags, in sshsk_enroll() argument
/freebsd-13.1/sys/contrib/openzfs/config/
H A Dkernel-kuidgid.m49 kuid_t userid __attribute__ ((unused)) = KUIDT_INIT(0);
/freebsd-13.1/usr.sbin/pw/
H A Dpw_user.c1191 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; in pw_user_add() local
1204 gecos = homedir = skel = userid = groupid = default_passwd = NULL; in pw_user_add()
1232 userid = optarg; in pw_user_add()
1343 if (userid != NULL) { in pw_user_add()
1344 if ((p = strtok(userid, ", \t")) != NULL) in pw_user_add()
1368 if (userid) in pw_user_add()
1369 id = pw_checkid(userid, UID_MAX); in pw_user_add()
/freebsd-13.1/crypto/heimdal/appl/rcp/
H A Drcp.c36 uid_t userid; variable
110 if ((pwd = getpwuid(userid = getuid())) == NULL) in main()
111 errx(1, "unknown user %d", (int)userid); in main()
/freebsd-13.1/usr.sbin/lpr/lpd/
H A Dprintjob.c1561 sendmail(struct printer *pp, char *userid, int bombed) in sendmail() argument
1582 printf("To: %s@%s\n", userid, origin_host); in sendmail()
1624 syslog(LOG_WARNING, "unable to send mail to %s: %m", userid); in sendmail()
1631 userid, *jobname ? jobname : "<unknown>", pp->printer, cp); in sendmail()
/freebsd-13.1/share/doc/smm/01.setup/
H A Dspell.ok578 userid
/freebsd-13.1/contrib/ntp/ntpd/
H A Dntpdbase-opts.def353 descrip = "Run as userid (or userid:groupid)";
/freebsd-13.1/crypto/heimdal/lib/hdb/
H A Dhdb-ldap.c835 const char *userid, in LDAP__lookup_princ() argument
883 if (userid && ldap_count_entries(HDB2LDAP(db), *msg) == 0) { in LDAP__lookup_princ()
889 ret = escape_value(context, userid, &quote); in LDAP__lookup_princ()

12