From 645682fd40b5855a1dfbca5ddb330dda7cf5ddc0 Mon Sep 17 00:00:00 2001 From: Luoqi Chen Date: Mon, 11 Oct 1999 20:33:17 +0000 Subject: Add a per-signal flag to mark handlers registered with osigaction, so we can provide the correct context to each signal handler. Fix broken sigsuspend(): don't use p_oldsigmask as a flag, use SAS_OLDMASK as we did before the linuxthreads support merge (submitted by bde). Move ps_sigstk from to p_sigacts to the main proc structure since signal stack should not be shared among threads. Move SAS_OLDMASK and SAS_ALTSTACK flags from sigacts::ps_flags to proc::p_flag. Move PS_NOCLDSTOP and PS_NOCLDWAIT flags from proc::p_flag to procsig::ps_flag. Reviewed by: marcel, jdp, bde --- sys/amd64/include/ucontext.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/amd64/include/ucontext.h') diff --git a/sys/amd64/include/ucontext.h b/sys/amd64/include/ucontext.h index 6397a31a309a..c0a3aa8e1c6e 100644 --- a/sys/amd64/include/ucontext.h +++ b/sys/amd64/include/ucontext.h @@ -31,8 +31,6 @@ #ifndef _MACHINE_UCONTEXT_H_ #define _MACHINE_UCONTEXT_H_ -#include - typedef struct __mcontext { /* * The first 20 fields must match the definition of -- cgit v1.3