HomeFreeBSD

memfd_create: turn on SHM_GROW_ON_WRITE

Description

memfd_create: turn on SHM_GROW_ON_WRITE

memfd_create fds will no longer require an ftruncate(2) to set the size;
they'll grow (to the extent that it's possible) upon write(2)-like syscalls.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D25502

Details

Provenance
kevansAuthored on
Reviewer
kib
Differential Revision
D25502: shm_open2: Implement SHM_GROW_ON_WRITE
Parents
rS363065: shm_open2: Implement SHM_GROW_ON_WRITE
Branches
Unknown
Tags
Unknown