/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
* include/linux/signalfd.h
* Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
#ifndef _LINUX_SIGNALFD_H
#define _LINUX_SIGNALFD_H
/* For O_CLOEXEC and O_NONBLOCK */
/* Flags for signalfd4. */
#define SFD_CLOEXEC O_CLOEXEC
#define SFD_NONBLOCK O_NONBLOCK
struct signalfd_siginfo {
* Pad strcture to 128 bytes. Remember to update the
* pad size when you add new members. We use a fixed
* size structure to avoid compatibility problems with
* future versions, and we leave extra space for additional
* members. We use fixed size members because this strcture
* comes out of a read(2) and we really don't want to have
#endif /* _LINUX_SIGNALFD_H */