From 63b5985885201acf0a8c597b26fe2adb8e7440de Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 20 Feb 2012 03:37:36 +0100 Subject: Fix POSIX 2008 visibility Here are a few POSIX 2008 visibility updates, to align the core & hurd with the Linux headers. 2011-12-04 Samuel Thibault * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART, SA_NODEFER, SA_RESETHAND. * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN, F_DUPFD_CLOEXEC. --- bits/sigaction.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bits') diff --git a/bits/sigaction.h b/bits/sigaction.h index adcc276cc8..97242a6edf 100644 --- a/bits/sigaction.h +++ b/bits/sigaction.h @@ -55,6 +55,8 @@ struct sigaction /* Bits in `sa_flags'. */ #if defined __USE_UNIX98 || defined __USE_MISC # define SA_ONSTACK 0x0001 /* Take signal on signal stack. */ +#endif +#if defined __USE_UNIX98 || defined __USE_MISC || defined __USE_XOPEN2K8 # define SA_RESTART 0x0002 /* Restart syscall on signal return. */ # define SA_NODEFER 0x0010 /* Don't automatically block the signal when its handler is being executed. */ -- cgit v1.2.3