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.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT 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 5E057C47254 for ; Tue, 5 May 2020 10:13:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E859206B9 for ; Tue, 5 May 2020 10:13:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Z68OL98G" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728547AbgEEKNN (ORCPT ); Tue, 5 May 2020 06:13:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725766AbgEEKNM (ORCPT ); Tue, 5 May 2020 06:13:12 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED89AC061A0F; Tue, 5 May 2020 03:13:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=ncJk3Hy4dw1GXdM3XrwfaxwhaN20YHNFbgRW0igSO6Q=; b=Z68OL98GDKc9lPf5hyO1BAr5o+ xMc+UIPj/LuL8Rh036j/7iay/ncZhMMEomofD47iiQ2PEry3DUdts8KqP7yn0UXPdzUojC/Zea/Xz RL/yW8xYZ9YTrRkjzIdd3FfFEWNNfXuDWzHtU54QvIb6IAI6mLBLvSIgfBMFebmGBYzL+hoslZZy9 uGKWiRILrNEm1OzKlQ2wneeYp3AOOvHorPebbsHrrpgh1vDGbx7MGQStlRVJtiONZEHuhFZUK1lmU fjXpuvLGt4F7u3YkXV5yRj1FfP4y1j/KsoZnrTPXE94r2dkn7MUF5FM3SM1SPAMIRnmp+WxYRyPkj i4QEV0IQ==; Received: from [2001:4bb8:191:66b6:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jVuZO-0006tK-Hs; Tue, 05 May 2020 10:12:58 +0000 From: Christoph Hellwig To: Andrew Morton , Alexander Viro Cc: Linus Torvalds , Jeremy Kerr , Arnd Bergmann , Oleg Nesterov , "Eric W . Biederman" , x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: remove set_fs calls from the coredump code v6 Date: Tue, 5 May 2020 12:12:49 +0200 Message-Id: <20200505101256.3121270-1-hch@lst.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi all, this series gets rid of playing with the address limit in the exec and coredump code. Most of this was fairly trivial, the biggest changes are those to the spufs coredump code. Changes since v5: - fix uaccess under spinlock in spufs (Jeremy) - remove use of access_ok in spufs Changes since v4: - change some goto names as suggested by Linus Changes since v3: - fix x86 compilation with x32 in the new version of the signal code - split the exec patches into a new series Changes since v2: - don't cleanup the compat siginfo calling conventions, use the patch variant from Eric with slight coding style fixes instead. Changes since v1: - properly spell NUL - properly handle the compat siginfo case in ELF coredumps