Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6278128ybi; Wed, 29 May 2019 05:40:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZUJwEXOE0YekXy8d3oAwY3I1I5jlabnAPhhLEYA0L3ou9rgxlljYPj3rueUYBLlePL4rx X-Received: by 2002:a62:fb18:: with SMTP id x24mr84142519pfm.76.1559133630514; Wed, 29 May 2019 05:40:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559133630; cv=none; d=google.com; s=arc-20160816; b=qJVb+JtFQL+2EnMbqriDpX4wnoxb7KY6HJKVvlC9hcVEe+19wvu6TwTcx31tIN7Y7N V00wtLknUhgw5uLnIZGumWgwmDnGAF5GdfNL1S1X/l70v0IyA2SZ/pfhULxVr6qNGK92 PkwXjCOlGWEjikAIRJ/FNFdUwV1sznSWvHE3aVUDW7pM/eqN50nofjfvk1GI3/X0NNmp 4+W0wvJMirzIs0QDjMEaFSPqDw3nkSKufsM6UxIYjCzSZur0qoOIqwVC4Qwgrz/dW0gc TPeh4xnj/VzplpcEmcIB2m8qFHB7QrrJybxAq7+nNrZO3AzC72Nplt0mq4O6ZBZOBLHC KcDw== 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; bh=FDUDeCcdkQRbyuDM8qhH2Znf4RJm622zVFVk61i9LUg=; b=KQKI7Yyucz3LZNbLD8SZeylFZsM5CiMY9Ag0Epnl2+2sEN8XvKH6dqVb4cEYgiOzRQ rreyHhsoE2G4ECZyAn5ItjBLkhjiptLtg67qLzE163Ddlk/W6eMP84fHqZ1zzRmxtsvC zc1vhLpscEQu3WkKJwZfJs0g6n/VuE0+vlNphWgp9LPIWUic9m1TYAGqGyq/LTxuoG3Z bkvoM2SkKEN8WzabvSBP1+vORrfgNmCMN0kX54AITdrak3XvPr5DxZdas6nZIkoiW+xN ervEGWytSyeWELfGaPbIuETfJkDfjqUZjyZFslYXK0eLDZ/b7my3me/irs2QggtMmIw/ dC8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ZCKuRAAr; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15si23523376pgk.260.2019.05.29.05.40.12; Wed, 29 May 2019 05:40:30 -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=@google.com header.s=20161025 header.b=ZCKuRAAr; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727017AbfE2Mip (ORCPT + 99 others); Wed, 29 May 2019 08:38:45 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:33964 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726959AbfE2Mip (ORCPT ); Wed, 29 May 2019 08:38:45 -0400 Received: by mail-oi1-f193.google.com with SMTP id u64so1901802oib.1 for ; Wed, 29 May 2019 05:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FDUDeCcdkQRbyuDM8qhH2Znf4RJm622zVFVk61i9LUg=; b=ZCKuRAAryeW8Ea5a25JWdvwmbrdGZA5xPyltiLcgx4QtORZxZ6KJmJtbQxtoNP19Wo Xg/dLGf55jPQVSu5FE5JfFK7fc0xjH0pJJreCdlCoRyFKz1S/c3xX7x4shGTa6cUqGTp oKnE3uqlDQkPvz9on04775F383vDunb9m+/zLQD6JDlSiH24sbrzBPKZNp3EvsYjVGVi Cc5R78VuDWIlrimSCIawnfCim8ruhA683p9xsCjmSGXf5CCEqHbNvBge06/nfVQsMrgB FRpBhADe6tsO9JhX7ewzY9eZg/ESAX6zHUISb4osC6OllGV3iXF9sfvcuTLkaZ4LocgQ GxZw== 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=FDUDeCcdkQRbyuDM8qhH2Znf4RJm622zVFVk61i9LUg=; b=SJOzftZAysCrEGjYTv5KD3VkNxCq9FgK/kp9Fu8+5dxSmrK2TiK1/zgLoARbseQHv+ 576bbLNe/IAXDhGosOWwy2R9ON7sfsvUtu3oji67WX3crBQvsNYSMhcV5JffCU2zZJ86 OZR/bAe3IQ7YS2qO/b4Vg/nOtPLTqk4ZDPYO2luKEzQTV5C00jKpu3iJ9ZHHaiKS0SBF FfVmzi03WV2rTTjWEmXKLnTwzm/GrcXpax27d7iHBE6DgZpEgdZ5Amc3eOJF5nTx5HMB GyE/C2piotu941s9k86EwNbBJZ+H1GDXR2+1kaHiJe2d4kaHMD4W2PfzKLkVtgX380sx WOMQ== X-Gm-Message-State: APjAAAUrTRlWBCSU/doOLTt/pdMalGAu1yCQkYzQGhBh7W2vc+zzxGQX uH6PYUuXwbFajiwQV1Qa/jZyQy1rws4g2CYnlFRlqA== X-Received: by 2002:aca:f308:: with SMTP id r8mr1273650oih.39.1559133524190; Wed, 29 May 2019 05:38:44 -0700 (PDT) MIME-Version: 1.0 References: <20190524201817.16509-1-jannh@google.com> <20190525144304.e2b9475a18a1f78a964c5640@linux-foundation.org> <6956cfe5-90d4-aad4-48e3-66b0ece91fed@linux-m68k.org> <7cac8be1-1667-6b6e-d2b8-d6ec5dc6da09@physik.fu-berlin.de> In-Reply-To: <7cac8be1-1667-6b6e-d2b8-d6ec5dc6da09@physik.fu-berlin.de> From: Jann Horn Date: Wed, 29 May 2019 14:38:17 +0200 Message-ID: Subject: Re: [PATCH] binfmt_flat: make load_flat_shared_library() work To: John Paul Adrian Glaubitz Cc: Greg Ungerer , Andrew Morton , Alexander Viro , linux-fsdevel , kernel list , Kees Cook , Nicolas Pitre , Arnd Bergmann , Geert Uytterhoeven , linux-m68k@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org 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 Wed, May 29, 2019 at 2:32 PM John Paul Adrian Glaubitz wrote: > On 5/28/19 12:56 PM, Greg Ungerer wrote: > >> Maybe... but I didn't want to rip it out without having one of the > >> maintainers confirm that this really isn't likely to be used anymore. > > > > I have not used shared libraries on m68k non-mmu setups for > > a very long time. At least 10 years I would think. > We use shared libraries in Debian on m68k and Andreas Schwab uses them > on openSUSE/m68k. And you're using FLAT shared libraries, not ELF / FDPIC ELF shared libraries? See for context - this thread is about CONFIG_BINFMT_SHARED_FLAT.