Re: [PATCH 34/45] include/uapi/asm-generic/signal.h: hide sigset_t definition in userspace

From
Arnd Bergmann <hidden>
Date
2015-02-17 09:16:14
Also in
linux-arch, lkml
Reply to
Mikko Rapeli, 2015-02-16
On Tuesday 17 February 2015 00:05:37 Mikko Rapeli wrote:
quoted hunk ↗ jump to hunk
+#ifdef __KERNEL__
+/* already defined in userspace via stdlib.h */
 typedef struct {
        unsigned long sig[_NSIG_WORDS];
 } sigset_t;
+#endif /* __KERNEL__ */
I'm not sure here: Is this structure always identical to the one
we see in user space?

If not, we might want to rename the typedef to __kernel_sigset_t
instead and use that inside of the uapi headers.

	Arnd
Thread (3 messages) 3 messages, 2 authors, last reply 2015-03-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help