Re: [PATCH] posix-clock: Explicitly handle compat ioctls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025-01-22 18:15:13+0100, Arnd Bergmann wrote:
> A simpler variant of the patch would move the switch/case logic
> into posix_clock_compat_ioctl() and avoid the extra function
> pointer, simply calling posix_clock_ioctl() with the modified
> argument.

That would work, but be a layering violation.
Or a "compat_mode" argument to ptp_ioctl()

I'm fine with either approach.


Thomas




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux