freebsd-dev/tests/sys/posixshm
Ka Ho Ng 454bc887f2 uipc_shm: Implements fspacectl(2) support
This implements fspacectl(2) support on shared memory objects. The
semantic of SPACECTL_DEALLOC is equivalent to clearing the backing
store and free the pages within the affected range. If the call
succeeds, subsequent reads on the affected range return all zero.

tests/sys/posixshm/posixshm_tests.c is expanded to include a
fspacectl(2) functional test.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	kevans, kib
Differential Revision:	https://reviews.freebsd.org/D31490
2021-08-12 23:04:18 +08:00
..
Makefile tests: move the memfd tests over to sys/posixshm 2020-09-23 19:54:59 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
memfd_test.c tests: move the memfd tests over to sys/posixshm 2020-09-23 19:54:59 +00:00
posixshm_test.c uipc_shm: Implements fspacectl(2) support 2021-08-12 23:04:18 +08:00