From: rmh Date: Mon, 19 Jan 2009 14:12:26 +0000 (+0100) Subject: Add some compatibility aliases (copied from generic bits/sigaction.h). X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=ca72065a17e78923a195ee7cf90a887de0eb0365 Add some compatibility aliases (copied from generic bits/sigaction.h). --- diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/bits/sigaction.h b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/bits/sigaction.h index ad80ab99af..891c4e9726 100644 --- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/bits/sigaction.h +++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/bits/sigaction.h @@ -1,5 +1,5 @@ /* The definitions for OpenSolaris's sigaction. - Copyright (C) 1993-1999, 2000, 2008 Free Software Foundation, Inc. + Copyright (C) 1993-1999, 2000, 2008, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -72,6 +72,15 @@ struct sigaction32 #define SA_RESETHAND 0x00000002 #endif +#ifdef __USE_MISC +# define SA_INTERRUPT 0 /* Historical no-op ("not SA_RESTART"). */ + +/* Some aliases for the SA_ constants. */ +# define SA_NOMASK SA_NODEFER +# define SA_ONESHOT SA_RESETHAND +# define SA_STACK SA_ONSTACK +#endif + /* Values for the HOW argument to `sigprocmask'. */ #define SIG_BLOCK 1 /* Block signals. */ #define SIG_UNBLOCK 2 /* Unblock signals. */