/openbmc/linux/samples/seccomp/ |
H A D | bpf-fancy.c | 56 JEQ(STDERR_FILENO, JUMP(&l, write_buf)), in main() 100 syscall(__NR_write, STDERR_FILENO, msg2, strlen(msg2)); in main() 101 syscall(__NR_write, STDERR_FILENO, buf, bytes); in main() 103 syscall(__NR_write, STDERR_FILENO, msg2, strlen(msg2)+2); in main()
|
H A D | bpf-direct.c | 79 if (ctx->uc_mcontext.gregs[REG_ARG0] != STDERR_FILENO) in emulator() 139 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, STDERR_FILENO, 1, 2), in install_filter() 177 syscall(__NR_write, STDERR_FILENO, in main()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/beep/files/ |
H A D | 0001-beep-library-Make-it-compatible-with-c99.patch | 39 if (write(STDERR_FILENO, "strerror_r error\n", 46 if (write(STDERR_FILENO, msg, msglen)) { 49 if (write(STDERR_FILENO, ": ", 2)) { 54 if (write(STDERR_FILENO, strerr_buf, errlen)) {
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | clc.c | 16 write(STDERR_FILENO, "bad r0\n", 7); in handle_sigsegv() 20 write(STDERR_FILENO, "bad cc\n", 7); in handle_sigsegv()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lvm2/files/ |
H A D | 0001-implement-libc-specific-reopen_stream.patch | 53 int err = is_valid_fd(STDERR_FILENO); 73 if (!is_valid_fd(STDERR_FILENO) &&
|
/openbmc/linux/tools/include/nolibc/ |
H A D | stackprotector.h | 25 my_syscall3(__NR_write, STDERR_FILENO, "!!Stack smashing detected!!\n", 28); in __stack_chk_fail()
|
H A D | unistd.h | 18 #define STDERR_FILENO 2 macro
|
H A D | stdio.h | 40 static __attribute__((unused)) FILE* const stderr = (FILE*)(intptr_t)~STDERR_FILENO;
|
/openbmc/qemu/tests/unit/ |
H A D | test-util-sockets.c | 87 g_assert_cmpint(mon_fd, >, STDERR_FILENO); in test_socket_fd_pass_name_good() 119 g_assert_cmpint(mon_fd, >, STDERR_FILENO); in test_socket_fd_pass_name_bad() 170 g_assert_cmpint(sfd, >, STDERR_FILENO); in test_socket_fd_pass_num_good()
|
/openbmc/linux/tools/testing/selftests/filesystems/ |
H A D | devpts_pts.c | 36 STDERR_FILENO}[i])) in terminal_set_stdfds() 56 if (fd > STDERR_FILENO) in login_pty()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bprm_opts.c | 42 dup2(null_fd, STDERR_FILENO); in run_set_secureexec()
|
H A D | test_local_storage.c | 35 dup2(null_fd, STDERR_FILENO); in run_self_unlink()
|
/openbmc/linux/tools/testing/selftests/uevent/ |
H A D | uevent_filtering.c | 180 (void)write_nointr(STDERR_FILENO, buf, r); in uevent_listener() 181 (void)write_nointr(STDERR_FILENO, "\n", 1); in uevent_listener()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pv/pv/ |
H A D | 0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch | 30 tty_process_group = tcgetpgrp(STDERR_FILENO);
|
/openbmc/qemu/ |
H A D | qemu-nbd.c | 271 if (dup2(old_stderr, STDERR_FILENO) < 0) { in nbd_client_release_pipe() 971 opts.old_stderr = dup(STDERR_FILENO); in main() 983 if (dup2(stderr_fd[1], STDERR_FILENO) < 0) { in main() 1015 ret = qemu_write_full(STDERR_FILENO, buf, ret); in main()
|
/openbmc/linux/tools/perf/tests/ |
H A D | builtin-test.c | 230 close(STDERR_FILENO); in run_test() 234 dup2(STDOUT_FILENO, STDERR_FILENO); in run_test()
|
/openbmc/linux/tools/testing/selftests/powerpc/include/ |
H A D | utils.h | 184 nbytes = write(STDERR_FILENO, msg, strlen(msg)); })
|
/openbmc/linux/tools/thermal/tmon/ |
H A D | tmon.c | 367 close(STDERR_FILENO); in start_daemon_mode()
|
/openbmc/qemu/util/ |
H A D | log.c | 329 dup2(fileno(logfile), STDERR_FILENO); in qemu_set_log_internal()
|
/openbmc/qemu/net/ |
H A D | tap.c | 390 const int skip_fd[] = {STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO, in close_all_fds_after_fork() 399 if (excluded_fd <= STDERR_FILENO) { in close_all_fds_after_fork()
|
/openbmc/linux/tools/perf/bench/ |
H A D | inject-buildid.c | 312 dup2(dev_null_fd, STDERR_FILENO); in setup_injection()
|
/openbmc/qemu/semihosting/ |
H A D | arm-compat-semi.c | 406 hostfd = STDERR_FILENO; in do_common_semihosting()
|
H A D | syscalls.c | 308 gf->hostfd != STDERR_FILENO && in host_close()
|
/openbmc/qemu/qga/ |
H A D | commands.c | 285 if (dup2(STDOUT_FILENO, STDERR_FILENO) != 0) { in guest_exec_task_setup()
|
H A D | main.c | 619 reopen_fd_to_null(STDERR_FILENO); in become_daemon()
|