/illumos-gate/usr/src/test/util-tests/tests/dladm/ |
H A D | allowed-ips.ksh | 21 function fatal function 31 dladm create-etherstub $ai_stub || fatal "failed to create etherstub" 32 dladm create-vnic -l $ai_stub $ai_vnic || fatal "failed to create vnic" 37 dladm delete-vnic $ai_vnic || fatal "failed to remove vnic" 38 dladm delete-etherstub $ai_stub || fatal "failed to remove etherstub" 48 runtest $* || fatal "allowed-ips=$* failed, expected success\n" 53 runtest $* && fatal "allowed-ips=$* succeeded, expected failure\n"
|
/illumos-gate/usr/src/test/net-tests/tests/ipv6/ |
H A D | link-local.ksh | 29 function fatal { function 45 [[ -n "$zid" ]] || fatal "Cannot determine zone ID" 49 fatal "Could not create simnet $SIMNET" 52 fatal "Could not create vnic $IF" 56 pgrep -x -z$zid in.ndpd || fatal "Could not find in.ndpd process" 70 fatal "$IF IPv6 interface exists" 73 | egrep -s "$IF" && fatal "$IF exists in ndpd state after restart"
|
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 185 fatal(const char *fmt, ...) in fatal() function 268 fatal("failed to write to %s", in oprintf() 309 fatal("failed to open %s", fname); in dof_prune() 314 fatal("failed to fstat %s", fname); in dof_prune() 320 fatal("failed to read %s", fname); in dof_prune() 350 fatal("failed to write to %s", fname); in dof_prune() 370 fatal("failed to write to %s", fname); in dof_prune() 387 fatal("failed to open %s", fname); in etcsystem_prune() 390 fatal("failed to fstat %s", fname); in etcsystem_prune() 396 fatal("failed to read %s", fname); in etcsystem_prune() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/ |
H A D | chat.c | 251 fatal(2, "memory error!"); 410 fatal(1, "%s -- open failed: %m", chat_file); 562 fatal(2, "SIGINT"); 568 fatal(2, "SIGTERM"); 574 fatal(2, "SIGHUP"); 595 fatal(2, "Can't get terminal parameters: %m"); in set_tty_parameters() 1041 fatal(2, "Too many ABORT strings"); 1092 fatal(2, "Too many REPORT strings"); 1167 fatal(1, "%s -- open failed: %m", fn); 1171 fatal(1, "%s -- read error", fn); [all …]
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | modunload.c | 41 extern void fatal(char *fmt, ...); 64 fatal("Invalid id %s\n", optarg); in main() 72 fatal("modunload can only be run from the global zone\n"); in main() 96 fatal("Insufficient privileges to unload a module\n"); in main() 132 fatal("usage: modunload -i <module_id> [-e <exec_file>]\n"); in usage()
|
H A D | modload.c | 42 extern void fatal(char *fmt, ...); 78 fatal("modload can only be run from the global zone\n"); in main() 89 fatal("Can't get current directory\n"); in main() 100 fatal("Insufficient privileges to load a module\n"); in main() 178 fatal("usage: modload [-p] [-e <exec_file>] <filename>\n"); in l_usage()
|
/illumos-gate/usr/src/cmd/zhack/ |
H A D | zhack.c | 86 fatal(spa_t *spa, void *tag, const char *fmt, ...) in fatal() function 140 fatal(NULL, FTAG, "cannot import '%s'", target); in zhack_import() 157 fatal(NULL, FTAG, "can't import '%s': %s", target, in zhack_import() 173 fatal(*spa, FTAG, "cannot open '%s': %s", target, in zhack_spa_open() 176 fatal(*spa, FTAG, "'%s' has version %d, features not enabled", in zhack_spa_open() 313 fatal(NULL, FTAG, "invalid feature guid: %s", feature.fi_guid); in zhack_do_feature_enable() 319 fatal(spa, FTAG, "'%s' is a real feature, will not enable"); in zhack_do_feature_enable() 321 fatal(spa, FTAG, "feature already enabled: %s", in zhack_do_feature_enable() 412 fatal(spa, FTAG, in zhack_do_feature_ref() 430 fatal(spa, FTAG, "feature refcount already 0: %s", in zhack_do_feature_ref() [all …]
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttymon.c | 183 fatal("ulimit(4,0L) failed: %s", strerror(errno)); in initialize() 186 fatal("getrlimit failed: %s", strerror(errno)); in initialize() 190 fatal("setrlimit failed: %s", strerror(errno)); in initialize() 214 fatal("malloc for Pollp failed"); in initialize() 218 fatal("check /etc/ttydefs version failed"); in initialize() 381 fatal("open (%s) failed: %s", pmptr->p_device, in open_device() 717 fatal("pipe() failed: %s", strerror(errno)); in setup_PCpipe() 721 fatal("F_SETFD fcntl failed: %s", strerror(errno)); in setup_PCpipe() 724 fatal("F_SETFD fcntl failed: %s", strerror(errno)); in setup_PCpipe() 728 fatal("F_GETFL failed: %s", strerror(errno)); in setup_PCpipe() [all …]
|
H A D | tmlog.c | 198 fatal(const char *fmt, ...) in fatal() function 230 fatal("open debug file failed"); in opendebug() 233 fatal("open %s failed: %s", EX_DBG, errno); in opendebug() 239 fatal("F_DUPFD fcntl failed: %s", in opendebug() 244 fatal("fdopen failed: %s", strerror(errno)); in opendebug() 251 fatal("F_SETFD fcntl failed: %s", strerror(errno)); in opendebug()
|
H A D | tmhandler.c | 110 fatal("tmchild for <%s> returns unexpected", pmptr->p_device); in fork_tmchild() 225 fatal("do_poll: poll failed: %s", strerror(errno)); in do_poll() 242 fatal("ttymon[%d]: do_poll: POLLERR on fd %d", in do_poll() 318 fatal("caught SIGTERM"); in sigterm() 392 fatal("malloc for Pollp failed"); in re_read() 481 fatal("read PCpipe failed: %s", strerror(errno)); in read_pid() 486 fatal("read return size incorrect, ret = %d", ret); in read_pid() 511 fatal("sigpoll_catch: poll failed: %s", strerror(errno)); in sigpoll_catch()
|
/illumos-gate/usr/src/test/nvme-tests/cmd/ |
H A D | non-destructive.ksh | 36 function fatal function 54 fatal "failed to find device $nd_device" 58 fatal "failed to find namespace 1 on $nd_device" 77 fatal "missing required device name"
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | psignal.ksh | 30 function fatal function 42 $prog >/dev/null 2>$outfile || fatal "$prog unexpectedly failed" 43 diff $ps_out $outfile || fatal "$ps_out and $outfile differ " \ 55 [[ $? -ne 0 ]] && fatal "failed to set up output file"
|
/illumos-gate/usr/src/cmd/mkpwdict/ |
H A D | mkpwdict.c | 41 fatal(char *msg) in fatal() function 93 fatal(strerror(errno)); in main() 98 fatal(strerror(errno)); in main() 122 fatal(gettext("No source databases defined")); in main() 134 fatal(strerror(errno)); in main()
|
/illumos-gate/usr/src/cmd/scsi/sestopo/common/ |
H A D | sestopo.c | 32 static void fatal(int, const char *, ...) __NORETURN; 35 fatal(int err, const char *fmt, ...) in fatal() function 83 fatal(1, "Usage: %s <device>", argv[0]); in main() 86 fatal(-1, "failed to open %s: %s", argv[1], ses_errmsg()); in main()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/ |
H A D | tunefs.c | 88 static void fatal(); 219 fatal("%s: not a block or character device", special); in main() 231 fatal("%s: %s must be >= 1", *argv, name); in main() 234 fatal("%s: %s must be >= 1", *argv, name); in main() 248 fatal("%s: %s must be >= 1", *argv, name); in main() 251 fatal("%s: %s must be >= 1", *argv, name); in main() 260 fatal("%s: bad %s", *argv, name); in main() 263 fatal("%s: bad %s", *argv, name); in main() 279 fatal("%s: bad %s (options are `space' or `time')", in main() 431 fatal(char *fmt, char *arg1, char *arg2) in fatal() function
|
/illumos-gate/usr/src/lib/brand/solaris10/zone/ |
H A D | attach.ksh | 97 fatal "$incompat_options" "$m_usage" 104 fatal "$incompat_options" "$m_usage" 116 fatal "$incompat_options" "$m_usage" 130 fatal "$m_usage" 142 fatal "$f_n_unimpl" 206 fatal "$e_tmpfile"
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/badioctl/ |
H A D | badioctl.c | 41 fatal(char *fmt, ...) in fatal() function 65 fatal("couldn't open /dev/random"); in badioctl() 69 fatal("mmap"); in badioctl() 92 fatal("couldn't open DTrace pseudo device"); in badioctl()
|
/illumos-gate/usr/src/cmd/print/selector/ |
H A D | print-service | 65 sub fatal { subroutine 130 fatal("failed to detect active print service: $!\n"); 134 fatal("print service: $service is not installed\n"); 144 fatal("$command is not available from $service print service\n"); 224 fatal("print service: $service is not installed\n"); 265 fatal("failed to detect active print service: $!\n");
|
/illumos-gate/usr/src/test/util-tests/tests/sed/ |
H A D | sed_addr.ksh | 16 function fatal { function 42 [[ -n "$tf" && -f "$tf" ]] || fatal "Could not create temp file $f" 49 [[ $? -eq 0 && -s "$input1" ]] || fatal "Could not populate input1 file" 51 [[ $? -eq 0 && -s "$input2" ]] || fatal "Could not populate input2 file"
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regsubexec.c | 156 return fatal(p->env->disc, REG_BADPAT, NiL); in regsubexec() 165 PUTS(p, b, s, match->rm_eo, return fatal(p->env->disc, c, NiL)); in regsubexec() 168 PUTS(p, b, s, match->rm_so, return fatal(p->env->disc, c, NiL)); in regsubexec() 170 return fatal(p->env->disc, c, NiL); in regsubexec() 178 return fatal(p->env->disc, c, NiL); in regsubexec() 190 PUTC(p, b, c, return fatal(p->env->disc, c, NiL)); in regsubexec() 192 NEED(p, b, 1, return fatal(p->env->disc, c, NiL)); in regsubexec()
|
/illumos-gate/usr/src/cmd/kvmstat/ |
H A D | kvmstat.c | 65 fatal(char *fmt, ...) in fatal() function 95 fatal("could not find field '%s' in %s:%d\n", in kstat_field_hint() 133 fatal("failed to update kstat chain"); in kstat_instances_update() 167 fatal("could not allocate memory for stat instance"); in kstat_instances_update() 247 fatal("failed to read kstat %s:%d", in kstat_instances_read() 252 fatal("%s:%d is not a named kstat", ksi->ksi_name, in kstat_instances_read() 261 fatal("could not allocate memory"); in kstat_instances_read() 439 fatal("could not open /dev/kstat"); in main() 455 fatal("could not set timer to %d second%s", interval, in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndd.c | 50 static void fatal(char *fmt, ...); 290 fatal("operation failed: Permission denied"); in do_ipadm_getset() 324 fatal("operation failed: Permission denied"); in do_ipadm_getset() 337 fatal("operation failed: %s", ipadm_status2str(status)); in do_ipadm_getset() 401 fatal(usage_str); in main() 403 fatal(usage_str); in main() 416 fatal("open of %s failed: %s", cp, errmsg(errno)); in main() 418 fatal("%s is not a streams device", cp); in main() 430 fatal(usage_str); in main() 632 fatal(char *fmt, ...) in fatal() function
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | ar.cc | 227 fatal(gettext("Can't access archive `%s': %s"), in read_archive() 236 fatal(gettext("Can't access archive `%s': %s"), in read_archive() 338 fatal(gettext("`%s' is not an archive"), filename); in open_archive() 467 fatal( in read_archive_dir() 542 fatal(gettext("Read error in archive `%s': %s"), in read_archive_dir() 635 fatal(gettext("Cannot find symbol `%s' in archive `%s'"), in translate_entry() 730 fatal(gettext("Bad date field for member `%s' in archive `%s'"), in translate_entry() 765 fatal(gettext("Cannot find symbol `%s' in archive `%s'"), in translate_entry() 772 fatal(gettext("Read error in archive `%s': %s"), in translate_entry() 776 fatal(gettext("Read error in archive `%s': Premature EOF"), in translate_entry() [all …]
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 175 static void fatal() __NORETURN; /* Prints error message and calls exit */ 202 fatal("You must be root to run this program"); in main() 283 fatal("Malloc failed"); in main() 285 fatal("Malloc failed"); in main() 294 fatal("Out of File Descriptors"); in main() 297 fatal("getrlimit returned failure"); in main() 330 fatal("Too many resets, giving up"); in main() 406 fatal("poll"); in wait_for_pids() 914 fatal("Out of file descriptors"); in proc_to_fd() 916 fatal(procname); /* Only get here on error */ in proc_to_fd() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ndifm.c | 365 int status, fatal = 0, nonfatal = 0; in ndi_fmc_entry_error() local 414 ++fatal; in ndi_fmc_entry_error() 437 return (fatal ? DDI_FM_FATAL : nonfatal ? DDI_FM_NONFATAL : in ndi_fmc_entry_error() 466 int status, fatal = 0, nonfatal = 0; in ndi_fmc_error() local 494 ++fatal; in ndi_fmc_error() 507 ++fatal; in ndi_fmc_error() 514 if (fatal) in ndi_fmc_error() 607 int unknown = 0, fatal = 0, nonfatal = 0; in ndi_fm_handler_dispatch() local 625 ++fatal; in ndi_fm_handler_dispatch() 639 if (fatal) in ndi_fm_handler_dispatch()
|