Home
last modified time | relevance | path

Searched refs:strerror (Results 1 – 25 of 1838) sorted by relevance

12345678910>>...74

/external/openssh/openbsd-compat/
Dport-solaris.c55 "contract: %s", __func__, strerror(errno)); in get_active_process_contract_id()
60 "status: %s", __func__, strerror(errno)); in get_active_process_contract_id()
65 __func__, strerror(errno)); in get_active_process_contract_id()
80 CT_TEMPLATE, strerror(errno)); in solaris_contract_pre_fork()
90 "(pgrponly): %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
95 "fatal events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
100 "critical events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
105 "informative events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
112 "template: %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
133 "template: %s", __func__, strerror(errno)); in solaris_contract_post_fork_child()
[all …]
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c187 printf("BUG: %s\n", strerror(errno)); in main()
196 printf("BUG: %s\n", strerror(errno)); in main()
205 printf("BUG: %s\n", strerror(errno)); in main()
215 printf("BUG: %s\n", strerror(errno)); in main()
219 printf("BUG: %s\n", strerror(errno)); in main()
225 printf("BUG: %s\n", strerror(errno)); in main()
230 printf("BUG: %s\n", strerror(errno)); in main()
237 printf("BUG: %s\n", strerror(errno)); in main()
244 printf("OK: %s\n", strerror(errno)); in main()
249 printf("OK: %s\n", strerror(errno)); in main()
[all …]
/external/ltp/testcases/kernel/io/direct_io/
Ddiotest4.c105 strerror(errno)); in runtest_f()
113 msg, ret, strerror(errno)); in runtest_f()
120 strerror(errno)); in runtest_f()
128 msg, ret, strerror(errno)); in runtest_f()
145 strerror(errno)); in runtest_s()
150 msg, ret, strerror(errno)); in runtest_s()
156 strerror(errno)); in runtest_s()
161 msg, ret, strerror(errno)); in runtest_s()
222 filename, strerror(errno)); in main()
226 strerror(errno)); in main()
[all …]
Ddiotest5.c93 tst_resm(TFAIL, "valloc() buf1 failed: %s", strerror(errno)); in runtest()
98 tst_resm(TFAIL, "valloc buf2 failed: %s", strerror(errno)); in runtest()
104 strerror(errno)); in runtest()
112 strerror(errno)); in runtest()
124 strerror(errno)); in runtest()
128 tst_resm(TFAIL, "writev failed: %s", strerror(errno)); in runtest()
133 strerror(errno)); in runtest()
137 tst_resm(TFAIL, "readv failed: %s", strerror(errno)); in runtest()
219 filename, strerror(errno)); in main()
223 filename, strerror(errno)); in main()
[all …]
/external/ltp/testcases/kernel/fs/stream/
Dstream05.c79 strerror(errno)); in main()
87 strerror(errno)); in main()
93 strerror(errno)); in main()
112 strerror(errno)); in main()
138 strerror(errno)); in main()
143 strerror(errno)); in main()
150 strerror(errno)); in main()
166 tst_resm(TFAIL, "clearerr failed: %s", strerror(errno)); in main()
185 strerror(errno)); in main()
192 strerror(errno)); in main()
[all …]
/external/openssh/
Duidswap.c97 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
102 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
111 strerror(errno)); in temporarily_use_uid()
115 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
120 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
127 fatal("setgroups: %.100s", strerror(errno)); in temporarily_use_uid()
131 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno)); in temporarily_use_uid()
134 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno)); in temporarily_use_uid()
138 strerror(errno)); in temporarily_use_uid()
141 strerror(errno)); in temporarily_use_uid()
[all …]
Dsshpty.c72 error("openpty: %.100s", strerror(errno)); in pty_allocate()
100 error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno)); in pty_release()
102 error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno)); in pty_release()
115 error("setsid: %.100s", strerror(errno)); in pty_make_controlling_tty()
132 error("%.100s: %.100s", tty, strerror(errno)); in pty_make_controlling_tty()
146 error("setsid: %.100s", strerror(errno)); in pty_make_controlling_tty()
161 error("ioctl(TIOCSCTTY): %.100s", strerror(errno)); in pty_make_controlling_tty()
165 error("SETPGRP %s",strerror(errno)); in pty_make_controlling_tty()
169 error("%.100s: %.100s", tty, strerror(errno)); in pty_make_controlling_tty()
177 strerror(errno)); in pty_make_controlling_tty()
[all …]
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c66 strerror(errno)); in vmaybe_write_file()
77 filename, strerror(errno)); in vmaybe_write_file()
85 filename, strerror(errno)); in vmaybe_write_file()
90 filename, strerror(errno)); in vmaybe_write_file()
123 path, strerror(errno)); in read_mnt_flags()
163 strerror(errno)); in create_and_enter_userns()
172 strerror(errno)); in create_and_enter_userns()
176 strerror(errno)); in create_and_enter_userns()
189 strerror(errno)); in test_unpriv_remount()
197 strerror(errno)); in test_unpriv_remount()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D30-1.c126 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main()
143 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main()
160 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main()
179 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main()
196 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main()
/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c284 errno, strerror(errno)); in unwrite_dir_setup()
290 errno, strerror(errno)); in unwrite_dir_setup()
297 errno, strerror(errno)); in unwrite_dir_setup()
303 errno, strerror(errno)); in unwrite_dir_setup()
309 errno, strerror(errno)); in unwrite_dir_setup()
316 errno, strerror(errno)); in unwrite_dir_setup()
333 errno, strerror(errno)); in unsearch_dir_setup()
339 errno, strerror(errno)); in unsearch_dir_setup()
346 errno, strerror(errno)); in unsearch_dir_setup()
352 errno, strerror(errno)); in unsearch_dir_setup()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
D2-1.c46 printf(ERROR_PREFIX "pthread_getattr_np: %s", strerror(rc)); in thread_func()
50 printf(ERROR_PREFIX "pthread_attr_getstack: %s", strerror(rc)); in thread_func()
73 printf(ERROR_PREFIX "pthread_attr_init: %s", strerror(rc)); in main()
80 printf(ERROR_PREFIX "pthread_attr_getstack: %s", strerror(rc)); in main()
95 printf(ERROR_PREFIX "posix_memalign: %s\n", strerror(rc)); in main()
101 strerror(rc)); in main()
107 strerror(rc)); in main()
112 printf(ERROR_PREFIX "pthread_create: %s\n", strerror(rc)); in main()
117 printf(ERROR_PREFIX "pthread_join: %s\n", strerror(rc)); in main()
122 printf(ERROR_PREFIX "pthread_attr_destroy: %s\n", strerror(rc)); in main()
/external/libchrome/base/synchronization/
Dlock_impl_posix.cc20 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl()
22 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl()
24 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl()
26 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl()
35 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in ~LockImpl()
40 DCHECK(rv == 0 || rv == EBUSY) << ". " << strerror(rv); in Try()
46 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in Lock()
51 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in Unlock()
/external/libdaemon/libdaemon/
Ddfork.c125 daemon_log(LOG_ERR, "dup(): %s", strerror(errno)); in move_fd_up()
148 daemon_log(LOG_ERR, "sigemptyset() failed: %s", strerror(errno)); in daemon_fork()
153 daemon_log(LOG_ERR, "sigaddset() failed: %s", strerror(errno)); in daemon_fork()
158 daemon_log(LOG_ERR, "sigaction() failed: %s", strerror(errno)); in daemon_fork()
163 daemon_log(LOG_ERR, "sigprocmask() failed: %s", strerror(errno)); in daemon_fork()
173 daemon_log(LOG_ERR, "pipe() failed: %s", strerror(errno)); in daemon_fork()
184 daemon_log(LOG_ERR, "First fork() failed: %s", strerror(errno)); in daemon_fork()
206 daemon_log(LOG_ERR, "close() failed: %s", strerror(errno)); in daemon_fork()
220 daemon_log(LOG_ERR, "Failed to open /dev/null for STDIN: %s", strerror(errno)); in daemon_fork()
225 daemon_log(LOG_ERR, "Failed to open /dev/null for STDOUT: %s", strerror(errno)); in daemon_fork()
[all …]
/external/bison/m4/
Dstrerror.m41 # strerror.m4 serial 17
17 AC_CACHE_CHECK([for working strerror function],
23 [[if (!*strerror (-2)) return 1;]])],
37 dnl The system's strerror() fails to return a string for out-of-range
43 dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's
44 dnl buffer, we must replace strerror.
50 dnl The system's strerror() cannot know about the new errno values we add
51 dnl to <errno.h>, or any fix for strerror(0). Replace it.
56 dnl Detect if strerror(0) passes (that is, does not set errno, and does not
57 dnl return a string that matches strerror(-1)).
[all …]
/external/libdaemon/examples/
Dtestd.c45 daemon_log(LOG_ERR, "Failed to reset all signal handlers: %s", strerror(errno)); in main()
51 daemon_log(LOG_ERR, "Failed to unblock all signals: %s", strerror(errno)); in main()
66 daemon_log(LOG_WARNING, "Failed to kill daemon: %s", strerror(errno)); in main()
95 … daemon_log(LOG_ERR, "Could not recieve return value from daemon process: %s", strerror(errno)); in main()
108 daemon_log(LOG_ERR, "Failed to close all file descriptors: %s", strerror(errno)); in main()
117 daemon_log(LOG_ERR, "Could not create PID file (%s).", strerror(errno)); in main()
124 daemon_log(LOG_ERR, "Could not register signal handlers (%s).", strerror(errno)); in main()
152 daemon_log(LOG_ERR, "select(): %s", strerror(errno)); in main()
162 daemon_log(LOG_ERR, "daemon_signal_next() failed: %s", strerror(errno)); in main()
/external/selinux/policycoreutils/sestatus/
Dsestatus.c232 printf("unknown (%s)\n", strerror(errno)); in main()
249 printf("error (%s)\n", strerror(errno)); in main()
255 printf("malloc error (%s)\n", strerror(errno)); in main()
271 printf("error (%s)\n", strerror(errno)); in main()
284 printf("unknown (%s)\n", strerror(errno)); in main()
302 printf("error (%s)\n", strerror(errno)); in main()
315 printf("error (%s)\n", strerror(errno)); in main()
329 printf("error (%s)\n", strerror(errno)); in main()
343 printf("error (%s)\n", strerror(errno)); in main()
350 printf("unknown (%s)\n", strerror(errno)); in main()
[all …]
/external/ltp/testcases/kernel/syscalls/io_submit/
Dio_submit01.c70 act, strerror(-1 * act)); in check_result()
77 "returned value = %ld : %s", act, strerror(-1 * act)); in check_result()
84 act, strerror(-1 * act), exp, strerror(-1 * exp)); in check_result()
132 TEST_RETURN, strerror(-1 * TEST_RETURN)); in main()
138 TEST_RETURN, strerror(-1 * TEST_RETURN)); in main()
158 TEST_RETURN, strerror(-1 * TEST_RETURN)); in main()
163 TEST_RETURN, strerror(-1 * TEST_RETURN), in main()
164 -EFAULT, strerror(EFAULT), in main()
165 -EINVAL, strerror(EINVAL)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
D2-1.c45 printf(ERROR_PREFIX "pthread_getattr_np: %s\n", strerror(rc)); in thread_func()
50 strerror(rc)); in thread_func()
87 printf(ERROR_PREFIX "posix_memalign: %s", strerror(rc)); in main()
94 strerror(rc)); in main()
101 strerror(rc)); in main()
107 printf(ERROR_PREFIX "pthread_create: %s\n", strerror(rc)); in main()
113 printf(ERROR_PREFIX "pthread_join: %s\n", strerror(rc)); in main()
119 printf(ERROR_PREFIX "pthread_attr_destroy :%s\n", strerror(rc)); in main()
/external/ltp/testcases/kernel/pty/
Dhangup01.c164 printf("ptsname[child] failed: %s\n", strerror(errno)); in child()
168 printf("open[1] failed: %s\n", strerror(errno)); in child()
172 printf("write failed: %s\n", strerror(errno)); in child()
176 printf("close[1] failed: %s\n", strerror(errno)); in child()
180 printf("open[2] failed: %s\n", strerror(errno)); in child()
184 printf("write[2] failed: %s\n", strerror(errno)); in child()
188 printf("close[2] failed: %s\n", strerror(errno)); in child()
192 printf("open[3] failed: %s\n", strerror(errno)); in child()
196 printf("write[3] failed: %s\n", strerror(errno)); in child()
200 printf("close[3] failed: %s\n", strerror(errno)); in child()
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir05.c95 strerror(TEST_ERRNO)); in main()
101 strerror(TEST_ERRNO), EBUSY); in main()
132 strerror(TEST_ERRNO)); in main()
137 strerror(TEST_ERRNO), EFAULT); in main()
159 strerror(TEST_ERRNO)); in main()
164 strerror(TEST_ERRNO), EFAULT); in main()
180 dir_name, errno, strerror(errno)); in main()
188 dir_name, TEST_ERRNO, strerror(TEST_ERRNO)); in main()
/external/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod05.c125 fd, PERMS, TEST_ERRNO, strerror(TEST_ERRNO)); in main()
178 "Couldn't find uid of nobody: %s", strerror(errno)); in setup()
187 "Couldn't find gid of bin: %s", strerror(errno)); in setup()
201 strerror(errno)); in setup()
205 strerror(errno)); in setup()
210 strerror(errno)); in setup()
217 TESTDIR, errno, strerror(errno)); in setup()
236 TESTDIR, errno, strerror(errno)); in cleanup()
/external/libcups/cups/
Dtestfile.c293 printf("FAIL (%s)\n", strerror(errno)); in random_tests()
331 printf("FAIL (%d: %s)\n", record, strerror(errno)); in random_tests()
365 printf("FAIL (%s)\n", strerror(errno)); in random_tests()
407 printf("FAIL (%s)\n", strerror(errno)); in random_tests()
516 printf("FAIL (%s)\n", strerror(errno)); in read_write_tests()
534 printf("FAIL (%s)\n", strerror(errno)); in read_write_tests()
552 printf("FAIL (%s)\n", strerror(errno)); in read_write_tests()
570 printf("FAIL (%s)\n", strerror(errno)); in read_write_tests()
584 printf("FAIL (%s)\n", strerror(errno)); in read_write_tests()
612 printf("FAIL (%s)\n", strerror(errno)); in read_write_tests()
[all …]
/external/ltp/testcases/lib/
Dtst_rod.c96 argv[0], strerror(errno)); in main()
102 argv[0], stdin_path, strerror(errno)); in main()
110 argv[0], strerror(errno)); in main()
116 argv[0], stdin_path, strerror(errno)); in main()
127 argv[0], strerror(errno)); in main()
134 argv[0], stdin_path, strerror(errno)); in main()
140 argv[0], strerror(errno)); in main()
156 argv[0], strerror(errno)); in main()
/external/ltp/utils/sctp/testlib/
Dsctputil.h137 tst_brkm(TBROK, tst_exit, "socket: %s", strerror(errno)); in test_socket()
145 tst_brkm(TBROK, tst_exit, "bind: %s", strerror(errno)); in test_bind()
153 tst_brkm(TBROK, tst_exit, "bindx (add): %s", strerror(errno)); in test_bindx_add()
161 tst_brkm(TBROK, tst_exit, "listen: %s", strerror(errno)); in test_listen()
169 tst_brkm(TBROK, tst_exit, "connect: %s", strerror(errno)); in test_connect()
177 tst_brkm(TBROK, tst_exit, "connectx: %s", strerror(errno)); in test_connectx()
185 tst_brkm(TBROK, tst_exit, "accept: %s", strerror(errno)); in test_accept()
222 tst_brkm(TBROK, tst_exit, "recv: %s", strerror(errno)); in test_recv()
230 tst_brkm(TBROK, tst_exit, "recvmsg: %s", strerror(errno)); in test_recvmsg()
238 tst_brkm(TBROK, tst_exit, "shutdown: %s", strerror(errno)); in test_shutdown()
[all …]
/external/android-clat/
Dclatd.c82 logmsg(ANDROID_LOG_FATAL, "binding packet socket: %s", strerror(errno)); in configure_packet_socket()
110 logmsg(ANDROID_LOG_FATAL, "attach packet filter failed: %s", strerror(errno)); in configure_packet_socket()
145 logmsg(ANDROID_LOG_FATAL,"configure_tun_ip/if_address(4) failed: %s",strerror(-status)); in configure_tun_ip()
154 logmsg(ANDROID_LOG_FATAL,"configure_tun_ip/if_up(4) failed: %s",strerror(-status)); in configure_tun_ip()
165 logmsg(ANDROID_LOG_FATAL,"drop_root/setgroups failed: %s",strerror(errno)); in drop_root()
172 logmsg(ANDROID_LOG_FATAL,"drop_root/setgid failed: %s",strerror(errno)); in drop_root()
176 logmsg(ANDROID_LOG_FATAL,"drop_root/setuid failed: %s",strerror(errno)); in drop_root()
190 logmsg(ANDROID_LOG_FATAL,"drop_root/capset failed: %s",strerror(errno)); in drop_root()
203 logmsg(ANDROID_LOG_FATAL, "raw socket failed: %s", strerror(errno)); in open_sockets()
209 logmsg(ANDROID_LOG_WARN, "could not disable checksum on raw socket: %s", strerror(errno)); in open_sockets()
[all …]

12345678910>>...74