diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-01-30 15:52:16 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-01 23:36:11 +0100 |
commit | a979b72747e34add3433a23c0966490cd809120f (patch) | |
tree | 45d4888dc9ee62a8d851dc27b435516f827718b5 /posix/sys/times.h | |
parent | 65392c84782a53b0d7705ca0207c95c3da41c7dc (diff) | |
download | glibc-a979b72747e34add3433a23c0966490cd809120f.tar.gz glibc-a979b72747e34add3433a23c0966490cd809120f.tar.xz glibc-a979b72747e34add3433a23c0966490cd809120f.zip |
hurd: Implement SHM_ANON
This adds a special SHM_ANON value that can be passed into shm_open () in place of a name. When called in this way, shm_open () will create a new anonymous shared memory file. The file will be created in the same way that other shared memory files are created (i.e., under /dev/shm/), except that it is not given a name and therefore cannot be reached from the file system, nor by other calls to shm_open (). This is accomplished by utilizing O_TMPFILE. This is intended to be compatible with FreeBSD's API of the same name. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230130125216.6254-4-bugaevc@gmail.com>
Diffstat (limited to 'posix/sys/times.h')
0 files changed, 0 insertions, 0 deletions