From patchwork Sat Oct 31 18:34:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 538680 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 360BF14138C for ; Sun, 1 Nov 2015 05:36:02 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=QAo4C7jX; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 15EFA31A16; Sat, 31 Oct 2015 18:36:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KxoVbrEfVs4B; Sat, 31 Oct 2015 18:35:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7F5CF264E2; Sat, 31 Oct 2015 18:35:53 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 24AAF1C11FD for ; Sat, 31 Oct 2015 18:35:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 20FAC87433 for ; Sat, 31 Oct 2015 18:35:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bWVllKO0uBLC for ; Sat, 31 Oct 2015 18:35:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 48B1487494 for ; Sat, 31 Oct 2015 18:35:50 +0000 (UTC) Received: by qkcl124 with SMTP id l124so40115381qkc.3 for ; Sat, 31 Oct 2015 11:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=b+90wqUssw3O5rzwMj0wmS0EOAE5QVPKHpRSpQOoDgM=; b=QAo4C7jXuEhInvIep+CcQG/TPv4IkHTN8UghTtFKQm1hvTlJTAEpG2yUyIWrZCoE4f msMwDoA7/lXMrTQSAJO7oNFsiG6o5dmouzB2ujgYqY5MRJYVsg9Zsv5r+ykm49RGXhQd s/2i3o5xaee77wyOVszg66Dsuvv1ohAJL5tPkUtoY1UhB730Jn1yRGWFiHK7HllVxT97 vqSRZATMgjY/dYTJouoi6Ojp4/AZmYd6V0CwfID9W6wTYq518NG9tI+74t4P1tiz3QiS ZMmztPfaJOmimzMxJ6lNz/jqDdNFJDvjWWoA3RX429mBgWWLUy5fSP52Ii1PBVX20yug 7ryg== X-Received: by 10.55.20.4 with SMTP id e4mr18606147qkh.61.1446316549560; Sat, 31 Oct 2015 11:35:49 -0700 (PDT) Received: from khem-dvm-001.sys.comcast.net (a-96-119-177-31.sys.comcast.net. [96.119.177.31]) by smtp.gmail.com with ESMTPSA id f7sm4832730qka.41.2015.10.31.11.35.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 Oct 2015 11:35:49 -0700 (PDT) From: Khem Raj To: uclibc@uclibc.org Subject: [PATCH 7/9] nptl/atfork: Hide pthread_atfork in shared versions Date: Sat, 31 Oct 2015 18:34:48 +0000 Message-Id: <1446316540-10027-2-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1446316540-10027-1-git-send-email-raj.khem@gmail.com> References: <1446316540-10027-1-git-send-email-raj.khem@gmail.com> X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" Signed-off-by: Khem Raj Upstream-Status: Pending --- libpthread/nptl/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in index 55eeba2..8cb8fa9 100644 --- a/libpthread/nptl/Makefile.in +++ b/libpthread/nptl/Makefile.in @@ -16,6 +16,7 @@ libc-shared-routines-y = forward.c libc-cancellation.c libc-static-routines-y = alloca_cutoff.c libc-cancellation.c libpthread-shared-only-routines-y = version.c libpthread-static-only-routines-y = pthread_atfork.c + libpthread-routines- += $(notdir $(wildcard $(libpthread_DIR)/gen_*.c)) # dummy generated files libpthread-routines- += allocatestack.c # dummy included by pthread_create.c libpthread-routines- += pthread_mutex_getprioceiling.c pthread_mutex_setprioceiling.c # XXX: delete those or use them! @@ -201,7 +202,7 @@ CFLAGS-msgsnd.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-tcdrain.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pt-system.c = -fexceptions -I$(top_srcdir)libc/stdlib - +CFLAGS-pthread_atfork.c = -DNOT_IN_libc # # The rest of this file is uClibc specific. #