commit | 9e8dd1c7f15147074949bda0c4478da6f4038824 | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Thu May 09 18:51:53 2019 +0000 |
committer | Rich Felker <dalias@aerifal.cx> | Mon Jul 01 14:11:56 2019 -0400 |
tree | 81782d01792fae8ec2b7f02c41917ef1cc69309a | |
parent | f67b3c1799e0b0258b9c4c075673e2f4de903cc9 [diff] |
fcntl.h: add F_SEAL_FUTURE_WRITE from linux v5.1 needed for android so it can migrate from its ashmem to memfd. allows making the memfd readonly for future users while keeping a writable mmap of it. see linux commit ab3948f58ff841e51feb845720624665ef5b7ef3 mm/memfd: add an F_SEAL_FUTURE_WRITE seal to memfd