HomeFreeBSD

posixshm: implement posix_fallocate(2)

Description

posixshm: implement posix_fallocate(2)

Linux expects to be able to use posix_fallocate(2) on a memfd. Other places
would use this with shm_open(2) to act as a smarter ftruncate(2).

Test has been added to go along with this.

Reviewed by: kib (earlier version)
Differential Revision: https://reviews.freebsd.org/D23042

Details

Provenance
kevansAuthored on Jan 8 2020, 7:08 PM
Parents
rG7ce40722673b: Bump __FreeBSD_version after r356510
Branches
Unknown
Tags
Unknown

Event Timeline