History log of /src/sys/compat/linux/common/linux_termios.h |
Revision | | Date | Author | Comments |
1.23 |
| 23-Sep-2021 |
ryo | add support COMPAT_LINUX for aarch64
|
1.22 |
| 23-Aug-2019 |
maxv | Fix info leaks.
|
1.21 |
| 25-Sep-2011 |
chs | branches: 1.21.28; 1.21.40; 1.21.46; 1.21.54; 1.21.58; linux_termio c_cc array should be indexed by LINUX_OLD_V* rather than LINUX_V*. fixes array overrun on alpha noticed by gcc 4.5.
|
1.20 |
| 04-Jul-2011 |
mrg | avoid array bounds violation on netbsd/mips when dealing with termio structures. (did linux/mips ever support termio?).
the effect of this is that termio linux apps won't have VEOF support. i can't tell what it should be since that code isn't in linux going back quite some years.
|
1.19 |
| 15-Mar-2009 |
cegger | ansify function definitions
|
1.18 |
| 28-Jun-2008 |
chris | branches: 1.18.4; 1.18.10; Fix warnings about type conversions by using linux_speed_t type on linux_speeds[] rather than speed_t.
On Arm (and others) linux uses unsigned long, however, NetBSD uses unsigned int.
|
1.17 |
| 28-Apr-2008 |
martin | branches: 1.17.2; 1.17.4; Remove clause 3 and 4 from TNF licenses
|
1.16 |
| 04-Dec-2007 |
dsl | branches: 1.16.12; 1.16.14; 1.16.16; Remove all the __P
|
1.15 |
| 15-Feb-2006 |
manu | branches: 1.15.38; 1.15.40; 1.15.46; 1.15.50; - Move the BSD to Linux and Linux to BSD termio/termios conversion functions to a header where they can be shared between COMPAT_LINUX and COMPAT_LINUX32 - Add termios ioctl emulation to COMPAT_LINUX32 - Add the getcwd system call to COMPAT_LINUX32/amd64
That makes Linux's bash working with COMPAT_LINUX32.
|
1.14 |
| 11-Dec-2005 |
christos | branches: 1.14.2; 1.14.4; 1.14.6; merge ktrace-lwp.
|
1.13 |
| 03-May-2005 |
manu | branches: 1.13.2; First work on COMPAT_LINUX/amd64 Process startup and dynamiclinking work, but processes hang due to Linux arch_prctl(2) not being really supported yet.
|
1.12 |
| 26-Feb-2005 |
perry | nuke trailing whitespace
|
1.11 |
| 14-Jan-2002 |
bjh21 | branches: 1.11.16; 1.11.24; 1.11.26; Crude first cut at ARMLinux binary compatibility. Successfully runs "/emul/linux/bin/echo hello, world", dynamically linked.
|
1.10 |
| 22-Sep-2001 |
manu | Enable Mips Linux emulation in header files
|
1.9 |
| 26-Aug-2001 |
manu | branches: 1.9.2; Moved LINUX_NCCS from MI file to MD file, because the value is different on MIPS and sparc machines.
|
1.8 |
| 20-Jan-2001 |
manu | branches: 1.8.2; 1.8.4; Moved architecure dependent part of struct linux_termio to architecture dependent header files.
|
1.7 |
| 19-Jan-2001 |
manu | Added Linux compatibility support for powerpc ports
|
1.6 |
| 10-Dec-2000 |
fvdl | Add some ioctls for harddisk, floppy disk and console handling. Implement a few extra cdrom ioctl calls. Make sure to correctly use FILE_USE and FILE_UNUSE.
|
1.5 |
| 15-Dec-1998 |
itohy | branches: 1.5.8; 1.5.18; Added linux compat support on m68k ports.
|
1.4 |
| 03-Oct-1998 |
christos | Attempt to fix the mess.
|
1.3 |
| 01-Oct-1998 |
erh | Split compat/linux/linux_termios.h into i386 and common parts.
|
1.2 |
| 05-Jan-1998 |
perry | RCSID Police.
|
1.1 |
| 08-Mar-1996 |
mycroft | Separate ioctl emulation by group. Add (minimal) audio emulation.
|
1.5.18.1 |
| 30-Mar-2001 |
he | Pull up revision 1.6 (requested by fvdl): Add some required Linux emulation bits to support the Linux version of VMware.
|
1.5.8.2 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.5.8.1 |
| 13-Dec-2000 |
bouyer | Sync with HEAD (for UBC fixes).
|
1.8.4.3 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.8.4.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.8.4.1 |
| 13-Sep-2001 |
thorpej | Update the kqueue branch to HEAD.
|
1.8.2.3 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.8.2.2 |
| 26-Sep-2001 |
nathanw | Catch up to -current. Again.
|
1.8.2.1 |
| 21-Sep-2001 |
nathanw | Catch up to -current.
|
1.9.2.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.11.26.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.11.24.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.11.16.2 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.11.16.1 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.13.2.2 |
| 07-Dec-2007 |
yamt | sync with head
|
1.13.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.14.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.14.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.14.2.1 |
| 18-Feb-2006 |
yamt | sync with head.
|
1.15.50.1 |
| 08-Dec-2007 |
ad | Sync with head.
|
1.15.46.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.15.40.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.15.38.1 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.16.16.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.16.16.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.16.14.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.16.12.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.16.12.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.17.4.1 |
| 03-Jul-2008 |
simonb | Sync with head.
|
1.17.2.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.18.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.18.4.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.21.58.1 |
| 13-Sep-2019 |
martin | Pull up following revision(s) (requested by maxv in ticket #194):
sys/compat/linux/common/linux_socket.c: revision 1.146 sys/compat/linux/common/linux_socket.c: revision 1.147 sys/compat/linux/common/linux_socket.c: revision 1.148 sys/compat/linux/common/linux_socket.c: revision 1.149 sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.59 sys/compat/linux32/common/linux32_sysinfo.c: revision 1.8 sys/kern/sysv_shm.c: revision 1.138 sys/compat/linux/common/linux_file64.c: revision 1.61 sys/compat/linux/common/linux_file64.c: revision 1.62 sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.58 sys/compat/linux32/common/linux32_dirent.c: revision 1.20 sys/compat/linux32/common/linux32_utsname.c: revision 1.10 sys/compat/linux/common/linux_termios.h: revision 1.22 sys/compat/linux32/common/linux32_termios.c: revision 1.15 sys/compat/linux32/common/linux32_misc.c: revision 1.27 sys/compat/linux32/common/linux32_ioctl.c: revision 1.14 sys/compat/linux/common/linux_statfs.h: revision 1.7 sys/compat/linux/common/linux_ipc.c: revision 1.57 sys/compat/linux/common/linux_fcntl.h: revision 1.18 sys/compat/linux/common/linux_socket.h: revision 1.24 sys/sys/shm.h: revision 1.54 sys/compat/ossaudio/ossaudio.c: revision 1.75 sys/compat/linux32/common/linux32_signal.c: revision 1.20 sys/miscfs/procfs/procfs_linux.c: revision 1.75 sys/compat/linux/common/linux_signal.c: revision 1.81 sys/compat/linux/common/linux_termios.c: revision 1.38 sys/compat/linux/common/linux_misc.c: revision 1.241 sys/compat/linux/common/linux_misc.c: revision 1.242 sys/compat/linux/common/linux_misc.c: revision 1.243 sys/compat/linux/common/linux_misc.c: revision 1.244
Fix info leaks.
Fix stupid bugs in linux_sys_shmctl(): the index could be out of bound (page fault) and there was no proper locking. Maybe we should just remove LINUX_SHM_STAT, like compat_linux32.
Remove printf.
When dealing with an unknown value, set -1, to prevent (harmless) uninitialized accesses later.
Add a default case, don't call sys_ioctl() with an uninitialized 'com' argument.
Fix error handling, returns an errno, not -1.
Put the printf under DEBUG_LINUX.
Hum, don't forget the 'pid' argument, otherwise we're not gonna go very far.
Don't read data from userland directly. This simply does not work on any recent x86 CPU (thanks to SMAP) and all architectures that forbid direct access to userland from the kernel. But I guess no one noticed because no one ever uses compat_linux, right?
Hum, don't pass an mbuf to realloc(). Inspired from copyin32_msg_control().
Fix memory leak.
I don't see the point in having this useless printf, but add a '\n' to it, so that it at least displays useless stuff correctly.
Hum, remove incorrect assignment. Userland could have passed a smaller namelen, and the uninitialized bytes from sb_data were being used later in the network stack.
|
1.21.54.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.21.46.1 |
| 21-Jan-2020 |
martin | Pull up the following, requested by christos in ticket #1487:
sys/compat/common/kern_sig_43.c 1.36 sys/compat/linux/arch/amd64/linux_machdep.c 1.59 sys/compat/linux/common/linux_fcntl.h 1.18 sys/compat/linux/common/linux_file64.c 1.62 sys/compat/linux/common/linux_ipc.c 1.57 sys/compat/linux/common/linux_misc.c 1.243 sys/compat/linux/common/linux_signal.c 1.81 sys/compat/linux/common/linux_socket.c 1.149 sys/compat/linux/common/linux_socket.h 1.24 sys/compat/linux/common/linux_statfs.h 1.7 sys/compat/linux/common/linux_termios.c 1.38 sys/compat/linux/common/linux_termios.h 1.22 sys/compat/linux32/common/linux32_dirent.c 1.20 sys/compat/linux32/common/linux32_ioctl.c 1.14 sys/compat/linux32/common/linux32_misc.c 1.27 sys/compat/linux32/common/linux32_signal.c 1.20 sys/compat/linux32/common/linux32_sysinfo.c 1.8 sys/compat/linux32/common/linux32_termios.c 1.15 sys/compat/linux32/common/linux32_utsname.c 1.10 sys/compat/netbsd32/netbsd32_compat_20.c 1.39 sys/compat/netbsd32/netbsd32_compat_43.c 1.59 sys/compat/netbsd32/netbsd32_compat_50.c 1.44 sys/compat/ossaudio/ossaudio.c 1.75 sys/kern/sysv_shm.c 1.138 sys/miscfs/procfs/procfs_linux.c 1.75 (patch) sys/sys/shm.h 1.54
Fix various info leaks, out of bound access, usage of uninitialized values and direct access to userland variables from kernel space and memory leaks in system calls implemented for the compatibility subsystems.
|
1.21.40.1 |
| 21-Jan-2020 |
martin | Pull up the following, requested by christos in ticket #1720:
sys/compat/common/kern_sig_43.c 1.36 sys/compat/linux/arch/amd64/linux_machdep.c 1.59 sys/compat/linux/common/linux_fcntl.h 1.18 sys/compat/linux/common/linux_file64.c 1.62 sys/compat/linux/common/linux_ipc.c 1.57 sys/compat/linux/common/linux_misc.c 1.243 sys/compat/linux/common/linux_signal.c 1.81 sys/compat/linux/common/linux_socket.c 1.149 (patch) sys/compat/linux/common/linux_socket.h 1.24 sys/compat/linux/common/linux_statfs.h 1.7 sys/compat/linux/common/linux_termios.c 1.38 sys/compat/linux/common/linux_termios.h 1.22 sys/compat/linux32/common/linux32_dirent.c 1.20 sys/compat/linux32/common/linux32_ioctl.c 1.14 sys/compat/linux32/common/linux32_misc.c 1.27 sys/compat/linux32/common/linux32_signal.c 1.20 sys/compat/linux32/common/linux32_sysinfo.c 1.8 sys/compat/linux32/common/linux32_termios.c 1.15 sys/compat/linux32/common/linux32_utsname.c 1.10 sys/compat/netbsd32/netbsd32_compat_20.c 1.39 sys/compat/netbsd32/netbsd32_compat_43.c 1.59 sys/compat/netbsd32/netbsd32_compat_50.c 1.44 sys/compat/ossaudio/ossaudio.c 1.75 sys/kern/sysv_shm.c 1.138 sys/miscfs/procfs/procfs_linux.c 1.75 (patch) sys/sys/shm.h 1.54 (patch)
Fix various info leaks, out of bound access, usage of uninitialized values and direct access to userland variables from kernel space and memory leaks in system calls implemented for the compatibility subsystems.
|
1.21.28.1 |
| 21-Jan-2020 |
martin | Pull up the following, requested by christos in ticket #1720:
sys/compat/common/kern_sig_43.c 1.36 sys/compat/linux/arch/amd64/linux_machdep.c 1.59 sys/compat/linux/common/linux_fcntl.h 1.18 sys/compat/linux/common/linux_file64.c 1.62 sys/compat/linux/common/linux_ipc.c 1.57 sys/compat/linux/common/linux_misc.c 1.243 sys/compat/linux/common/linux_signal.c 1.81 sys/compat/linux/common/linux_socket.c 1.149 (patch) sys/compat/linux/common/linux_socket.h 1.24 sys/compat/linux/common/linux_statfs.h 1.7 sys/compat/linux/common/linux_termios.c 1.38 sys/compat/linux/common/linux_termios.h 1.22 sys/compat/linux32/common/linux32_dirent.c 1.20 sys/compat/linux32/common/linux32_ioctl.c 1.14 sys/compat/linux32/common/linux32_misc.c 1.27 sys/compat/linux32/common/linux32_signal.c 1.20 sys/compat/linux32/common/linux32_sysinfo.c 1.8 sys/compat/linux32/common/linux32_termios.c 1.15 sys/compat/linux32/common/linux32_utsname.c 1.10 sys/compat/netbsd32/netbsd32_compat_20.c 1.39 sys/compat/netbsd32/netbsd32_compat_43.c 1.59 sys/compat/netbsd32/netbsd32_compat_50.c 1.44 sys/compat/ossaudio/ossaudio.c 1.75 sys/kern/sysv_shm.c 1.138 sys/miscfs/procfs/procfs_linux.c 1.75 (patch) sys/sys/shm.h 1.54 (patch)
Fix various info leaks, out of bound access, usage of uninitialized values and direct access to userland variables from kernel space and memory leaks in system calls implemented for the compatibility subsystems.
|