On 08.06.24 04:10, John Hubbard wrote:
Eventually, once the build succeeds on a sufficiently old distro, the idea is to delete $(KHDR_INCLUDES) from the selftests/mm build, and then after that, from selftests/lib.mk and all of the other selftest builds. For now, this series merely achieves a clean build of selftests/mm on a not-so-old distro: Ubuntu 23.04:
Wasn't the plan to rely on the tools/include headers, and pull in there whatever we need?
1. Add __NR_mseal.
For example, making sure that tools/include/uapi/asm-generic/unistd.h is updated to contain __NR_mseal?
... to avoid hand-crafted defines we have to maintain for selftests. But maybe I am remembering something outdated. -- Cheers, David / dhildenb