[SRU][B][PATCH 0/1] Fix build issues in selftest/memfd

Luke Nowakowski-Krijger luke.nowakowskikrijger at canonical.com
Mon Aug 30 18:50:38 UTC 2021


[Impact]

BugLink: https://bugs.launchpad.net/bugs/1926142

There are build issues in selftest/memfd that are leading to regression
and adt test failures across all B/5.4 and possibly hwe kernels due to 
selftests being built against headers that do not have the newer 
definitions used by the tests.

[Fix]

* selftests/memfd: fix build when F_SEAL_FUTURE_WRITE is not defined

[Test Plan]
Recompile tests to make sure they build and tests pass.

[Where problems could occur]
We might see test failures in the future if there are any new tests
added that reference F_SEAL_FUTURE_WRITE, and someone would have to
manually switch off the test again to prevent it from failing.


Luke Nowakowski-Krijger (1):
  selftests/memfd: fix build when F_SEAL_FUTURE_WRITE is not defined

 tools/testing/selftests/memfd/memfd_test.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.30.2




More information about the kernel-team mailing list