Peter Memishian wrote: > > 1) The macros themselves that make use of _IOCPARM_MASK (_IOR, _IOW, > > _IORW) are "private" to ON. That is, external code shouldn't be > > directly using them. kqemu falls down here. I'm not sure we need to > > worry about that. > > But the macros are older than dirt and common in other Unices (e.g., the > 4.2 BSD tree -- circa 1983 -- has 'em), so it seems a bit of a stretch to > consider them private to ON. > > > 2) I did find *one* potential issue in ON, which is that struct > > iftun_req has a size of 600. All other ioctls defined in ON header > > files use sizes that won't be truncated. The ioctls impacted are > > SIOCGTUNPARAM and SIOCSTUNPARAM. > > FWLIW, those ioctls are gone in the Clearview gate and will be gone from > ON when Clearview IP Tunneling integrates. >
OK, so let me ask a dumb question. If the ioctls are gone, are they used by any code outside of ON? They are certainly documented in tun(7M), but I'm inclined to believe that nothing uses them. One of my biggest concerns, though, is punchin. I don't know if punchin makes use of them at all. (Dan McDonald: can you comment?) -- Garrett _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code