Home
last modified time | relevance | path

Searched refs:prog_name (Results 1 – 8 of 8) sorted by relevance

/freebsd/crypto/krb5/src/clients/ksu/
H A Dmain.c37 char * prog_name; variable
73 "[-e command [args... ] ] [-a [args... ] ]\n"), prog_name); in usage()
145 prog_name = argv[0]; in main()
146 if (strlen (prog_name) > 50) { in main()
148 com_err(prog_name, 0, in main()
160 openlog(prog_name, LOG_PID|LOG_NDELAY); in main()
162 openlog(prog_name, LOG_PID | LOG_NDELAY, LOG_AUTH); in main()
175 com_err(prog_name, errno, _("while allocating memory")); in main()
188 com_err (prog_name, errno, _("while setting euid to source user")); in main()
211 com_err(prog_name, retval, _("when gathering parameters")); in main()
[all …]
H A Dkrb_auth_su.c51 com_err(prog_name, retval, _("while copying client principal")); in krb5_auth_check()
56 com_err(prog_name, retval, _("while copying client principal")); in krb5_auth_check()
63 com_err(prog_name, retval, _("while creating tgt for local realm")); in krb5_auth_check()
77 com_err(prog_name, retval, _("while retrieving creds from cache")); in krb5_auth_check()
126 com_err(prog_name, retval, _("while verifying ticket for server")); in krb5_auth_check()
157 com_err (prog_name, code, _("when unparsing name")); in ksu_get_tgt_via_passwd()
164 com_err(prog_name, code, _("while getting time of day")); in ksu_get_tgt_via_passwd()
181 com_err(prog_name, code, _("while reading password for '%s'\n"), in ksu_get_tgt_via_passwd()
200 fprintf(stderr, _("%s: Password incorrect\n"), prog_name); in ksu_get_tgt_via_passwd()
202 com_err(prog_name, code, _("while getting initial credentials")); in ksu_get_tgt_via_passwd()
H A Dxmalloc.c34 perror (prog_name); in xmalloc()
44 perror (prog_name); in xrealloc()
54 perror (prog_name); in xcalloc()
75 perror (prog_name); in xasprintf()
H A Dccache.c326 com_err(prog_name, retval, _("while unparsing client name")); in show_credential()
331 com_err(prog_name, retval, _("while unparsing server name")); in show_credential()
336 com_err(prog_name, retval, _("while retrieving principal name")); in show_credential()
340 com_err(prog_name, retval, _("while unparsing principal name")); in show_credential()
H A Dksu.h64 extern char * prog_name;
H A Dauthorization.c503 perror(prog_name); in find_first_cmd_that_exists()
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibdiag_common.c79 static const char *prog_name; variable
151 prog_name, file, orig_buf); in read_ibdiag_config()
189 fprintf(stderr, "\nUsage: %s [options] %s\n\n", prog_name, in ibdiag_show_usage()
214 fprintf(stderr, " %s %s\n", prog_name, *p); in ibdiag_show_usage()
235 fprintf(stderr, "%s %s\n", prog_name, get_build_version()); in process_opt()
392 prog_name = argv[0]; in ibdiag_process_opts()
438 prog_name ? prog_name : "", getpid(), fn, buf); in ibexit()
441 prog_name ? prog_name : "", buf); in ibexit()
/freebsd/crypto/libecc/src/tests/
H A Dec_utils.c1577 static void print_help(const char *prog_name) in print_help() argument
1579 printf("%s expects at least one argument\n", prog_name ? prog_name : "NULL"); in print_help()