From d865ff74ba096d016c9b1542a4e3d305169c9e55 Mon Sep 17 00:00:00 2001 From: Jeremie Koenig Date: Mon, 21 Dec 2020 01:41:55 +0100 Subject: hurd: implement SA_SIGINFO signal handlers. SA_SIGINFO is actually just another way of expressing what we were already passing over with struct sigcontext. This just introduces the SIGINFO interface and fixes the posix values when that interface is requested by the application. --- bits/sigaction.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bits') diff --git a/bits/sigaction.h b/bits/sigaction.h index afcbd87107..4358dde947 100644 --- a/bits/sigaction.h +++ b/bits/sigaction.h @@ -65,6 +65,7 @@ struct sigaction # define SA_RESETHAND 0x0004 /* Reset to SIG_DFL on entry to handler. */ #endif #define SA_NOCLDSTOP 0x0008 /* Don't send SIGCHLD when children stop. */ +#define SA_SIGINFO 0x0040 /* Signal handler with SA_SIGINFO args */ #ifdef __USE_MISC # define SA_INTERRUPT 0 /* Historical no-op ("not SA_RESTART"). */ -- cgit 1.4.1