Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1236132yba; Tue, 2 Apr 2019 05:15:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAFXd/XppcwCA9g0IVVpTUlJEY1RfVNS5/R0OznW9MvfgZU3oA8hC/eN1BDobJiZxUn5ew X-Received: by 2002:a62:6ec3:: with SMTP id j186mr69906279pfc.89.1554207340797; Tue, 02 Apr 2019 05:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554207340; cv=none; d=google.com; s=arc-20160816; b=zOls/O2m4A4TPRWrbjv7w3kHyRIVnVf7Qsl4WxwJXUkTUQBvTvh1z4dwhxA4hbINLU Pz4/wapzFgQpj1b3MgdNGmnOk5rUwnx+ncsZheiWpXyK4f1CycyjHh1d27hQ5b1tAEdk lByx4hfGUyBKvopwfu74vPIwKJnwdwOl0cKdJfIpIEThnKVH2uJ6E2OinCZeqFlKH8w/ VLO/xW1VryiRt03uCAkhIovas39NNwfdBRCMZQXkA/1tZVOc90EPsTSAtjZiUvbgpFjC pK6OI1y4J/nzid9MjrtX9D48fLlyH+j3bn3g/1mi+6qvh379QUeGHid6P76RajfLI1Mt B+NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=ycqsk9ML4vmjOWUJeJPdpwwEFpskGyFE82VzrdDTl74=; b=jwUWgZ/bDyeg7XLX6c4nSb0ucpfC5TqGJb2nEXm7Y4bmBDf8waHH7sO5jDzehgmd6j TZf0gHZwjsxbl/v2eF23Saod8TxAcHM9wji840i2UmPRwPDYqPSGn9Xs+t5ZZBGgSY+N z8aJSkg68hRRO8VERIFFwmfZlTt2WTyjCn+V1URQqz4CzT/i9yle6FJ1/GywimZmvNEe q+5ouL+GgDPY2IzQJtO7tZjjAZZs4Rt1O5H8b1ae0LmTrglx0JLyfvC5AAnIyNdI6EgT B+RfyceqdlGUK0cM7gngRiSNFBp6Ld/0kkjxhaTgb4be+rPjkRzqdpuwWMKlYGBwny8m NPaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si69316pfn.171.2019.04.02.05.15.24; Tue, 02 Apr 2019 05:15:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729912AbfDBLDf (ORCPT + 99 others); Tue, 2 Apr 2019 07:03:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45951 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbfDBLDf (ORCPT ); Tue, 2 Apr 2019 07:03:35 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7E07B308213C; Tue, 2 Apr 2019 11:03:34 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-117-189.ams2.redhat.com [10.36.117.189]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2F1301001DD8; Tue, 2 Apr 2019 11:03:25 +0000 (UTC) From: Florian Weimer To: Daniel Colascione Cc: Linus Torvalds , Jonathan Kowalski , Aleksa Sarai , Andy Lutomirski , Christian Brauner , Jann Horn , Andrew Lutomirski , David Howells , "Serge E. Hallyn" , Linux API , Linux List Kernel Mailing , Arnd Bergmann , "Eric W. Biederman" , Konstantin Khlebnikov , Kees Cook , Alexey Dobriyan , Thomas Gleixner , Michael Kerrisk-manpages , "Dmitry V. Levin" , Andrew Morton , Oleg Nesterov , Nagarathnam Muthusamy , Al Viro , Joel Fernandes Subject: Re: [PATCH v2 0/5] pid: add pidfd_open() References: <20190330171215.3yrfxwodstmgzmxy@brauner.io> <132107F4-F56B-4D6E-9E00-A6F7C092E6BD@amacapital.net> <20190331211041.vht7dnqg4e4bilr2@brauner.io> <18C7FCB9-2CBA-4237-94BB-9C4395A2106B@amacapital.net> <20190401114059.7gdsvcqyoz2o5bbz@yavin> Date: Tue, 02 Apr 2019 13:03:24 +0200 In-Reply-To: (Daniel Colascione's message of "Mon, 1 Apr 2019 09:45:22 -0700") Message-ID: <878swsr7nn.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Tue, 02 Apr 2019 11:03:35 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Daniel Colascione: > But doesn't the CSIGNAL approach still require that libraries somehow > coordinate which non-SIGCHLD signal they use? (Signal coordination a > separate problem, unfortunately.) There's already an allocation mechanism for realtime signals in glibc, via __libc_allocate_rtsig. I don't know what it is about: It's clearly intended as an external interface, yet there isn't a declaration in any installed header file. ALSA has some optional code to use it, but I don't think distributions compile ALSA in that way; it always uses SIGIO. Thanks, Florian