[PATCH 0/3] Linux: Keep termios ioctl constants strictly internal

H. Peter Anvin hpa@zytor.com
Tue Jul 15 15:11:15 GMT 2025


On July 15, 2025 12:39:06 AM PDT, Andreas Schwab <schwab@suse.de> wrote:
>On Jul 14 2025, H. Peter Anvin wrote:
>
>> When this was first discussed I suggested that the Right Thing for the
>> sanitizer to do is to use <linux/ioctl.h> and <linux/termios.h> instead of
>> <sys/ioctl.h> and <termios.h>, because what the sanitizer is looking for
>> (in this case) is specifically the kernel ABIs.
>
>But the sanitizer intercepts libc, not syscalls.
>

It does, but ioctl(3) is basically ioctl(2), much like intercepting syscall(3).


More information about the Libc-alpha mailing list