tt_ioctl

M. Warner Losh imp at bsdimp.com
Wed Apr 9 16:17:15 UTC 2008


In message: <50325.1207757374 at critter.freebsd.dk>
            "Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
: In message <18428.59782.318085.53492 at gromit.timing.com>, John E Hein writes:
: 
: >That said... if we do decide to _not_ hook up t_ioctl, then we should
: >just remove it entirely since it's misleading that it's there but not
: >hooked up.
: 
: Well, if we agree that you should use a non-tty device, we may still
: miss the poster child ioctl to make the decision...

I don't think we agreed that should use a non-tty device.  There's
good reasons to allow ioctls passed through to the driver.  There's
historical precedent, and if there's a security concern, the driver
writer can put a suser() call to make sure that things are cool for
mere mortals.

Basically, having another device would be very duplicative in the
driver, and the reasons for it don't make sense to me.

Warner


More information about the freebsd-arch mailing list