[LTP] [PATCH ltp] syscalls/bind03: Add version compare according to behaviour difference.

Xiao Yang yangx.jy@cn.fujitsu.com
Fri Aug 31 10:48:45 CEST 2018


On 2018/08/31 16:37, Petr Vorel wrote:
> Hi Junchi,
>
>> ISSUE:
>>    The case is designed to test the behaviour diverse caused by kernel
>>    commit 0fb44559ffd6. And it failed for the new behaviour.
>> ACTION:
>>    Add a version compare to split part of the test.
>> Signed-off-by: Junchi Chen<junchi.chen@intel.com>
> Merged, thanks!
Hi Petr,

According to bind(2) manpge, bind() should return EINVAL when the socket 
is already
bound to an address.  Commit 0fb4455 actually change the errno to 
EADDRINUSE, but
i am not sure if this change is a expeceted behavior.

Thanks,
Xiao Yang
>
> Kind regards,
> Petr
>





More information about the ltp mailing list