Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbbBPXHz (ORCPT ); Mon, 16 Feb 2015 18:07:55 -0500 Received: from mail.kapsi.fi ([217.30.184.167]:55856 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752478AbbBPXHw (ORCPT ); Mon, 16 Feb 2015 18:07:52 -0500 From: Mikko Rapeli To: linux-kernel@vger.kernel.org Cc: Mikko Rapeli , Arnd Bergmann , linux-arch@vger.kernel.org, linux-api@vger.kernel.org Subject: [PATCH 34/45] include/uapi/asm-generic/signal.h: hide sigset_t definition in userspace Date: Tue, 17 Feb 2015 00:05:37 +0100 Message-Id: <1424127948-22484-35-git-send-email-mikko.rapeli@iki.fi> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> References: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> X-SA-Exim-Connect-IP: 2a02:8070:d1af:b300:219:d2ff:fe03:c7a9 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 33 It is already defined by libc headers in /usr/include/i386-linux-gnu/sys/select.h Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/signal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index 8a341a2..af4d83a 100644 --- a/include/uapi/asm-generic/signal.h +++ b/include/uapi/asm-generic/signal.h @@ -88,9 +88,12 @@ #define SIGSTKSZ 8192 #ifndef __ASSEMBLY__ +#ifdef __KERNEL__ +/* already defined in userspace via stdlib.h */ typedef struct { unsigned long sig[_NSIG_WORDS]; } sigset_t; +#endif /* __KERNEL__ */ /* not actually used, but required for linux/syscalls.h */ typedef unsigned long old_sigset_t; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/