[LTP] [PATCH] getrlimit/getrlimit03: Skip test if __NR_getrlimit not implemented
Tiezhu Yang
yangtiezhu@loongson.cn
Tue Jul 8 11:04:06 CEST 2025
On 2025/7/8 下午3:12, Tiezhu Yang wrote:
> In the Linux kernel, LoongArch uses the generic syscall table which
> is defined in include/uapi/asm-generic/unistd.h, and also there is
> no __ARCH_WANT_SET_GET_RLIMIT in arch/loongarch/include/asm/unistd.h,
> so __NR_getrlimit is not implemented on LoongArch.
>
> That is to say, getrlimit are superseded with prlimit64. There is no
> need to compare the return value and errno about the syscall numbers
> __NR_prlimit64 and __NR_getrlimit, just check this case and then skip
> the test.
I received the following reply
"Your message to ltp awaits moderator approval"
after sending out this patch, because I am not
a member of LTP mailing list, so I subscribe to
the list and then send another same patch.
Please ignore this thread. If you have comments,
please reply to the other thread.
https://lore.kernel.org/ltp/20250708071706.19639-1-yangtiezhu@loongson.cn/T/#u
Sorry for the noise.
Thanks,
Tiezhu
More information about the ltp
mailing list