From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Zack Weinberg Newsgroups: gmane.comp.lib.glibc.alpha Subject: Re: [PATCH v2 03/21] nptl: Fix Race conditions in pthread cancellation (BZ#12683) Date: Fri, 27 Apr 2018 08:20:49 -0400 Message-ID: References: <1519679016-12241-1-git-send-email-adhemerval.zanella@linaro.org> <1519679016-12241-4-git-send-email-adhemerval.zanella@linaro.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1524831532 11164 195.159.176.226 (27 Apr 2018 12:18:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2018 12:18:52 +0000 (UTC) Cc: GNU C Library To: Adhemerval Zanella Original-X-From: libc-alpha-return-91881-glibc-alpha=m.gmane.org@sourceware.org Fri Apr 27 14:18:48 2018 Return-path: Envelope-to: glibc-alpha@blaine.gmane.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:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=DAK7 7Nm8L19uZNy3xUU72H1U+lvc1RS2vuUO2a26K9hY6RRf5gWVGz7X9NpfKi1u+GwX m+cI6xHvoy/0KiwBqv3MV+dyvzHdc+n7X+ft5ZT8MR7LjsygAxGYsgvtREPyHcVO u/sScb9DBWlMqINq6uKF5cqrSlJnq//8PsckZ4g= 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:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; s=default; bh=Pn+epYZ4N7 Y8S2eaJZv0k1ZIGJY=; b=sj0KjtjAxWUkWKHEjrreOXXw9by+EXGnGhPHJq5k8j juSsLBxc1PWtyisAoaP73bJXCzzdO+HUUjnfAgCMi8DKrG6WswEpaYqxMfPWHruj UwrWW45m7fgGEdxJWZl5anTkywuMPKpZ3cE+uVMqRWPMyhVIrl16Bi6UOlgOmuY2 A= 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: , Original-Sender: libc-alpha-owner@sourceware.org Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mailbackend.panix.com X-Gm-Message-State: ALQs6tCjgiZc/xUVvS21hd4KPSQxHG5+phAW2qXNar1WVfzR9wdNlcw0 MYThFE47WusDNrIQ3FL/hWE+XJHr7qalV9Bjdn0= X-Google-Smtp-Source: AB8JxZp0JywQ+oj2Q6Tg/JcRlhiNMag4zJ+z/OwK7I2rDfZ5DCivWWBGmPkayrVR6hqY6PZrJdHWe4CcZ3KOpInB0A4= X-Received: by 2002:aca:f557:: with SMTP id t84-v6mr1009759oih.341.1524831650280; Fri, 27 Apr 2018 05:20:50 -0700 (PDT) In-Reply-To: <1519679016-12241-4-git-send-email-adhemerval.zanella@linaro.org> X-Gmail-Original-Message-ID: Xref: news.gmane.org gmane.comp.lib.glibc.alpha:84225 Archived-At: Received: from server1.sourceware.org ([209.132.180.131] helo=sourceware.org) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fC2Kt-0002mW-D4 for glibc-alpha@blaine.gmane.org; Fri, 27 Apr 2018 14:18:47 +0200 Received: (qmail 64044 invoked by alias); 27 Apr 2018 12:20:54 -0000 Received: (qmail 64030 invoked by uid 89); 27 Apr 2018 12:20:53 -0000 On Mon, Feb 26, 2018 at 4:03 PM, Adhemerval Zanella wrote: > This patches fixes some race conditions in NPTL cancellation code by > redefining how cancellable syscalls are defined and handled. Current > approach is to enable asynchronous cancellation prior to making the syscall > and restore the previous cancellation type once the syscall returns. Did these patches ever get reviewed/committed? #12683 has been festering for a long time... zw