On Oct 21, 10:30am, p...@vps1.whooppee.com (Paul Goyette) wrote: -- Subject: More terminal iocctl's need to be PASSTHROUGH?
| I noticed christos updated the list of PASSTHROGUH IOCCTLs the other | day, so I figured that might reduce the boucing in/out of compat module. | | But it seems that there's more work to do here. In a xterm window, and | running tcsh as my shell, simply typing a backspace character causes the | module to bounce in. | Can you apply this and tell me what it prints? It does not print for me. christos Index: tty.c =================================================================== RCS file: /cvsroot/src/sys/kern/tty.c,v retrieving revision 1.269 diff -u -u -r1.269 tty.c --- tty.c 18 Oct 2015 15:58:23 -0000 1.269 +++ tty.c 21 Oct 2015 11:52:44 -0000 @@ -1395,6 +1395,7 @@ return EPASSTHROUGH; default: + printf("BARF 0x%lx\n", cmd); #ifdef COMPAT_60 error = compat_60_ttioctl(tp, cmd, data, flag, l); if (error != EPASSTHROUGH)