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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 6F550C433B4 for ; Fri, 14 May 2021 09:43:01 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 F017A6140E for ; Fri, 14 May 2021 09:43:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F017A6140E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:Subject: From:References:Cc:To:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yXZfZnvVGfXjaYJtNW+qoae8Wc8xHlH6wKaZ4OXi49U=; b=bGVmtP3iD+d+y1sUjQd2AEoBw 3+59tgstea1d1j9lbzs9W8kyL9IvMIBvgbuJyo0T0kGs12GB4oRSf604LEkjU5bxNHjBwSCpNxFsa 3bYeQ33hkVkgjzcsGIjE9E68b10fVuJVgQ0gxEDON36EA+rIsX3mN3pKC5nzVL2KApttKGzr+/oEo i9fALHxGGNrC0Yw3KpnLKRp+0cUwJ6wV7K9yH1IOBNgUZJAKVvp1FNGvOzx5m8sm2w7zOBJgfW90I DGBParQ0WKEZvahEwSOZhx60e0TvcLDfycFKnwmUJHiuvZi6E84kMo8pDRMZmEyhPItOqcpsz3LeK 1GrbuFK/A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhUJb-007fP0-Dp; Fri, 14 May 2021 09:41:03 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhUJY-007fOc-FF for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 09:41:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:Subject:From:References :Cc:To:Sender:Reply-To:Content-ID:Content-Description; bh=bvT1h5Dtf95/bClBJ8t/oO4/WMLk+en4nCrG5Kuj0DQ=; b=cVjMq78kSZICo1Wsn3rvbGLjx1 f6udnK3pg8n1sAvqCrG4oPopy65Bd6XvoO1V3vdl6r4aUg5mDAzekomncVKeSuIQdZbHZ09HmxsWx VUEX8cIhzvKv7omTWJ8mjHLBKSDtl0rNMDDZAFA3Zna8a3rlOM8TuoESJl4S+Cf/ypY4VwKJyOlN0 MeNFCqgVznwsJIUGIb56dmeXIO+3TPhuHuO0qicou4cs5LuA1XkAtCmy32R037A7rcRUlfEwi9tKZ xomU++z7AZKbicb7STpnCEK+A5PwOEKaf6sEmc/uvfRQjSDfmd1VFSdLb9waecb1M0qd2DchTbqqb ATlixBIw==; Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhUJV-00Brx3-V9 for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 09:40:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620985256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bvT1h5Dtf95/bClBJ8t/oO4/WMLk+en4nCrG5Kuj0DQ=; b=YHwHH2ihE7MF9kaK0vsik5rPLpZbkAUFbP8cqiMPKL842Jxo4sKcRWxdJaKlQxdLN0ogu5 AhCDbUdwKZBMnFEFSiTR47nPfi/9qV7pOUIxsDX1FeV+S8ay0s+SgT0GdlGvkPlmz0S6Ij yW93BW+P5qecf0Cij/30E7Za6KCFfM8= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-167-sDb_rIolO3u7empTtvN1ng-1; Fri, 14 May 2021 05:40:55 -0400 X-MC-Unique: sDb_rIolO3u7empTtvN1ng-1 Received: by mail-ed1-f69.google.com with SMTP id i19-20020a05640242d3b0290388cea34ed3so16069285edc.15 for ; Fri, 14 May 2021 02:40:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:organization:subject :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=bvT1h5Dtf95/bClBJ8t/oO4/WMLk+en4nCrG5Kuj0DQ=; b=YswW2B+f9vY1eYDXHT+o4Y8BySng0Mzt3Ak45gQy0UrZbf/Bc6IrHZKLcwVXpPV/mm 3QVhIJw/obAhjRH4b0piazSGdjop/C93PX0XpWgG7R/zy/piQDY+s4hFebdAcRoccpjZ 71TAV1Q4eV32zeq8bMolyGzI8npehnkcrXfCz2Go/D9xkbqNumRxrYI/uSxLcAZjTZCI Ftf4C4eHTW8CSh1w94E9DqpFRwho07T93v0miqT65bU2xiEO2jngzWSnEeQ8yuU/+caM JSLpQ7JdnnagDhdRYVVS/apApSiBYaF6OlpWQjU2yuKrVrK+mfl4K3moE+ldA4P1IbjT 4y/w== X-Gm-Message-State: AOAM531z/fNTI5YMcMHGA1puR/rFhVlCb9HI3I3uoyEAyVsGFMiLdpfw sXvXpWumS0qbfAJpxuSAqYC/1uRfloSzXALOWegTIIZVI9zcvNbR6YaBpMquZrw0x8PrUepZAuu vJnlXi4sPAZBOxN0/J2UIRT+aTI62rO/7Jxo= X-Received: by 2002:a05:6402:2d6:: with SMTP id b22mr55674433edx.274.1620985253912; Fri, 14 May 2021 02:40:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNzAwSfBkG72zB94sJxDLgDbZ+DEQn4gYm5J85sFFQeIUDMZK27eq70zvt8ZCsSnIvH+CO+w== X-Received: by 2002:a05:6402:2d6:: with SMTP id b22mr55674419edx.274.1620985253764; Fri, 14 May 2021 02:40:53 -0700 (PDT) Received: from [192.168.3.132] (p5b0c6501.dip0.t-ipconnect.de. [91.12.101.1]) by smtp.gmail.com with ESMTPSA id g10sm2885347ejd.109.2021.05.14.02.40.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 May 2021 02:40:53 -0700 (PDT) To: Mike Rapoport , Andrew Morton Cc: Alexander Viro , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christopher Lameter , Dan Williams , Dave Hansen , Elena Reshetova , "H. Peter Anvin" , Hagen Paul Pfeifer , Ingo Molnar , James Bottomley , Kees Cook , "Kirill A. Shutemov" , Matthew Wilcox , Matthew Garrett , Mark Rutland , Michal Hocko , Mike Rapoport , Michael Kerrisk , Palmer Dabbelt , Palmer Dabbelt , Paul Walmsley , Peter Zijlstra , "Rafael J. Wysocki" , Rick Edgecombe , Roman Gushchin , Shakeel Butt , Shuah Khan , Thomas Gleixner , Tycho Andersen , Will Deacon , Yury Norov , linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org References: <20210513184734.29317-1-rppt@kernel.org> <20210513184734.29317-9-rppt@kernel.org> From: David Hildenbrand Organization: Red Hat Subject: Re: [PATCH v19 8/8] secretmem: test: add basic selftest for memfd_secret(2) Message-ID: Date: Fri, 14 May 2021 11:40:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210513184734.29317-9-rppt@kernel.org> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_024058_137059_011CD469 X-CRM114-Status: GOOD ( 16.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 13.05.21 20:47, Mike Rapoport wrote: > From: Mike Rapoport > > The test verifies that file descriptor created with memfd_secret does not > allow read/write operations, that secret memory mappings respect > RLIMIT_MEMLOCK and that remote accesses with process_vm_read() and > ptrace() to the secret memory fail. > [...] > @@ -0,0 +1,296 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright IBM Corporation, 2020 2021 ? -- Thanks, David / dhildenb _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel