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 Netto X-Patchwork-Id: 21419 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(-) 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 */