summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-03-29 20:09:51 +0000
committered <ed@FreeBSD.org>2009-03-29 20:09:51 +0000
commit7fc8939e4af09d8b16ac55a6c035c46225e41be2 (patch)
tree0e16d629a0a4aa6c660e3317e3982aa9c27f8605 /lib/libc/stdlib/labs.c
parentfc0f6282595cda6d3261a116eb66402a1e461cd3 (diff)
downloadFreeBSD-src-7fc8939e4af09d8b16ac55a6c035c46225e41be2.zip
FreeBSD-src-7fc8939e4af09d8b16ac55a6c035c46225e41be2.tar.gz
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
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud