Home
last modified time | relevance | path

Searched refs:signalfd (Results 1 - 25 of 42) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/signalfd/
H A Dsignalfd01.c25 * Check signalfd can receive signals
57 #include <sys/signalfd.h>
59 #include <linux/signalfd.h>
78 int signalfd(int fd, const sigset_t * mask, int flags) in signalfd() function
105 TEST(signalfd(-1, &mask, 0)); in do_test1()
109 "signalfd() Failed, errno=%d : %s", in do_test1()
115 tst_resm(TPASS, "signalfd is created successfully"); in do_test1()
123 "setting signalfd nonblocking mode failed: errno=%d : %s", in do_test1()
197 TEST(signalfd(fd, &mask, 0)); in do_test2()
201 "reassignment the file descriptor by signalfd() faile in do_test2()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsignalfd.c18 #include <sys/signalfd.h>
44 int fd = signalfd(-1, &mask, SFD_CLOEXEC); in signalfd_0100()
76 int fd = signalfd(-1, NULL, -1); in signalfd_0200()
/third_party/rust/crates/nix/src/sys/
H A Dsignalfd.rs1 //! Interface for the `signalfd` syscall.
11 //! `signalfd` in itself cannot be used for reliable communication between processes or threads.
14 //! (ie. not consumed from a signalfd) it will be delivered to the signal handler.
16 //! Please note that signal discarding is not specific to `signalfd`, but also happens with regular
46 /// signalfd (the default handler will be invoked instead).
48 /// See [the signalfd man page for more information](https://man7.org/linux/man-pages/man2/signalfd.2.html)
49 pub fn signalfd(fd: RawFd, mask: &SigSet, flags: SfdFlags) -> Result<RawFd> { in signalfd() functions
51 Errno::result(libc::signalfd( in signalfd()
59 /// A helper struct for creating, reading and closing a `signalfd` instanc
[all...]
H A Dmod.rs139 pub mod signalfd; modules
/third_party/musl/src/linux/
H A Dsignalfd.c1 #include <sys/signalfd.h>
7 int signalfd(int fd, const sigset_t *sigs, int flags) in signalfd() function
/third_party/eudev/test/
H A Dtest-udev.c32 #include <sys/signalfd.h>
138 event->fd_signal = signalfd(-1, &mask, SFD_NONBLOCK|SFD_CLOEXEC); in main()
140 fprintf(stderr, "error creating signalfd\n"); in main()
/third_party/eudev/src/udev/
H A Dudevadm-test.c29 #include <sys/signalfd.h>
137 event->fd_signal = signalfd(-1, &mask, SFD_NONBLOCK|SFD_CLOEXEC); in adm_test()
139 fprintf(stderr, "error creating signalfd\n"); in adm_test()
/kernel/linux/linux-5.10/include/linux/
H A Dsignalfd.h3 * include/linux/signalfd.h
11 #include <uapi/linux/signalfd.h>
17 * Deliver the signal to listening signalfd.
/kernel/linux/linux-6.6/include/linux/
H A Dsignalfd.h3 * include/linux/signalfd.h
11 #include <uapi/linux/signalfd.h>
17 * Deliver the signal to listening signalfd.
/kernel/linux/linux-5.10/fs/
H A Dsignalfd.c3 * fs/signalfd.c
31 #include <linux/signalfd.h>
111 * injects one of these signals and signalfd catches it treat in signalfd_copyinfo()
279 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx, in do_signalfd4()
315 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3()
349 COMPAT_SYSCALL_DEFINE3(signalfd, int, ufd, in COMPAT_SYSCALL_DEFINE3()
H A DMakefile30 obj-$(CONFIG_SIGNALFD) += signalfd.o
/kernel/linux/linux-6.6/fs/
H A Dsignalfd.c3 * fs/signalfd.c
31 #include <linux/signalfd.h>
113 * and signalfd catches it treat it as SIL_FAULT. in signalfd_copyinfo()
278 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx, in do_signalfd4()
314 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3()
348 COMPAT_SYSCALL_DEFINE3(signalfd, int, ufd, in COMPAT_SYSCALL_DEFINE3()
H A DMakefile26 obj-$(CONFIG_SIGNALFD) += signalfd.o
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dsignalfd.h18 int signalfd(int, const sigset_t *, int);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dsignalfd.h18 int signalfd(int, const sigset_t *, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dsignalfd.h18 int signalfd(int, const sigset_t *, int);
/third_party/musl/include/sys/
H A Dsignalfd.h18 int signalfd(int, const sigset_t *, int);
/third_party/rust/crates/nix/test/sys/
H A Dtest_signalfd.rs6 use nix::sys::signalfd::SignalFd; in test_signalfd()
/kernel/linux/linux-5.10/kernel/
H A Dsys_ni.c109 /* fs/signalfd.c */
399 COND_SYSCALL(signalfd); variable
400 COND_SYSCALL_COMPAT(signalfd); variable
/kernel/linux/linux-6.6/kernel/
H A Dsys_ni.c315 COND_SYSCALL(signalfd); variable
316 COND_SYSCALL_COMPAT(signalfd); variable
/third_party/alsa-utils/alsactl/
H A Dmonitor.c30 #include <sys/signalfd.h>
384 fd = signalfd(-1, &mask, 0); in prepare_signalfd()
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dsignalndk32.cpp24 #include <sys/signalfd.h>
/third_party/toybox/porting/liteos_a/
H A Dtoys.h114 int signalfd; // and writes signal to this fd, if set member
/third_party/toybox/
H A Dtoys.h108 int signalfd; // and writes signal to this fd, if set member
/kernel/linux/linux-6.6/tools/thermal/thermometer/
H A Dthermometer.c13 #include <sys/signalfd.h>
506 fd = signalfd(-1, &mask, 0); in thermometer_wait()
508 ERROR("Failed to set the signalfd: %m\n"); in thermometer_wait()

Completed in 9 milliseconds

12