You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tst_device: Move tst_dev_sync() into from header to source file
While socketcall01.c could (and should) be easily fixed by using
tst_syscall() instead of custom syscall support detection and
nothing else was broken by 9e83513, before release do more
conservative fix by moving tst_dev_sync() into library code.
This fixes regression in detecting socketcall() syscall support for
archs which does not support it (e.g. x86_64, ARM):
socketcall01.c:42: FAIL: socketcall() for TCP stream failed with -1: ENOSYS (38)
socketcall01.c:42: FAIL: socketcall() for unix domain dgram failed with -1: ENOSYS (38)
socketcall01.c:42: FAIL: socketcall() for Raw socket failed with -1: ENOSYS (38)
socketcall01.c:42: FAIL: socketcall() for UDP dgram failed with -1: ENOSYS (38)
Fixes: 9e83513 "tst_device.h: Use lapi/syscalls.h instead of <sys/syscall.h>"
Fixes: #634
Suggested-by: Martin Doucha <[email protected]>
Acked-by: Cyril Hrubis <[email protected]>
Signed-off-by: Petr Vorel <[email protected]>
0 commit comments