Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 1669) sorted by relevance

12345678910>>...67

/openbsd-src/usr.bin/tmux/
H A Dserver-acl.c98 struct server_acl_user *user; in server_acl_user_allow() local
100 user = server_acl_user_find(uid); in server_acl_user_allow()
101 if (user == NULL) { in server_acl_user_allow()
102 user = xcalloc(1, sizeof *user); in server_acl_user_allow()
103 user->uid = uid; in server_acl_user_allow()
104 RB_INSERT(server_acl_entries, &server_acl_entries, user); in server_acl_user_allow()
112 struct server_acl_user *user; in server_acl_user_deny() local
114 user = server_acl_user_find(uid); in server_acl_user_deny()
115 if (user != NULL) { in server_acl_user_deny()
116 RB_REMOVE(server_acl_entries, &server_acl_entries, user); in server_acl_user_deny()
[all …]
/openbsd-src/regress/usr.bin/ssh/unittests/misc/
H A Dtest_parse.c25 char *user, *host, *path; in test_parse() local
29 &user, &host, &path), 0); in test_parse()
30 ASSERT_STRING_EQ(user, "someuser"); in test_parse()
33 free(user); free(host); free(path); in test_parse()
38 &user, &host, &path), 0); in test_parse()
39 ASSERT_STRING_EQ(user, "someuser"); in test_parse()
42 free(user); free(host); free(path); in test_parse()
47 &user, &host, &path), 0); in test_parse()
48 ASSERT_STRING_EQ(user, "someuser"); in test_parse()
51 free(user); free(host); free(path); in test_parse()
[all …]
/openbsd-src/regress/usr.bin/ssh/
H A Daddrmatch.sh10 user="$1"; addr="$2"; host="$3"; laddr="$4"; lport="$5"
13 verbose "test $descr for $user $addr $host"
15 -C user=${user},addr=${addr},host=${host},laddr=${laddr},lport=${lport} | \
35 run_trial user 192.168.0.1 somehost 1.2.3.4 1234 match1 "first entry"
36 run_trial user 192.168.30.1 somehost 1.2.3.4 1234 nomatch "negative match"
37 run_trial user 19.0.0.1 somehost 1.2.3.4 1234 nomatch "no match"
38 run_trial user 10.255.255.254 somehost 1.2.3.4 1234 match1 "list middle"
39 run_trial user 192.168.30.1 192.168.0.1 1.2.3.4 1234 nomatch "faked IP in hostname"
40 run_trial user 1.1.1.1 somehost.example.com 1.2.3.4 1234 match2 "bare IP4 address"
41 run_trial user 19.0.0.1 somehost 127.0.0.1 1234 match3 "localaddress"
[all …]
/openbsd-src/usr.bin/skey/
H A Dskeyprune.pl51 while (defined($user = readdir(SKEYDIR))) {
52 next if $user =~ /^\./;
53 if (!sysopen(SKEY, $user, 0, O_RDWR | O_NONBLOCK | O_NOFOLLOW)) {
54 warn "$0: Can't open $user: $!\n";
58 warn "$0: Can't lock $user: $!\n";
64 warn "$0: Can't stat $user: $!\n";
71 warn "$0: $user is not a regular file\n";
76 printf STDERR ("%s: Bad mode for %s: 0%o\n", $0, $user,
82 printf STDERR ("%s: Bad link count for %s: %d\n", $0, $user,
90 unlink($user) || warn "$0: Can't unlink $user: $!\n";
[all …]
/openbsd-src/regress/usr.sbin/snmpd/
H A Dsnmpd.conf17 user noauthpriv
18 user auth_md5 authkey testpass auth hmac-md5
19 user auth_sha1 authkey testpass auth hmac-sha1
20 user auth_sha224 authkey testpass auth hmac-sha224
21 user auth_sha256 authkey testpass auth hmac-sha256
22 user auth_sha384 authkey testpass auth hmac-sha384
23 user auth_sha512 authkey testpass auth hmac-sha512
24 user authpriv_md5_des authkey testpass auth hmac-md5 enckey testpass enc des
25 user authpriv_md5_aes authkey testpass auth hmac-md5 enckey testpass enc aes
26 user authpriv_sha1_des authkey testpass auth hmac-sha1 enckey testpass enc des
[all …]
/openbsd-src/gnu/gcc/gcc/
H A Dbt-load.c345 btr_user user = NULL; in new_btr_user() local
359 user = obstack_alloc (&migrate_btrl_obstack, sizeof (struct btr_user_s)); in new_btr_user()
360 user->bb = bb; in new_btr_user()
361 user->luid = insn_luid; in new_btr_user()
362 user->insn = insn; in new_btr_user()
363 user->use = use; in new_btr_user()
364 user->other_use_this_block = 0; in new_btr_user()
365 user->next = NULL; in new_btr_user()
366 user->n_reaching_defs = 0; in new_btr_user()
367 user->first_reaching_def = -1; in new_btr_user()
[all …]
H A Dtimevar.c192 now->user = 0; in get_time()
204 now->user = tms.tms_utime * ticks_to_msec; in get_time()
210 now->user = rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec * 1e-6; in get_time()
214 now->user = clock () * clocks_to_msec; in get_time()
226 timer->user += stop_time->user - start_time->user; in timevar_accumulate()
429 if (tv->elapsed.user < tiny in timevar_print()
441 tv->elapsed.user, in timevar_print()
442 (total->user == 0 ? 0 : tv->elapsed.user / total->user) * 100); in timevar_print()
472 fprintf (fp, "%7.2f ", total->user); in timevar_print()
/openbsd-src/usr.sbin/user/
H A DMakefile3 PROG= user
4 SRCS= user.c main.c
9 LINKS+= ${BINDIR}/user ${BINDIR}/useradd
10 LINKS+= ${BINDIR}/user ${BINDIR}/userdel
11 LINKS+= ${BINDIR}/user ${BINDIR}/usermod
12 LINKS+= ${BINDIR}/user ${BINDIR}/group
13 LINKS+= ${BINDIR}/user ${BINDIR}/groupadd
14 LINKS+= ${BINDIR}/user ${BINDIR}/groupdel
15 LINKS+= ${BINDIR}/user ${BINDIR}/groupmod
16 LINKS+= ${BINDIR}/user ${BINDIR}/userinfo
[all …]
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-h8500.c636 h8500_operand_info *user = operands + i; local
642 if (user->type == RNIND_D8 && user->reg == 6)
644 displacement = user->exp;
649 if (user->type == RNIND_D16)
651 displacement = user->exp;
652 rd = user->reg;
657 if (user->type == RNIND_D8)
659 displacement = user->exp;
660 rd = user->reg;
666 if (user->type == this_try->arg_type[i])
[all …]
H A Dtc-sh.c1542 sh_operand_info *user = operands + n; in get_specific() local
1548 if (user->type == A_DISP_PC_ABS) in get_specific()
1558 if (user->type != arg) in get_specific()
1563 if (user->type != A_REG_N || user->reg != 0) in get_specific()
1567 if (user->type != A_R0_GBR || user->reg != 0) in get_specific()
1571 if (user->type != F_REG_N || user->reg != 0) in get_specific()
1589 if (user->type != arg) in get_specific()
1591 reg_n = user->reg; in get_specific()
1594 if (user->type != D_REG_N && user->type != X_REG_N) in get_specific()
1596 reg_n = user->reg; in get_specific()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-sh.c1592 sh_operand_info *user = operands + n; in get_specific() local
1601 long val = user->immediate.X_add_number; in get_specific()
1628 if (user->type == A_DISP_PC_ABS) in get_specific()
1639 if (user->type != arg) in get_specific()
1644 if (user->type != A_REG_N || user->reg != 0) in get_specific()
1648 if (user->type != A_R0_GBR || user->reg != 0) in get_specific()
1652 if (user->type != F_REG_N || user->reg != 0) in get_specific()
1670 if (user->type != arg) in get_specific()
1672 reg_n = user->reg; in get_specific()
1675 if (user->type != D_REG_N && user->type != X_REG_N) in get_specific()
[all …]
/openbsd-src/usr.bin/finger/
H A Dfinger.c169 struct utmp user; in loginlist() local
176 while (fread((char *)&user, sizeof(user), 1, stdin) == 1) { in loginlist()
177 if (!user.ut_name[0]) in loginlist()
179 if ((pn = find_person(user.ut_name)) == NULL) { in loginlist()
180 bcopy(user.ut_name, name, UT_NAMESIZE); in loginlist()
185 enter_where(&user, pn); in loginlist()
198 struct utmp user; in userlist() local
269 while (fread((char *)&user, sizeof(user), 1, stdin) == 1) { in userlist()
270 if (!user.ut_name[0]) in userlist()
272 if ((pn = find_person(user.ut_name)) == NULL) in userlist()
[all …]
/openbsd-src/usr.sbin/smtpd/
H A Dlka_session.c105 fwreq->user); in lka_session_forward_reply()
113 "for user %s on forward-only rule", fwreq->user); in lka_session_forward_reply()
118 "for user %s and no default action on rule", fwreq->user); in lka_session_forward_reply()
123 "user %s, just deliver", fwreq->user); in lka_session_forward_reply()
138 "forward error for user %s", fwreq->user); in lka_session_forward_reply()
144 "for user %s on forward-only rule", fwreq->user); in lka_session_forward_reply()
149 "for user %s and no default action on rule", fwreq->user); in lka_session_forward_reply()
154 "for user %s, just deliver", fwreq->user); in lka_session_forward_reply()
272 xn->u.mailaddr.user, xn->u.mailaddr.domain, xn->depth); in lka_expand()
282 ep.sender.user[0] == '\0' && in lka_expand()
[all …]
H A Daliases.c86 char user[LINE_MAX]; in aliases_virtual_get() local
98 if (!bsnprintf(user, sizeof(user), "%s", maddr->user)) in aliases_virtual_get()
102 xlowercase(user, user, sizeof(user)); in aliases_virtual_get()
106 pbuf = strchr(user, *env->sc_subaddressing_delim); in aliases_virtual_get()
117 user, *env->sc_subaddressing_delim, tag, domain)) in aliases_virtual_get()
127 if (!bsnprintf(buf, sizeof(buf), "%s@%s", user, domain)) in aliases_virtual_get()
138 user, *env->sc_subaddressing_delim, tag)) in aliases_virtual_get()
148 if (!bsnprintf(buf, sizeof(buf), "%s", user)) in aliases_virtual_get()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/jupyter/tablegen_kernel/
H A Dinstall.py10 def install_my_kernel_spec(user=True, prefix=None): argument
15 os.path.join(pkgroot, "assets"), "tablegen", user=user, prefix=prefix
43 user = args.user or not _is_root()
46 install_my_kernel_spec(user=user, prefix=prefix)
/openbsd-src/usr.sbin/chroot/
H A Dchroot.c56 char *user, *group, *grouplist; in main() local
64 user = grouplist = NULL; in main()
68 user = optarg; in main()
69 if (*user == '\0') in main()
87 if (user != NULL) { in main()
88 if ((pwd = getpwnam(user)) == NULL) in main()
89 errx(1, "no such user `%s'", user); in main()
91 err(1, "unable to get login class for `%s'", user); in main()
/openbsd-src/usr.sbin/radiusd/
H A Dradiusd_bsdauth.c134 char *user, *pass; in main()
151 user = (char *)(args + 1); in main()
152 user[args->userlen - 1] = '\0'; in main()
153 pass = user + args->userlen; in main()
156 if (auth_userokay(user, NULL, NULL, pass)) in main()
168 char *user, *group; in main()
188 user = (char *)(args + 1); in main()
189 user[args->userlen - 1] = '\0'; in main()
190 group = user + args->userlen; in main()
193 user[strcsp in main()
133 char *user, *pass; main() local
167 char *user, *group; main() local
320 module_bsdauth_userpass(void * ctx,u_int q_id,const char * user,const char * pass) module_bsdauth_userpass() argument
[all...]
/openbsd-src/lib/libfido2/src/
H A Dtouch.c19 fido_user_t user; in fido_dev_get_touch_begin() local
27 memset(&user, 0, sizeof(user)); in fido_dev_get_touch_begin()
38 (user.name = strdup(FIDO_DUMMY_USER_NAME)) == NULL) { in fido_dev_get_touch_begin()
43 if (fido_blob_set(&user.id, &user_id, sizeof(user_id)) < 0) { in fido_dev_get_touch_begin()
50 (argv[2] = cbor_encode_user_entity(&user)) == NULL || in fido_dev_get_touch_begin()
76 free(user.name); in fido_dev_get_touch_begin()
77 free(user.id.ptr); in fido_dev_get_touch_begin()
/openbsd-src/usr.bin/ssh/
H A Dauth-rhosts.c84 char *host, *user, *cp; in check_rhosts_file() local
124 user = userbuf; in check_rhosts_file()
134 if (user[0] == '-') { in check_rhosts_file()
136 user++; in check_rhosts_file()
137 } else if (user[0] == '+') in check_rhosts_file()
138 user++; in check_rhosts_file()
141 if (!host[0] || !user[0]) { in check_rhosts_file()
157 if (user[0] == '@') { in check_rhosts_file()
158 if (!innetgr(user + 1, NULL, client_user, NULL)) in check_rhosts_file()
160 } else if (strcmp(user, client_user) != 0) in check_rhosts_file()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dtimevar.c186 now->user = 0;
197 now->user = tms.tms_utime * ticks_to_msec;
203 now->user = rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec * 1e-6;
207 now->user = clock () * clocks_to_msec;
220 timer->user += stop_time->user - start_time->user;
470 if (tv->elapsed.user < tiny
481 tv->elapsed.user,
482 (total->user == 0 ? 0 : tv->elapsed.user / total->user) * 100);
505 fprintf (fp, "%7.2f ", total->user);
526 return total_elapsed.user + total_elapsed.sys; in get_run_time()
/openbsd-src/usr.sbin/npppd/npppd/
H A Dnpppd_auth.c249 npppd_auth_user *user; in npppd_auth_get_user_password() local
254 user = NULL; in npppd_auth_get_user_password()
260 if ((user = npppd_auth_get_user(base, username)) == NULL) { in npppd_auth_get_user_password()
272 lpassword = strlen(user->password) + 1; in npppd_auth_get_user_password()
283 strlcpy(password, user->password, sz); in npppd_auth_get_user_password()
285 free(user); in npppd_auth_get_user_password()
308 npppd_auth_user *user; in npppd_auth_get_framed_ip() local
315 if ((user = npppd_auth_get_user(base, username)) == NULL) in npppd_auth_get_framed_ip()
318 if (user->framed_ip_address.s_addr != 0) { in npppd_auth_get_framed_ip()
319 *ip4address = user->framed_ip_address; in npppd_auth_get_framed_ip()
[all …]
/openbsd-src/usr.sbin/amd/amd/
H A Dinfo_passwd.c90 char *user, *p, *q; in passwd_search() local
96 user = strrchr(dir, '/'); in passwd_search()
97 if (!user) in passwd_search()
99 *user++ = '\0'; in passwd_search()
127 if (*rhost == '\0' || *user == '\0' || *dir == '\0') in passwd_search()
137 dir, rhost, rhost, user, pw->pw_dir); in passwd_search()
/openbsd-src/usr.bin/from/
H A Dfrom.c45 char *mail_spool(char *file, const char *user);
114 mail_spool(char *file, const char *user) in mail_spool() argument
126 if (user == NULL) { in mail_spool()
128 if ((user = getenv("LOGNAME")) == NULL && in mail_spool()
129 (user = getenv("USER")) == NULL) { in mail_spool()
133 user = pwd->pw_name; in mail_spool()
138 if (asprintf(&file, "%s/%s", _PATH_MAILDIR, user) == -1) in mail_spool()
/openbsd-src/usr.sbin/cron/
H A Dfuncs.h26 job_add(entry *, user *),
27 job_remove(entry *, user *),
29 free_user(user *),
37 pid_t do_command(entry *, user *);
54 user *load_user(FILE *, struct passwd *, const char *),
/openbsd-src/gnu/usr.bin/perl/cpan/libnet/lib/Net/
H A DPOP3.pm128 my ($me, $user, $pass) = @_;
131 ($user, $pass) = $me->_lookup_credentials($user);
134 $me->user($user)
151 my ($me, $user, $pass) = @_;
170 ($user, $pass) = $me->_lookup_credentials($user);
176 unless ($me->_APOP($user, $md->hexdigest));
182 sub user { subroutine
332 my ($me, $user) = @_;
336 $user ||= eval { local $SIG{__DIE__}; (getpwuid($>))[0] }
341 my $m = Net::Netrc->lookup(${*$me}{'net_pop3_host'}, $user);
[all …]

12345678910>>...67