Home
last modified time | relevance | path

Searched refs:fatal (Results 1 – 25 of 246) sorted by relevance

12345678910

/titanic_41/usr/src/test/util-tests/tests/dladm/
H A Dset-linkprop.ksh29 fatal() function
44 dladm delete-etherstub $vm_stub || fatal \
50 dladm create-etherstub $vm_stub || fatal \
59 dladm create-vnic $flags -l $vm_stub $dev 2>/dev/null || fatal \
67 dladm delete-vnic $dev || fatal "failed to delete vnic: $dev"
80 [[ -z "$dev" ]] && fatal "missing required device"
81 [[ -z "$prop" ]] && fatal "missing required prop"
82 [[ -z "$val" ]] && fatal "missing required val"
84 [[ $? -eq 0 ]] || fatal "failed to get $prop for $dev"
85 [[ "$val" == "$oval" ]] || fatal \
[all …]
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Duidswap.c86 fatal("malloc(gid array): %.100s", strerror(errno)); in temporarily_use_uid()
91 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
96 fatal("initgroups: %s: %.100s", pw->pw_name, in temporarily_use_uid()
100 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
104 fatal("setgroups: %.100s", strerror(errno)); in temporarily_use_uid()
122 fatal("setegid %u: %.100s", (u_int)pw->pw_uid, in temporarily_use_uid()
126 fatal("seteuid %u: %.100s", (u_int)pw->pw_uid, in temporarily_use_uid()
150 fatal("restore_uid: temporarily_use_uid not effective"); in restore_uid()
156 fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno)); in restore_uid()
158 fatal("setuid %u: %.100s", (u_int)saved_euid, strerror(errno)); in restore_uid()
[all …]
H A Dentropy.c76 fatal("Couldn't open /dev/null: %s", strerror(errno)); in seed_rng()
78 fatal("pipe: %s", strerror(errno)); in seed_rng()
82 fatal("Couldn't fork: %s", strerror(errno)); in seed_rng()
111 fatal("Couldn't read from ssh-rand-helper: %s", in seed_rng()
114 fatal("ssh-rand-helper child produced insufficient data"); in seed_rng()
119 fatal("Couldn't wait for ssh-rand-helper completion: %s", in seed_rng()
126 fatal("ssh-rand-helper terminated abnormally"); in seed_rng()
128 fatal("ssh-rand-helper exit with exit status %d", ret); in seed_rng()
135 fatal("PRNG is not seeded"); in seed_rng()
146 fatal("OpenSSL version mismatch. Built against %lx, you " in init_rng()
[all …]
H A Dxmalloc.c29 fatal("xmalloc: zero size"); in xmalloc()
32 fatal("xmalloc: out of memory (allocating %lu bytes)", (u_long) size); in xmalloc()
42 fatal("xcalloc: zero size"); in xcalloc()
44 fatal("xcalloc: nmemb * size > SIZE_T_MAX"); in xcalloc()
47 fatal("xcalloc: out of memory (allocating %lu bytes)", in xcalloc()
58 fatal("xrealloc: zero size"); in xrealloc()
64 fatal("xrealloc: out of memory (new_size %lu bytes)", (u_long) new_size); in xrealloc()
72 fatal("xfree: NULL pointer given as argument"); in xfree()
H A Dkey.c66 fatal("key_new: RSA_new failed"); in key_new()
68 fatal("key_new: BN_new failed"); in key_new()
70 fatal("key_new: BN_new failed"); in key_new()
75 fatal("key_new: DSA_new failed"); in key_new()
77 fatal("key_new: BN_new failed"); in key_new()
79 fatal("key_new: BN_new failed"); in key_new()
81 fatal("key_new: BN_new failed"); in key_new()
83 fatal("key_new: BN_new failed"); in key_new()
89 fatal("key_new: bad key type %d", k->type); in key_new()
103 fatal("key_new_private: BN_new failed"); in key_new_private()
[all …]
H A Ddh.c82 fatal("parse_prime: BN_new failed"); in parse_prime()
84 fatal("parse_prime: BN_new failed"); in parse_prime()
163 fatal("WARNING: line %d disappeared in %s, giving up", in choose_dh()
200 fatal("dh_gen_key: dh->p == NULL"); in dh_gen_key()
202 fatal("dh_gen_key: group too small: %d (2*need %d)", in dh_gen_key()
208 fatal("dh_gen_key: BN_new failed"); in dh_gen_key()
211 fatal("dh_gen_key: BN_rand failed"); in dh_gen_key()
213 fatal("dh_gen_key: DH_generate_key() failed"); in dh_gen_key()
220 fatal("dh_gen_key: too many bad keys: giving up"); in dh_gen_key()
230 fatal("dh_new_group_asc: DH_new"); in dh_new_group_asc()
[all …]
H A Dreadconf.c242 fatal("Privileged ports can only be forwarded by root."); in add_local_forward()
245 fatal("Too many local forwards (max %d).", SSH_MAX_FORWARDS_PER_DIRECTION); in add_local_forward()
265 fatal("Too many remote forwards (max %d).", in add_remote_forward()
352 fatal("too many unknown options found, can't continue"); in process_config_line()
369 fatal("%s line %d: missing time value.", in process_config_line()
372 fatal("%s line %d: invalid time value.", in process_config_line()
383 fatal("%.200s line %d: Missing yes/no argument.", filename, linenum); in process_config_line()
390 fatal("%.200s line %d: Bad yes/no argument.", filename, linenum); in process_config_line()
502 fatal("%.200s line %d: Missing yes/no/ask argument.", in process_config_line()
512 fatal("%.200s line %d: Bad yes/no/ask argument.", filename, linenum); in process_config_line()
[all …]
H A Dkexgexc.c86 fatal("BN_new"); in kexgex_client()
89 fatal("BN_new"); in kexgex_client()
94 fatal("DH_GEX group out of range: %d !< %d !< %d", in kexgex_client()
120 fatal("cannot decode server_host_key_blob"); in kexgex_client()
122 fatal("type mismatch for decoded server_host_key_blob"); in kexgex_client()
124 fatal("cannot verify server_host_key"); in kexgex_client()
126 fatal("server_host_key verification failed"); in kexgex_client()
130 fatal("dh_server_pub == NULL"); in kexgex_client()
154 fatal("kexgex_client: BN_new failed"); in kexgex_client()
181 fatal("key_verify failed for server_host_key"); in kexgex_client()
/titanic_41/usr/src/cmd/intrstat/
H A Dintrstat.c96 fatal(const char *fmt, ...) in fatal() function
234 fatal("cannot specify both a processor set and a processor\n"); in select_cpu()
237 fatal("cpu %d out of range\n", cpu); in select_cpu()
241 fatal("could not get status for cpu %d", cpu); in select_cpu()
242 fatal("cpu %d not present\n", cpu); in select_cpu()
252 fatal("cannot specify both a processor set and processors\n"); in select_cpus()
255 fatal("invalid cpu '%d'\n", low); in select_cpus()
258 fatal("invalid cpu '%d'\n", high); in select_cpus()
261 fatal("invalid range '%d' to '%d'\n", low, high); in select_cpus()
275 fatal("processor set %d is out of range\n", pset); in select_pset()
[all …]
/titanic_41/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c140 fatal(char *fmt, ...) in fatal() function
232 fatal("could not allocate g_selected"); in setup()
238 fatal("could not allocate g_pset_cpus"); in setup()
243 fatal("getpagesizes()"); in setup()
246 fatal("could not allocate g_pgsize array"); in setup()
249 fatal("getpagesizes(%d)", g_pgsizes); in setup()
252 fatal("could not allocate g_pgnames"); in setup()
259 fatal("could not allocate g_pgnames[%d]", i); in setup()
272 fatal("could not allocate data buffer 0"); in setup()
275 fatal("could not allocate data buffer 1"); in setup()
[all …]
/titanic_41/usr/src/cmd/mdb/test/
H A Dmtest.sh50 function fatal function
61 mkdir -p $mt_outdir || fatal "failed to make output dir $mt_outdir"
74 [[ -z "$ext" ]] && fatal "found test without ext: $name"
75 [[ -z "$expect" ]] && fatal "found test without prefix: $name"
98 mkdir -p "$odir" >/dev/null || fatal "can't make output directory"
119 mv "$odir" "$mt_outdir/failure.$mt_tfail" || fatal \
121 cp "$name" "$mt_outdir/failure.$mt_tfail/test" || fatal \
126 mv "$odir" "$mt_outdir/success.$mt_tsuc" || fatal \
155 rm -rf "$mt_outdir"/success.* || fatal \
158 rmdir "$mt_outdir" || fatal \
[all …]
/titanic_41/usr/src/cmd/csplit/
H A Dcsplit.c74 #define PERROR(x) fatal("%s: Illegal Regular Expression\n", targ);
78 static void fatal(char *, char *);
115 fatal("-n num\n", NULL); in main()
158 fatal("Cannot open %s\n", *argv); in main()
261 fatal(char *string, char *arg) in fatal() function
367 fatal("Suffix longer than %ld chars; increase -n\n", in getfile()
376 fatal("Name too long: %s\n", file); in getfile()
388 fatal("Name too long: %s\n", delim + 1); in getfile()
396 fatal("Cannot create %s\n", tfile); in getfile()
434 fatal("%s: bad line number\n", line); in line_arg()
[all …]
/titanic_41/usr/src/cmd/avs/errgen/
H A Derrgen.c97 fatal(char *msg) in fatal() function
179 fatal(""); in do_line()
190 fatal("Too many %%s specifiers"); in do_line()
203 fatal("ERRGEN: cannot have %%s and @@ ending too"); in do_line()
262 fatal("Bad number of arguments"); in main()
291 fatal("Unknown option switch"); in main()
317 fatal("Undefined module name"); in main()
326 fatal("errgen file empty"); in main()
339 fatal(""); in main()
345 fatal(""); in main()
[all …]
/titanic_41/usr/src/cmd/bdiff/
H A Dbdiff.c79 static void fatal(char *);
109 fatal("arg count"); in main()
112 fatal("both files standard input"); in main()
119 fatal(Error); in main()
127 fatal(Error); in main()
137 fatal("non-numeric limit"); in main()
155 fatal("Out of memory"); in main()
242 fatal("Can not write to temporary file"); in main()
259 fatal("Can not write to temporary file"); in main()
268 fatal("Can not create pipe"); in main()
[all …]
/titanic_41/usr/src/ucbcmd/chown/
H A Dchown.c63 void fatal(int, char *, char *);
92 fatal(255, "unknown option: %s", optchar); in main()
106 fatal(255, "unknown group: %s", group); in main()
114 fatal(2, in main()
117 fatal(2, "group id invalid: %s", group); in main()
124 fatal(255, "unknown user id: %s", argv[0]); in main()
131 fatal(2, "user id too large: %s", argv[0]); in main()
133 fatal(2, "user id invalid: %s", argv[0]); in main()
176 fatal(255, "%s", savedir); in chownr()
212 fatal(255, "can't change back to %s", savedir); in chownr()
[all …]
/titanic_41/usr/src/cmd/sed/
H A Dcompile.c164 fatal(_("unexpected EOF (pending }'s)")); in compile_stream()
208 fatal(_("command expected")); in compile_stream()
214 fatal(_("invalid command code %c"), *p); in compile_stream()
216 fatal(_("command %c expects up to %d address(es), " in compile_stream()
240 fatal(_("unexpected }")); in compile_stream()
254 fatal(_("extra characters at the end of %c " in compile_stream()
261 fatal(_("command %c expects \\ " in compile_stream()
266 fatal(_("extra characters after \\ " in compile_stream()
277 fatal(_("filename expected")); in compile_stream()
289 fatal(_("filename expected")); in compile_stream()
[all …]
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dservconf.c587 fatal("bad addr or host: %s (%s)", in add_one_listen_addr()
761 fatal("%s line %d: Directive '%s' is not allowed " in process_server_config_line()
787 fatal("%s line %d: ports must be specified before " in process_server_config_line()
790 fatal("%s line %d: too many ports.", in process_server_config_line()
794 fatal("%s line %d: missing port number.", in process_server_config_line()
798 fatal("%s line %d: Badly formatted port number.", in process_server_config_line()
807 fatal("%s line %d: missing integer value.", in process_server_config_line()
819 fatal("%s line %d: missing time value.", in process_server_config_line()
822 fatal("%s line %d: invalid time value.", in process_server_config_line()
835 fatal("%s line %d: missing inet addr.", in process_server_config_line()
[all …]
H A Dauth-sia.c90 fatal("sia_ses_init failed"); in session_setup_sia()
95 fatal("getpwnam: no user: %s", user); in session_setup_sia()
99 fatal("sia_make_entity_pwd failed"); in session_setup_sia()
104 fatal("Couldn't establish session for %s from %s", user, in session_setup_sia()
110 fatal("setpriority: %s", strerror (errno)); in session_setup_sia()
114 fatal("Couldn't launch session for %s from %s", user, host); in session_setup_sia()
120 fatal("setreuid: %s", strerror(errno)); in session_setup_sia()
/titanic_41/usr/src/lib/brand/shared/zone/
H A Dcommon.ksh36 fatal() function
101 fatal "$e_baddir" "$dir"
113 fatal "$e_baddir" "$dir"
124 /usr/bin/cp -p $src $dst || fatal "$e_badfile" "$src"
135 /usr/bin/cp -p $src $dst || fatal "$e_badfile" "$src"
146 /usr/bin/mv $src $dst || fatal "$e_badfile" "$src"
613 fatal "$e_absolute_archive"
627 fatal "$e_mismatch_archive" "$base" "$bname"
775 fatal "$e_path_abs" "$insrc"
780 fatal "$e_install_abort"
[all …]
/titanic_41/usr/src/cmd/sgs/test/ld/assert-deflib/
H A Dtest-deflib.sh36 function fatal function
51 [[ -f $sh_path/$sh_lib/$sh_soname ]] || fatal "missing 32-bit $sh_soname"
53 fatal "missing 64-bit $sh_soname"
54 which $sh_cc >/dev/null || fatal "cc not in path"
72 fatal $4
77 [[ -z "$1" ]] && fatal "<proto root>"
/titanic_41/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c67 static void fatal(char *fmt, ...);
204 fatal(gettext( in main()
209 fatal(gettext( in main()
216 fatal(gettext("%s: bad maxcontig"), optarg); in main()
223 fatal(gettext( in main()
232 fatal(gettext("%s: bad total tracks"), optarg); in main()
241 fatal(gettext( in main()
249 fatal(gettext( in main()
256 fatal(gettext( in main()
266 fatal(gettext("%s: bad frag size"), optarg); in main()
[all …]
/titanic_41/usr/src/cmd/ssh/ssh-keysign/
H A Dssh-keysign.c190 fatal("Hostbased authentication not enabled in %s", in main()
194 fatal("could not open any host key"); in main()
197 fatal("getpwuid failed"); in main()
224 fatal("no hostkey found"); in main()
228 fatal("ssh_msg_recv failed"); in main()
230 fatal("bad version"); in main()
233 fatal("bad fd"); in main()
235 fatal("cannot get sockname for fd"); in main()
239 fatal("not a valid request"); in main()
251 fatal("no matching hostkey found"); in main()
[all …]
/titanic_41/usr/src/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c37 fatal(char *fmt, ...) in fatal() function
104 fatal("couldn't open DTrace pseudo device"); in corrupt()
164 fatal("expected D script as argument\n"); in main()
167 fatal("couldn't open %s", filename); in main()
173 fatal("cannot open dtrace library: %s\n", in main()
181 fatal("failed to compile script %s: %s\n", filename, in main()
189 fatal("could not allocate copy of %d bytes", len); in main()
199 fatal("couldn't open DTrace pseudo device"); in main()
/titanic_41/usr/src/cmd/scsi/smp/common/
H A Dsmp.c47 static void fatal(int, const char *, ...) __NORETURN;
58 fatal(int err, const char *fmt, ...) in fatal() function
174 fatal(-4, "exec failed: %s", smp_errmsg()); in smp_execute()
184 fatal(-5, "Command failed: Unknown result (0x%x)", in smp_cmd_failed()
187 fatal(-5, "Command failed: %s", smp_result_str); in smp_cmd_failed()
231 fatal(-6, "Expander does not support PHY-based route table\n"); in smp_handle_report_route_info()
245 fatal(-1, "Invalid route index (%d) or PHY ID (%d)\n", in smp_handle_report_route_info()
424 fatal(-1, "Usage: %s <device> <function> ...\n", argv[0]); in smp_validate_args()
429 fatal(-1, "Usage: %s <device> <function> ...\n", argv[0]); in smp_validate_args()
436 fatal(-1, in smp_validate_args()
[all …]
/titanic_41/usr/src/cmd/ttymon/
H A Dtmsac.c61 fatal("pid file is locked. ttymon may already be " in openpid()
67 fatal("open pid file failed: %s", strerror(errno)); in openpid()
70 fatal("lock pid file failed: %s", strerror(errno)); in openpid()
91 fatal("open sacpipe failed: %s", strerror(errno)); in openpipes()
95 fatal("open pmpipe failed: %s", strerror(errno)); in openpipes()
139 fatal("PMTAG is missing"); in get_environ()
142 fatal("ISTATE is missing"); in get_environ()
195 fatal("pmpipe read failed: %s", in sacpoll()

12345678910