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=-3.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 DF79EC433E0 for ; Tue, 23 Jun 2020 00:51:56 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1090920720 for ; Tue, 23 Jun 2020 00:51:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Fyi9BekJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1090920720 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49rSQy1g7CzDqYp for ; Tue, 23 Jun 2020 10:51:54 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=chromium.org (client-ip=2607:f8b0:4864:20::1042; helo=mail-pj1-x1042.google.com; envelope-from=keescook@chromium.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Fyi9BekJ; dkim-atps=neutral Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49rSH06s8PzDqM3 for ; Tue, 23 Jun 2020 10:44:58 +1000 (AEST) Received: by mail-pj1-x1042.google.com with SMTP id ga6so728505pjb.1 for ; Mon, 22 Jun 2020 17:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WOoBj34wrpkLm3cxJNNb0KejtEcGHXihiKs5tn9Bl2A=; b=Fyi9BekJ6P5kCaEZI4v0Q5UGFFijbkzvYxlDhZfmBSOVaRIA/BSafm9pzLuUQlIJo0 akWxcy93XZBgnvmXLQQBdCNAgHijbBuOyOHThfXz86makirRrM3AruNfhYt0fz3mFMJt ULQfJMf3BQL8GiNmwlac0RpP8ipddRm3w9CIM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WOoBj34wrpkLm3cxJNNb0KejtEcGHXihiKs5tn9Bl2A=; b=qjmb3fYVEcOuIZ0fLac6j/UMq9B0MYmh/HFZkzl+keP5Mk9WFE9IdkSGgwadySRc07 /5M1yEMKTJHuRCqmilB2FcjCv6j0yuoZA79xZ3LwHL7mlp68lCSj9ub83XtWNDtqUAdG 7OFTyhccLRFILOU70eUPEV6USkTiM3eG7aCjq9HvtPNMOQKDNKcEK2atX5fMPpm39CYy P8u6TIvcZ2M9VaChmpumEYASusBGBlAV9x8QSwnG8t9wonMV9SMr+big2rP3xNCtFJtN 0bYfOaxOXMVdq1+ipS9eUyjWtHFx7CEb+/L7issfDMKQw4XyHwDGCc43lqzjkkPU7qA4 BNnQ== X-Gm-Message-State: AOAM532fN+H7PHb2QBgh2G0Hhn7GB4XdGL0hrh95oqMBacMduV4AccMY lkYqwTACHB732CA1KwbCo2mA0A== X-Google-Smtp-Source: ABdhPJy929KxEZDPMhVg/7RDKm9ph7K2EaifUV9Pymu41sd+vdmJB8ghRrYd77/5UI2QmM+Ube3znQ== X-Received: by 2002:a17:90b:4d08:: with SMTP id mw8mr20933232pjb.119.1592873094790; Mon, 22 Jun 2020 17:44:54 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id d5sm15307659pfd.124.2020.06.22.17.44.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 17:44:53 -0700 (PDT) Date: Mon, 22 Jun 2020 17:44:52 -0700 From: Kees Cook To: Christian Brauner Subject: Re: [PATCH 16/17] arch: remove HAVE_COPY_THREAD_TLS Message-ID: <202006221743.1BE5670@keescook> References: <20200622234326.906346-1-christian.brauner@ubuntu.com> <20200622234326.906346-17-christian.brauner@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200622234326.906346-17-christian.brauner@ubuntu.com> X-Mailman-Approved-At: Tue, 23 Jun 2020 10:49:19 +1000 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , linux-sh@vger.kernel.org, Peter Zijlstra , Catalin Marinas , Heiko Carstens , linux-mips@vger.kernel.org, "James E.J. Bottomley" , Guo Ren , linux-csky@vger.kernel.org, sparclinux@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-riscv@lists.infradead.org, Vincent Chen , Will Deacon , Thomas Gleixner , Anton Ivanov , Jonas Bonn , linux-s390@vger.kernel.org, linux-ia64@vger.kernel.org, linux-c6x-dev@linux-c6x.org, Brian Cain , linux-xtensa@linux-xtensa.org, Helge Deller , x86@kernel.org, Russell King , Ley Foon Tan , Mike Rapoport , Christian Borntraeger , Ingo Molnar , Geert Uytterhoeven , linux-parisc@vger.kernel.org, Mark Salter , Matt Turner , linux-snps-arc@lists.infradead.org, uclinux-h8-devel@lists.sourceforge.jp, Fenghua Yu , Albert Ou , Vasily Gorbik , Jeff Dike , linux-alpha@vger.kernel.org, linux-um@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Aurelien Jacquiot , linux-m68k@lists.linux-m68k.org, Thomas Bogendoerfer , Ivan Kokshaysky , Greentime Hu , Paul Walmsley , Stafford Horne , Stefan Kristiansson , Guan Xuetao , linux-arm-kernel@lists.infradead.org, Richard Henderson , Michal Simek , Tony Luck , Yoshinori Sato , Nick Hu , Vineet Gupta , linux-kernel@vger.kernel.org, openrisc@lists.librecores.org, Palmer Dabbelt , Richard Weinberger , Paul Mackerras , Linus Torvalds , "David S. Miller" , Al Viro Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Jun 23, 2020 at 01:43:25AM +0200, Christian Brauner wrote: > All architectures support copy_thread_tls() now, so remove the legacy > copy_thread() function and the HAVE_COPY_THREAD_TLS config option. Everyone > uses the same process creation calling convention based on > copy_thread_tls() and struct kernel_clone_args. This will make it easier to > maintain the core process creation code under kernel/, simplifies the > callpaths and makes the identical for all architectures. > [...] > Signed-off-by: Christian Brauner Massive CC list. ;) linux-arch@ may be sufficient. Reviewed-by: Kees Cook -- Kees Cook