tech-kern archive

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

Re: autoloading compat43 on tty ioctls

It seems that after christos's change only applications that
#include <sys/ioctl_compat.h> will require tty_43.c

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...

| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 |     |
| Software Developer | 0786 F758 55DE 53BA 7731 |   |

Home | Main Index | Thread Index | Old Index