Home
last modified time | relevance | path

Searched refs:STDERR_FILENO (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/samples/seccomp/
H A Dbpf-fancy.c56 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 Dbpf-direct.c79 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 D0001-beep-library-Make-it-compatible-with-c99.patch39 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 Dclc.c16 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 D0001-implement-libc-specific-reopen_stream.patch53 int err = is_valid_fd(STDERR_FILENO);
73 if (!is_valid_fd(STDERR_FILENO) &&
/openbmc/linux/tools/include/nolibc/
H A Dstackprotector.h25 my_syscall3(__NR_write, STDERR_FILENO, "!!Stack smashing detected!!\n", 28); in __stack_chk_fail()
H A Dunistd.h18 #define STDERR_FILENO 2 macro
H A Dstdio.h40 static __attribute__((unused)) FILE* const stderr = (FILE*)(intptr_t)~STDERR_FILENO;
/openbmc/qemu/tests/unit/
H A Dtest-util-sockets.c87 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 Ddevpts_pts.c36 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 Dtest_bprm_opts.c42 dup2(null_fd, STDERR_FILENO); in run_set_secureexec()
H A Dtest_local_storage.c35 dup2(null_fd, STDERR_FILENO); in run_self_unlink()
/openbmc/linux/tools/testing/selftests/uevent/
H A Duevent_filtering.c180 (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 D0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch30 tty_process_group = tcgetpgrp(STDERR_FILENO);
/openbmc/qemu/
H A Dqemu-nbd.c270 if (dup2(old_stderr, STDERR_FILENO) < 0) { in nbd_client_release_pipe()
967 opts.old_stderr = dup(STDERR_FILENO); in main()
979 if (dup2(stderr_fd[1], STDERR_FILENO) < 0) { in main()
1011 ret = qemu_write_full(STDERR_FILENO, buf, ret); in main()
/openbmc/linux/tools/perf/tests/
H A Dbuiltin-test.c230 close(STDERR_FILENO); in run_test()
234 dup2(STDOUT_FILENO, STDERR_FILENO); in run_test()
/openbmc/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h184 nbytes = write(STDERR_FILENO, msg, strlen(msg)); })
/openbmc/linux/tools/thermal/tmon/
H A Dtmon.c367 close(STDERR_FILENO); in start_daemon_mode()
/openbmc/qemu/util/
H A Dlog.c329 dup2(fileno(logfile), STDERR_FILENO); in qemu_set_log_internal()
/openbmc/linux/tools/perf/bench/
H A Dinject-buildid.c312 dup2(dev_null_fd, STDERR_FILENO); in setup_injection()
/openbmc/qemu/semihosting/
H A Darm-compat-semi.c406 hostfd = STDERR_FILENO; in do_common_semihosting()
H A Dsyscalls.c308 gf->hostfd != STDERR_FILENO && in host_close()
/openbmc/qemu/qga/
H A Dcommands.c286 if (dup2(STDOUT_FILENO, STDERR_FILENO) != 0) { in guest_exec_task_setup()
H A Dmain.c575 reopen_fd_to_null(STDERR_FILENO); in become_daemon()
/openbmc/qemu/tests/qtest/
H A Dbios-tables-test.c532 dupret = dup2(STDERR_FILENO, STDOUT_FILENO); in test_acpi_asl()

12