tech-kern archive

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

Re: autoloading compat43 on tty ioctls



On Sat, Oct 10, 2020 at 11:49:47 -0700, Paul Goyette wrote:

> True, but the way ioctl's are handled in kern/tty.c seems to auto-load
> the compat_43 and compat_60 modules for _any_ unhandled ioctl.  So if
> you have an illegal/invalid ioctl it will autoload the modules, and then
> unload them 10 seconds later.
> 
> I question whether we should do the autoloads...

I think I mentioned exectly this problem in Lillehammer - I noticed it
a few years ago b/c newever binutils started using some reloc type or
other that sh3 kobj was not prepared to handle, so you'd see a kernel
message on each (auto)load.

-uwe


Home | Main Index | Thread Index | Old Index