Module Name: src Committed By: chs Date: Wed Dec 21 19:08:22 UTC 2022
Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_interceptors_ioctl_netbsd.inc sanitizer_platform_limits_netbsd.cc sanitizer_platform_limits_netbsd.h src/sys/net: ppp_tty.c src/sys/sys: ttycom.h Log Message: ppp: remove ioctls that never worked and crash the kernel Remove vestigial bits of PPP HDLC support that never worked on netbsd. The TIOCRCVFRAME ioctl was apparently intended to be called only from within the kernel, but nothing prevents user code from calling this ioctl and crashing the kernel. Reported-by: syzbot+53e4620d0d17a4dd0...@syzkaller.appspotmail.com Reported-by: syzbot+d3a8b784fed1e32e0...@syzkaller.appspotmail.com Reported-by: syzbot+375bab63345a6a7a3...@syzkaller.appspotmail.com Reported-by: syzbot+ba7ac85196274a20b...@syzkaller.appspotmail.com Reported-by: syzbot+57ddb63a3d1d3299e...@syzkaller.appspotmail.com To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc cvs rdiff -u -r1.8 -r1.9 \ src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.cc cvs rdiff -u -r1.7 -r1.8 \ src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.h cvs rdiff -u -r1.71 -r1.72 src/sys/net/ppp_tty.c cvs rdiff -u -r1.21 -r1.22 src/sys/sys/ttycom.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.