News for hackers. Stuff that matters.
Re:Debugging an Ioctl Problem on OpenBSD by loeg on Thursday February 17, 2022 @11:19PM (#30382093)
I believe FreeBSD intentionally truncates provided ioctls to the low 32-bit space because of exactly this kind of bogus assumption in userspace:

https://github.com/freebsd/freebsd-src/blob/main/sys/kern/sy...

It's a relatively recent change (2020). Here's the corresponding place OpenBSD doesn't do that:

https://github.com/openbsd/src/blob/master/sys/kern/sys_gene...

There are no comments on this comment yet.