[LTP] [PATCH v2] syscalls/renameat: Remove renameat fallback definition

Petr Vorel pvorel@suse.cz
Mon Oct 16 10:03:49 CEST 2023


Hi Xu,

> Looking at man renameat, it was added into kernel 2.6.16 and since the
> oldest kernel we support is 3.10 (see doc/supported-kernel-libc-versions
> .txt) we can as well completely drop this fallback definition.

BTW although man is correct, the lapi function was IMHO done due missing libc
support. It was added in glibc 2.4, thus not sure why the support was added in
2014, probably to support the oldest distros.

Also, without kernel support the function would not work at all,
therefore it is irrelevant when readlinkat was added into kernel.

Thus I dared to update the commit message.

Kind regards,
Petr


More information about the ltp mailing list