Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp572396pxj; Thu, 3 Jun 2021 13:51:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIbjLTp5eGr3dwgXWS4MPm9JJq4GDlraglSy8JSgDqtkyo6dgjaaNEw88f6KVxR86eKHZb X-Received: by 2002:a17:906:2bc5:: with SMTP id n5mr1017681ejg.531.1622753471159; Thu, 03 Jun 2021 13:51:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622753471; cv=none; d=google.com; s=arc-20160816; b=W+Q0/qRLwti/IUTSj0oCv0J3Fbj1KKVyM8BSvvd+Z3c7Tf/5r6RZB+jdOiYbRhxqVR 0f5LLgcbG4j4WP1VAVnzw/juPL11SMsWNCHKQdCLBER8ewP7Tv/Cv722YBuAVr6yuAEy jSyxXFEjJMozLkalR7s+bWfYpDtzw+jh2kiB1diFS/UkRWui4M9I1G/H0VRGEQJe7QBC qvkSUzuXC8Q04bLY6lMlehkWEtxakKODsABtK7WKRYOmFFr3Lt65H6Y0c90TvwnQrKSD 6MqzrXw0SDf8hhApwabNyTyX1ifHcK7yBfIRzRnz09HzfImHx3r3gcItz56g6QJrgzYp DE2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=h+xqUPyPmpZqgGOARjxUKlsGR88oIfRjRW+RtwkTUcY=; b=v5fjtFDNJUewHbkSieYXsFzrrCUYura7/QDVuvwdfAhskc5l5jq7JpLClo/tgtvcJk 7++sMQ4RPUZ4CXp4j3xOq/LSDST2A/v6+NeZXdXoDcPUTP8ZygeqSxShgv8ahknkILH1 AAtm5cxhMHSJEZACGCGy+Pl7hfphBpIdiZtaWWG3gBCtiy5VZ5dIQIq1Qmz9xxhc6NF1 A3Jh0e9H1GbrEUyjqWJQ/NWb0U2m/wFlE5XmZHXzoJAdPOjG0DmgoomlpVAVV91HHYB5 IwIEHW4nghCEKqELFhOBd1h96MRO0uFXppYq5MAKu0CoPVSKodhMD5MHIOndYcxQKjui j+2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b="tAS/QGas"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a1si2880441eje.497.2021.06.03.13.50.46; Thu, 03 Jun 2021 13:51:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b="tAS/QGas"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229707AbhFCUu6 (ORCPT + 99 others); Thu, 3 Jun 2021 16:50:58 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:12910 "EHLO mail-40133.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbhFCUu6 (ORCPT ); Thu, 3 Jun 2021 16:50:58 -0400 Date: Thu, 03 Jun 2021 20:49:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail3; t=1622753351; bh=h+xqUPyPmpZqgGOARjxUKlsGR88oIfRjRW+RtwkTUcY=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=tAS/QGasrvotYj4fDb6t+BWp0SS4Dd0mftmIZ99S5FOL/iM17azAr4ruKXBCqlXPI jQM3qZXzZ+ZnUqMtUhBR9pPGsRARApsXAdKqP1ua7Pjv0lO3grxMejuHM+1mcH4A5A izRd10W0L4MhPt3MqV0IuKp5zUXvqv2yUzoEFSDjEz85mikZxnvOrfUZLKaDJX8nNF JwO574ZeefcTTDwwdo6MFO2U55w7Bq7HX6C4GXuzEQj9yBeT3JFNG8DjrCqb+src9u Ow7ErQjL/2xcFrJ23/VT+pdfjuzIbNn1APNpZop5qhpspZsYk67E55tpmeqMnPeuSy 6m4CfRA4wEJJg== To: Ming Lin From: Simon Ser Cc: Linus Torvalds , Hugh Dickins , Peter Xu , "Kirill A. Shutemov" , Matthew Wilcox , Dan Williams , "Kirill A. Shutemov" , Will Deacon , Linux Kernel Mailing List , David Herrmann , "linux-mm@kvack.org" , Greg Kroah-Hartman , "tytso@mit.edu" Reply-To: Simon Ser Subject: Re: Sealed memfd & no-fault mmap Message-ID: In-Reply-To: References: <36fc2485-11f1-5252-904d-f26b63a6cd58@gmail.com> <0464f8dd-d082-b246-83ff-609f0f48de59@gmail.com> <8By7yERxX_qlsLZuOeJihJqeU-pZtFxsS2zrQ1ssN6-NkyIRrv-r81Ux_PTcb8qy7QA1HmkRxTeixT5MaJs7NKk0rqxDC9Nu9DoTRmS0UHw=@emersion.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, June 3rd, 2021 at 10:07 PM, Ming Lin wrote: > In the new version of the patches, MAP_NOSIGBUS is not restricted to shme= m. > It can be used on ordinary files. Oh, cool! FWIW, if I had to choose between "MAP_NOSIGBUS not restricted to shm" and "MAP_NOSIGBUS not restricted to MAP_PRIVATE", I'd probably choose the latter. But of course the former is better than nothing at all.