This is not affect Noble 6.8, despite the test output is identical:
Running 'make run_tests -C memfd TEST_PROGS=run_hugetlbfs_test.sh TEST_GEN_PROGS='' TEST_CUSTOM_PROGS=''' make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd' TAP version 13 1..1 # timeout set to 45 # selftests: memfd: run_hugetlbfs_test.sh # memfd-hugetlb: CREATE # memfd-hugetlb: BASIC # memfd-hugetlb: SEAL-EXEC # memfd-hugetlb: Apply SEAL_EXEC # fchmod(/memfd:kern_memfd_seal_exec (deleted), 00777) didn't fail as expected # ./run_hugetlbfs_test.sh: line 60: 15915 Aborted (core dumped) ./memfd_test hugetlbfs # opening: ./mnt/memfd # ADD_SEALS(6, 0 -> 8) failed: Device or resource busy # 8 != 0 = GET_SEALS(6) # Aborted (core dumped) ok 1 selftests: memfd: run_hugetlbfs_test.sh
This is not affect Noble 6.8, despite the test output is identical:
Running 'make run_tests -C memfd TEST_PROGS= run_hugetlbfs_ test.sh TEST_GEN_PROGS='' TEST_CUSTOM_ PROGS=' '' ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ memfd' test.sh /memfd: kern_memfd_ seal_exec (deleted), 00777) didn't fail as expected _test.sh: line 60: 15915 Aborted (core dumped) ./memfd_test hugetlbfs test.sh
make: Entering directory '/home/
TAP version 13
1..1
# timeout set to 45
# selftests: memfd: run_hugetlbfs_
# memfd-hugetlb: CREATE
# memfd-hugetlb: BASIC
# memfd-hugetlb: SEAL-EXEC
# memfd-hugetlb: Apply SEAL_EXEC
# fchmod(
# ./run_hugetlbfs
# opening: ./mnt/memfd
# ADD_SEALS(6, 0 -> 8) failed: Device or resource busy
# 8 != 0 = GET_SEALS(6)
# Aborted (core dumped)
ok 1 selftests: memfd: run_hugetlbfs_