[PULL 2/9] linux-user: report ENOTTY for unknown ioctls

2023-05-17 Thread Laurent Vivier
From: Thomas Weißschuh The correct error number for unknown ioctls is ENOTTY. ENOSYS would mean that the ioctl() syscall itself is not implemented, which is very improbable and unexpected for userspace. ENOTTY means "Inappropriate ioctl for device". This is what the kernel returns on unknown io

[PULL 2/9] linux-user: report ENOTTY for unknown ioctls

2023-05-16 Thread Laurent Vivier
From: Thomas Weißschuh The correct error number for unknown ioctls is ENOTTY. ENOSYS would mean that the ioctl() syscall itself is not implemented, which is very improbable and unexpected for userspace. ENOTTY means "Inappropriate ioctl for device". This is what the kernel returns on unknown io

[PULL 2/9] linux-user: report ENOTTY for unknown ioctls

2023-05-15 Thread Laurent Vivier
From: Thomas Weißschuh The correct error number for unknown ioctls is ENOTTY. ENOSYS would mean that the ioctl() syscall itself is not implemented, which is very improbable and unexpected for userspace. ENOTTY means "Inappropriate ioctl for device". This is what the kernel returns on unknown io

[PULL 2/9] linux-user: report ENOTTY for unknown ioctls

2023-05-12 Thread Laurent Vivier
From: Thomas Weißschuh The correct error number for unknown ioctls is ENOTTY. ENOSYS would mean that the ioctl() syscall itself is not implemented, which is very improbable and unexpected for userspace. ENOTTY means "Inappropriate ioctl for device". This is what the kernel returns on unknown io