Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3750345imm; Tue, 17 Jul 2018 09:39:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf2RG4e60L+FHm5BZkl8ORByq/04fj4KFftoygxUPLOgn10sk5GbfwdSDg/LFh1DG72rEPn X-Received: by 2002:a63:686:: with SMTP id 128-v6mr2269047pgg.338.1531845590320; Tue, 17 Jul 2018 09:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531845590; cv=none; d=google.com; s=arc-20160816; b=mdSMfuzNK7sazBxQCuupNfG/iCAvU5y377AuRC0O6aehfm0Xr1YgS4tFF+djI5MQ1L /iO8ODEPxICSR/IFobq22EDmwPwZz3WffnX8GTVOfws/iLau/InfhZyqI4bWulbTLoG+ jowI6Xtc3lWml8kiYjDsNSiz56lEdM8nI6X/o2ZTk4+O6WolvUbedI1q+wvR+2Jt2yHc bpAaIbaElmP3wgyS5JmkHIHZfrfiSuZE39xAggf69rP4WASobiPUxOSMogGf1HykDVp5 b2cMOGPomHUnv8l6oJwpM67fy6W1WJppDUsrKZGOv23DDS3Lq4izGY5PajJK1JiAssGx DCjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=LqX32k3468kJHVo/iFUUdiOoqcgtev4FePQlWkQg9ek=; b=aYaqpSwEs93ooeyoNnHIGg4UXRbpQ790f9Lu4Vs2qMFspd213vLZUJyPHH2KfWOWLs yGAFGDCTOY9ZiPRHlUfGZoYAiEqrB6mOL57dPI0xiVGFbhltve833JmD4G7NmYQfMCnj ROX+pyF/XG23TbliW3OItPdtZ8JU7vkhCQhh6cxUev3Cwicq9xZNXTLFitiAFKL4amMw hzuj2dk065UCp5AMipZE7n0W0iIzO7FnXO+UCU48zj79PbKwno+O0g3DZyQPNIQLgC04 BG3hGfSFJ98GUBbvkCHTfaB+f2298pIMHlwDiExWHm6MrYWWbls7mwwPKrDXSNWb/K7D iyMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="KBrf/51L"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r9-v6si1143789pgp.591.2018.07.17.09.39.35; Tue, 17 Jul 2018 09:39:50 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b="KBrf/51L"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729719AbeGQRM0 (ORCPT + 99 others); Tue, 17 Jul 2018 13:12:26 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:55239 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729063AbeGQRM0 (ORCPT ); Tue, 17 Jul 2018 13:12:26 -0400 Received: by mail-it0-f65.google.com with SMTP id s7-v6so32207itb.4 for ; Tue, 17 Jul 2018 09:38:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LqX32k3468kJHVo/iFUUdiOoqcgtev4FePQlWkQg9ek=; b=KBrf/51LxzWzeyx78s0k78V8qsHm3r/ju94taO3n/FarE1ZIt6sfMWHRBI3mR1ik5t ho6TOguoMZQ2HAqgWCjKKXe+ss1qvGLg2ECsvLczhB0JRXruxtkRYX60MgNgWUfuSjt+ xSN6luIDz1+uyPs23L2dd33NRDu0l4+rLFGH0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LqX32k3468kJHVo/iFUUdiOoqcgtev4FePQlWkQg9ek=; b=djW9LOwpIlHCuoC8BG3lNAPqWnZh2CDPEaWz+wX0fp/xFxihsxBw3uuC1UtB15MdN5 rTjs4xif+DzzlBhWs+BywykaZOvVK2mPzHiHcskSd6kcc3AJl+PzOmblSrGNZgxukJYC B28sy3WPDArjcBdw479eCi3L+itcar5Gf17YoEUUiK8+W3Sf3/m14wyYYegKscAx7fLs 6DPuJmHFCTjoDare0ZBqo+M1v3KmIrMNWmL8G+GN76rS8LRu5xjtez9TN292kDHOiALe vY6hQekDhwFXR6U1KJWbkEwsaPvb4X6GswKrIJPN/kKoEfloByFBAuXCgo6F/Bf/Nsmi T6Fw== X-Gm-Message-State: AOUpUlGa7HKs+/3sEha6zXFDrnU13b8iE+NQw8EsjY64O/0dFcGJ/+z6 Kry1m4AjTUqiNGFC97W4ifUeJLPToLPLF3j2V8Y= X-Received: by 2002:a24:d0d7:: with SMTP id m206-v6mr2162570itg.1.1531845536509; Tue, 17 Jul 2018 09:38:56 -0700 (PDT) MIME-Version: 1.0 References: <877em2jxyr.fsf_-_@xmission.com> <20180711024459.10654-7-ebiederm@xmission.com> <20180716125144.GA18262@redhat.com> <8736wjtetv.fsf@xmission.com> In-Reply-To: <8736wjtetv.fsf@xmission.com> From: Linus Torvalds Date: Tue, 17 Jul 2018 09:38:44 -0700 Message-ID: Subject: Re: [RFC][PATCH 07/11] signal: Deliver group signals via PIDTYPE_TGID not PIDTYPE_PID To: "Eric W. Biederman" Cc: Oleg Nesterov , Andrew Morton , Linux Kernel Mailing List , Wen Yang , majiang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 16, 2018 at 7:50 AM Eric W. Biederman wrote: > > In practice since glibc does not make thread id's available I don't > expect anyone relies on this behavior. Since no one relies on it we > can change it without creating a regression. Actually, there's a really obvious case where this simply isn't true. Just imagine you're a MIS person or a developer, doing "ps -eLf" to see what's going on, and want to kill one thread. Either because you see that one thread using all CPU, or because you are the developer and you know what's up. Those thread ID's are exported trivially. Linus