If an ioctl(2) request isn't implemented we should return ENOTTY.
authorkettenis <kettenis@openbsd.org>
Sun, 23 Jun 2024 22:08:37 +0000 (22:08 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 23 Jun 2024 22:08:37 +0000 (22:08 +0000)
commit87449d881a8c47d47213f4f4c8d06025b44e5afd
tree31cb51e0cf1306c66cce0118a536df26e864c58d
parent0f0ca42219342ba30757b892bc28ec1d98fb0f20
If an ioctl(2) request isn't implemented we should return ENOTTY.

ok deraadt@
13 files changed:
sys/arch/alpha/alpha/mem.c
sys/arch/amd64/amd64/mem.c
sys/arch/arm/arm/mem.c
sys/arch/arm64/arm64/mem.c
sys/arch/hppa/hppa/mem.c
sys/arch/i386/i386/mem.c
sys/arch/m88k/m88k/mem.c
sys/arch/macppc/macppc/mem.c
sys/arch/mips64/mips64/mem.c
sys/arch/powerpc64/powerpc64/mem.c
sys/arch/riscv64/riscv64/mem.c
sys/arch/sh/sh/mem.c
sys/arch/sparc64/sparc64/mem.c