From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8BADC433E1 for ; Thu, 23 Jul 2020 20:25:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BAE892065D for ; Thu, 23 Jul 2020 20:25:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ub1tRD5y"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="eGKPe7xk" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727071AbgGWUZj (ORCPT ); Thu, 23 Jul 2020 16:25:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725979AbgGWUZj (ORCPT ); Thu, 23 Jul 2020 16:25:39 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0E89C0619DC for ; Thu, 23 Jul 2020 13:25:38 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1595535936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cRKsEiuRR9b7sHUbNHNtlUD00w5JDjNSexa3ryoeXck=; b=ub1tRD5yoP2FHkXh4E0iQ5WFJwTiQeyO273NyYHrT9tQWS6SC3NArRMTQnf5WcbciMq1i5 Hy6DaiyjcTVMhpir1Aev9FVxgdq0KT+AgIj4zUue4NyeF8ld3zErJNLFStUX+5E33ZPfMB twkOzIrM1NH41oTltp55hnHWN8c0sBXFY5Q+s6XvNR7ybfIM6tVJdiMY2Gs8pvda44JftW Bq+duVsp7gFYTb8QEbboeS3kf4o/sari6VhcW7S83rv0hrkke8qSBaBrF5G1XfOGCFunCt g7mfteZLIpD1cg7qXdWj1u/km6qy5mQhZO3vAMrHSKHQXNHncu36M3GkVJ4zdQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1595535936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cRKsEiuRR9b7sHUbNHNtlUD00w5JDjNSexa3ryoeXck=; b=eGKPe7xkhI+ef15OnF4zSaPkyRFwBiM4xb31TGpuJ7QZpBjskM/VtiTjsP8Zbt1yBLRxWV T6aFNDhCWZ6MdMBA== To: Andrei Vagin , Catalin Marinas Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Vincenzo Frascino , Mark Rutland , Dmitry Safonov , Christian Brauner Subject: Re: [PATCH v5 0/6] arm64: add the time namespace support In-Reply-To: <20200723174140.GA3991167@gmail.com> References: <20200624083321.144975-1-avagin@gmail.com> <20200705064055.GA28894@gmail.com> <20200714015743.GA843937@gmail.com> <20200722181506.GA4517@gaia> <20200723174140.GA3991167@gmail.com> Date: Thu, 23 Jul 2020 22:25:35 +0200 Message-ID: <87d04mvv0g.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrei Vagin writes: > On Wed, Jul 22, 2020 at 07:15:06PM +0100, Catalin Marinas wrote: > > I don't think that we need to handle this case in the kernel. Users > must understand what they are doing and have to write code so that avoid > these sort of situations. In general, I would say that in most cases it > is a bad idea to call setns from a signal handler. This should not be supported in the first place and just let the offender die right there. Thanks, tglx