In the errata kernel 2.2.19 there is a new patch for iBCS, linux-2.2.19- ibcs.patch, to work-around the strlen_user problem. I have an application, that works throught iBCS, that stopped working with the 2.2.19 kernel due to this patch. I get an error about "The TERM variable is not set. Set it and try again", even if the TERM variable is defined. To solve this, I reverted the above mentioned patch and applied the one posted here: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg38272.html I'm not a programmer and cannot tell if it does the right thing, what I know is that my app is working again now :-)
I'll add this patch to our 2.2.19 tree so that it will be included if/when we put out a new 2.2.19 kernel.
This is corrected in latest 2.2.19 errata