# Re: \[PATCH v19 8/8\] secretmem: test: add basic selftest for memfd\_secret(2)

- From: David Hildenbrand \<hidden\>
- Date: 2021-05-14 09:41:00 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/05/205997
- Thread: https://ratatoskr.run/linux-api/2021/05/205953/t.md

```text
On 13.05.21 20:47, Mike Rapoport wrote:
> From: Mike Rapoport <redacted>
>
> 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

```
