Date: Sun, 29 Mar 2009 20:09:51 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_ioctl.c freebsd32_ioctl.h Message-ID: <200903292010.n2TKA5X8010730@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-03-29 20:09:51 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_ioctl.c freebsd32_ioctl.h Log: SVN rev 190529 on 2009-03-29 20:09:51Z by ed Emulate the FIODGNAME ioctl in our 32-bit emulator. It's quite strange that nobody reported this issue before. It turns out functions like ttyname(), ptsname() and fdevname() don't work in compat32. This means it't not even possible to run applications like script(1) inside a 32-bit FreeBSD jail. Fix this by converting 32-bit fiodgname_arg structures to their 64-bit equivalent. Reported by: kris Tested by: kris Revision Changes Path 1.3 +20 -0 src/sys/compat/freebsd32/freebsd32_ioctl.c 1.3 +6 -0 src/sys/compat/freebsd32/freebsd32_ioctl.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903292010.n2TKA5X8010730>