summaryrefslogtreecommitdiff
path: root/sys/i386/linux/linux.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-08-14 17:28:46 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-08-14 17:28:46 +0000
commit06ebbe77edf0fdadf8ca95afdadb730c0c7dd8aa (patch)
treeb49618fa9d9e9769b1da5b0ab64a49717fb46643 /sys/i386/linux/linux.h
parent0a06bd4111be78e9d96fd831c9dab45d18be9d91 (diff)
Notes
Diffstat (limited to 'sys/i386/linux/linux.h')
-rw-r--r--sys/i386/linux/linux.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index 03f9e167cd69..d4cf4104ed7f 100644
--- a/sys/i386/linux/linux.h
+++ b/sys/i386/linux/linux.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux.h,v 1.31 1999/08/11 13:34:29 marcel Exp $
+ * $Id: linux.h,v 1.32 1999/08/13 14:44:13 marcel Exp $
*/
#ifndef _I386_LINUX_LINUX_H_
@@ -57,6 +57,17 @@ typedef struct {
} linux_sigaction_t;
typedef int linux_key_t;
+typedef struct {
+ unsigned long sig[2];
+} linux_new_sigset_t;
+typedef struct {
+ void (*lsa_handler)(int);
+ unsigned long lsa_flags;
+ void (*lsa_restorer)(void);
+ linux_new_sigset_t lsa_mask;
+} linux_new_sigaction_t;
+
+
/*
* The Linux sigcontext, pretty much a standard 386 trapframe.
*/
@@ -154,6 +165,9 @@ struct trapframe;
/* sigaction flags */
#define LINUX_SA_NOCLDSTOP 0x00000001
+#define LINUX_SA_NOCLDWAIT 0x00000002
+#define LINUX_SA_SIGINFO 0x00000004
+#define LINUX_SA_RESTORER 0x04000000
#define LINUX_SA_ONSTACK 0x08000000
#define LINUX_SA_RESTART 0x10000000
#define LINUX_SA_INTERRUPT 0x20000000