]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix memfd_create tests after r365524
authorKyle Evans <kevans@FreeBSD.org>
Thu, 10 Sep 2020 17:23:30 +0000 (17:23 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 10 Sep 2020 17:23:30 +0000 (17:23 +0000)
commit944174e7bfbd3171f42a33e1ba6614ba19d29ad1
tree0483978c768b278b04c4c6ce4f2ebe1ef42e17e9
parentb804b5bca1285be4f7c6822dd658db5a37f5ba93
Fix memfd_create tests after r365524

r365524 did accidentally invert this check that sets SHM_LARGEPAGE, leading
non-hugetlb memfd as unconfigured largepage shm and thus test failures when
we try to ftruncate or write to them.

PR: 249236
Discussed with: kib
lib/libc/sys/shm_open.c