From patchwork Tue Jul 4 19:53:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 107023 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1362104qge; Tue, 4 Jul 2017 12:56:16 -0700 (PDT) X-Received: by 10.98.144.74 with SMTP id a71mr17096670pfe.162.1499198176408; Tue, 04 Jul 2017 12:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499198176; cv=none; d=google.com; s=arc-20160816; b=dRHGXbUAYYhSkDtNgMW5sC01TcgKdBUJpaj9BGuTimBblwvOW6dVDQk4LtPPsMODbn u3Q0zzn0bAjMlqvHGosgjISren3Zd0CLcCLnJ+0HtWEumiLayGg4rgeuso/LNPfe0Gkn Ho9jg+U6nMj1cJyNoF3SfCXpBlirp4+bse3/vPD7C94HS4sCYtRJktl46P6elAMnFC9d TPcYVHMnDb6mOxirCNT4tJenyf/EP/5TLUgQC7wSL5a3XeTcf1bWie4dCY6iqSrzXAa1 AXvSh2oN9vHUWAorCYwuO/bk4J6lQ7+d57vhKolZ3sdro7Sei4lq1nooSu6nqDoQk1Qh 0SBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=C89AOZpBPa7mlMjpMqhSOTaArXb359FfqBuiVGYD0Yo=; b=vYgpgTHY+XzXnUu2dE1LvNdgdaO9/PQaTySoeABatnUYfQJfe4GaP3B9c4SYbgDvC8 QXizUd0jVSs23TeFZXhKfc4Da85YuQI2Ir0SmhsXm0nQ9ahnTJvh5AMw7/sw9sVjfWrN 3i9Er3nrKNCp9vf+zywXg5x3SgyXRcnZPKTEhfQ0cbdKpB0N2R/91+CdB5p604EAazL9 4FVb8vEDD1KgARYiAOCyBwWURL/nBXj9BqGzrjL9sX3CZ6eyiDy5W5tOgzhhxB7Y5RZl 6uwdOFsKbWCJSouS0KzrXpfezRLZfFUzBr9RRMIL5TfFPwGDISBqHL2hGtq61B+PJ2lx b3OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.b=D+nEEUfj; spf=pass (google.com: domain of libc-alpha-return-81672-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-81672-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id y13si15445056pgs.486.2017.07.04.12.56.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 12:56:16 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-81672-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.b=D+nEEUfj; spf=pass (google.com: domain of libc-alpha-return-81672-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-81672-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=S/4AOxtbLjok73vKzQk1gqS0vuVkbAW K5zc/1qRPDF4uBbzRoxtYhBfmLSBTxvpX7ruC2FUEkH/pNscN8RhZW+g7SKq6gbi dN0yta1DfvHRpXgrsAWke4S5z3hjtbQgqCaNbXrvQYJQt5/mkX5R9103BH4Am1gQ 4Bk8DFgdTI30= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=Mc7QjPlUu1KWaocf0eCKoFzm+HQ=; b=D+nEE UfjAIppYilcyo6HlDZmsYCc73cgH5ac7PeO9Iynh2lYuT8mpKzl+OpTybroONeAj j226l09eYw30l3Zk2By5xQ4OdYF7b1e0xMQCyGl0bQlU6KNJTSsHphVB4gbcFHR3 NkUTCES1jj6GXdFu2QoLLflm7fOayOUqoHKFQk= Received: (qmail 75101 invoked by alias); 4 Jul 2017 19:54:26 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 74485 invoked by uid 89); 4 Jul 2017 19:54:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f173.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=C89AOZpBPa7mlMjpMqhSOTaArXb359FfqBuiVGYD0Yo=; b=b+tEKL/2KDtjBOCDHIMbBR7pBfMh/9o12de80ofy3jcAfM9YX/HFfN1lR46LGd2yLy +IcuQyG+AKDZ/8ZzVMwqX5J4SNWq3sCjfmxcFefyTtqjZ5VoP0+k+CFEcy4T9Pgjp6Ti n4y8JFN2skOTwfWjQisYdQ8c/XuO1NvwTd/JJxCkAeVc9Qa/2cbeFMUuyTv79It+zMyl iOQFTCuVD6QCK7VvnepwmNaAHBIHU1B23izPeaYjXhPv1sUKaXfn+VtvERjw7q3+8JPd 4EjfBTpYSGefWmIuU0kbNe7bDth9dFC6PWfKb5ZtDzVPV/A9RRl6lXRUtSZjJTaYJWcx UC7Q== X-Gm-Message-State: AKS2vOycWiADb6sghed5bVkYDZok4nqVZZY8lksNMo8blI+E1/n3CH+A +9HyDaPsncSkklXuzygNIg== X-Received: by 10.237.41.132 with SMTP id o4mr49502415qtd.242.1499198057826; Tue, 04 Jul 2017 12:54:17 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 11/14] Remove non cancellable sigsuspend definition Date: Tue, 4 Jul 2017 16:53:51 -0300 Message-Id: <1499198034-5837-12-git-send-email-adhemerval.zanella@linaro.org> In-Reply-To: <1499198034-5837-1-git-send-email-adhemerval.zanella@linaro.org> References: <1499198034-5837-1-git-send-email-adhemerval.zanella@linaro.org> There is no current internal usage fo non cancellable sigsuspend calls. Checked on x86_64-linux-gnu, x86_64-linux-gnu-x32, and i686-linux-gnu. * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove macro. * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel): Likewise. --- ChangeLog | 5 +++++ sysdeps/generic/not-cancel.h | 2 -- sysdeps/unix/sysv/linux/not-cancel.h | 4 ---- 3 files changed, 5 insertions(+), 6 deletions(-) -- 2.7.4 diff --git a/sysdeps/generic/not-cancel.h b/sysdeps/generic/not-cancel.h index 8eb2995..3418db5 100644 --- a/sysdeps/generic/not-cancel.h +++ b/sysdeps/generic/not-cancel.h @@ -42,7 +42,5 @@ __pause () #define __nanosleep_nocancel(requested_time, remaining) \ __nanosleep (requested_time, remaining) -#define sigsuspend_not_cancel(set) \ - __sigsuspend (set) #define NO_CANCELLATION 1 diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h index 9aaa781..797c925 100644 --- a/sysdeps/unix/sysv/linux/not-cancel.h +++ b/sysdeps/unix/sysv/linux/not-cancel.h @@ -86,8 +86,4 @@ libc_hidden_proto (__pause_nocancel) __typeof (__nanosleep) __nanosleep_nocancel; hidden_proto (__nanosleep_nocancel) -/* Uncancelable sigsuspend. */ -#define sigsuspend_not_cancel(set) \ - INLINE_SYSCALL (rt_sigsuspend, 2, set, _NSIG / 8) - #endif /* NOT_CANCEL_H */