[LTP] [PATCH] syscalls/sendmmsg: add new test

Steve Muckle smuckle@google.com
Thu Mar 21 00:57:24 CET 2019

On 03/20/2019 04:04 PM, Petr Vorel wrote:
>> +	retval = sendmmsg(send_sockfd, msg, 2, 0);
> Unfortunately we need to have autotools check for sendmmsg() [1]
> to fix failure on old distros
> /usr/src/ltp/testcases/kernel/syscalls/sendmmsg/sendmmsg01.c   -lltp -o sendmmsg01
> /usr/src/ltp/testcases/kernel/syscalls/sendmmsg/sendmmsg01.c: In function 'sender_thread':
> /usr/src/ltp/testcases/kernel/syscalls/sendmmsg/sendmmsg01.c:53: warning: implicit declaration of function 'sendmmsg'
> /tmp/ccqXXRS6.o: In function `sender_thread':
> /usr/src/ltp/testcases/kernel/syscalls/sendmmsg/sendmmsg01.c:53: undefined reference to `sendmmsg'

Thanks Petr for your review and pointing me to the issue. I will add a 
config check for this.


More information about the ltp mailing list