Message ID | 20190112203816.85534-1-joel@joelfernandes.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-fsdevel-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 476346C2 for <patchwork-linux-fsdevel@patchwork.kernel.org>; Sat, 12 Jan 2019 20:38:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A9A328FD4 for <patchwork-linux-fsdevel@patchwork.kernel.org>; Sat, 12 Jan 2019 20:38:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B99E29030; Sat, 12 Jan 2019 20:38:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC99B28FD4 for <patchwork-linux-fsdevel@patchwork.kernel.org>; Sat, 12 Jan 2019 20:38:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726574AbfALUid (ORCPT <rfc822;patchwork-linux-fsdevel@patchwork.kernel.org>); Sat, 12 Jan 2019 15:38:33 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:42658 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726568AbfALUid (ORCPT <rfc822;linux-fsdevel@vger.kernel.org>); Sat, 12 Jan 2019 15:38:33 -0500 Received: by mail-qt1-f195.google.com with SMTP id d19so22624582qtq.9 for <linux-fsdevel@vger.kernel.org>; Sat, 12 Jan 2019 12:38:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iDfQAm97H4o7dVA5ibXAUXRtADRsDfZK0W4lOHvCcyE=; b=E8mhyDNEc/DZK512mhs6N+jydr1x5ATsXKDHMHrN1k0N6w+JULc8c09ZB/9D8DG6H0 /Kmxsnf3ed5QaJnpY4Naw6hSllSj9hACDJTKOVQFNhdZELtZ5ZsMgEVaBFD4c+KvS3S9 Kmo/0G02HbyHxLnG/CGRM/iB3XUP5IHyN1GOA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iDfQAm97H4o7dVA5ibXAUXRtADRsDfZK0W4lOHvCcyE=; b=Y5ScuZVEfDV8LD+FZQSsV6zmMPmiezKN/ZsJLnVffr+RO82kAiDL7rB/Nga7nPHsh1 zjgyDmj/S3NU5vp3FB1kTfuln1jcP3+OlrE1ciV91AhOvfBvcbZjsGxiZgQs+TB2keHx y6WTKVCb3wyhb/3+giHDVNMmLRI7v3W2p52QGhzouP+HXxPndP771t5fqQQFfHTfnRku pppWs38tpjHzEtXbH5BTyFVNzsxIAmfgNCmUZGhKqTnWO8VpyMdXmaXlewyVnynwnCSu bkvfJZnqA/8QePOH724p1UdEBBwhKEtMJXggqvCmUhHyyATSakiLD5RbTjvX4CKsc4JT cE2g== X-Gm-Message-State: AJcUukcSgXEZbfh8uYLtvBGGGEg4e6d+WxoZxsfLJ2ipPftWlVibbMPM nP9CrD+2DoXJhdpNNh/QrRQ15g== X-Google-Smtp-Source: ALg8bN4E7rn9pHV+7ZlfIT/KIoyJGYP8hJ85YnG6ffaAiQtLgKGsihB8TYFh6+nRMYpYS3uJtEbPqg== X-Received: by 2002:ac8:6151:: with SMTP id d17mr18325188qtm.194.1547325511908; Sat, 12 Jan 2019 12:38:31 -0800 (PST) Received: from joelaf.cam.corp.google.com ([2620:0:1004:1100:cfd0:d2ee:d54d:ab6d]) by smtp.gmail.com with ESMTPSA id c12sm55883402qka.42.2019.01.12.12.38.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Jan 2019 12:38:30 -0800 (PST) From: Joel Fernandes <joel@joelfernandes.org> To: linux-kernel@vger.kernel.org Cc: "Joel Fernandes (Google)" <joel@joelfernandes.org>, Al Viro <viro@zeniv.linux.org.uk>, Andrew Morton <akpm@linux-foundation.org>, Andy Lutomirski <luto@kernel.org>, dancol@google.com, Hugh Dickins <hughd@google.com>, Jann Horn <jannh@google.com>, "J. Bruce Fields" <bfields@fieldses.org>, Jeff Layton <jlayton@kernel.org>, John Stultz <john.stultz@linaro.org>, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>, Matthew Wilcox <willy@infradead.org>, Mike Kravetz <mike.kravetz@oracle.com>, minchan@kernel.org, Shuah Khan <shuah@kernel.org> Subject: [PATCH v4 0/2] Add a future write seal to memfd Date: Sat, 12 Jan 2019 15:38:14 -0500 Message-Id: <20190112203816.85534-1-joel@joelfernandes.org> X-Mailer: git-send-email 2.20.1.97.g81188d93c3-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fsdevel.vger.kernel.org> X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add a future write seal to memfd
|
expand
|
From: "Joel Fernandes (Google)" <joel@joelfernandes.org> This is just a resend of the previous series at https://lore.kernel.org/patchwork/patch/1014892/ with a small if block refactor as Andy suggested: https://lore.kernel.org/patchwork/comment/1198679/ All, Could you please provide your Reviewed-by / Acked-by tags? I will also resend the manpage changes shortly. Joel Fernandes (Google) (2): mm/memfd: Add an F_SEAL_FUTURE_WRITE seal to memfd selftests/memfd: Add tests for F_SEAL_FUTURE_WRITE seal fs/hugetlbfs/inode.c | 2 +- include/uapi/linux/fcntl.h | 1 + mm/memfd.c | 3 +- mm/shmem.c | 25 +++++++- tools/testing/selftests/memfd/memfd_test.c | 74 ++++++++++++++++++++++ 5 files changed, 100 insertions(+), 5 deletions(-) -- 2.20.1.97.g81188d93c3-goog