Re:Debugging an Ioctl Problem on OpenBSD
by kevin_b_er on Thursday February 17, 2022 @10:56AM
(#30374433)
I'm annoyed ktrace wasn't revisited. If the integer was getting truncated, why did ktrace print that the request was still VIDIOC_S_FMT? Shouldn't it have printed some goofy number that didn't match?
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...
https://github.com/openbsd/src/blob/master/usr.bin/kdump/mki...