Skip to content

util: os_same_file_description: fix unknown linux < 3.5 syscall SYS_kcmp

https://man7.org/linux/man-pages/man2/kcmp.2.html

The kcmp() system call first appeared in Linux 3.5.

But was probably also not supported by all major platforms at that time. So fallback to the check that is done for windows.

Signed-off-by: Thomas Devoogdt thomas.devoogdt@barco.com

Merge request reports