Message ID | 20220226031127.424C0C340EF@smtp.kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [01/12] MAINTAINERS: add sysctl-next git tree | expand |
--- a/tools/testing/selftests/memfd/memfd_test.c~selftests-memfd-clean-up-mapping-in-mfd_fail_write +++ a/tools/testing/selftests/memfd/memfd_test.c @@ -455,6 +455,7 @@ static void mfd_fail_write(int fd) printf("mmap()+mprotect() didn't fail as expected\n"); abort(); } + munmap(p, mfd_def_size); } /* verify PUNCH_HOLE fails */