On 22/03/2024 13:29, Akram Ahmad wrote:
I've built this locally and it all works as expected on my board when running the tests (all tests passing). Even though I've defined most of the syscall helpers in the kselftest file itself, I think it's fine to keep tmpfd in freestanding.h
Thank you for the review and testing! Now applied on next.
Note that tmpfd() is used by many tests so it has to be declared in a common header (freestanding.h).
Kevin