CVS log for src/sys/compat/linux32/common/linux32_ioctl.c
Up to [cvs.NetBSD.org] / src / sys / compat / linux32 / common
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:40 2026 UTC (11 days, 9 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +9 -2
lines
Sync with HEAD
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Sep 20 13:43:51 2026 UTC (8 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -2
lines
compat_linux, compat_linux32: Always zero syscall args on stack.
This is an attempt to systematically eliminate a class of stack
garbage bugs:
PR kern/60750: compat_linux: stack garbage mistakes
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Sep 19 23:51:37 2021 UTC (5 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: perseant-exfatfs
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +29 -3
lines
Add the timerfd syscalls to COMPAT_LINUX and COMPAT_LINUX32.
Revision 1.14.8.1: download - view: text, markup, annotated - select for diffs
Sun Jan 3 16:14:04 2021 UTC (5 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +29 -3
lines
Handle timerfd ioctls.
Revision 1.13.64.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:16 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -2
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.13.50.1: download - view: text, markup, annotated - select for diffs
Tue Jan 21 19:23:37 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -2
lines
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.
Revision 1.13.38.1: download - view: text, markup, annotated - select for diffs
Tue Jan 21 19:19:17 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -2
lines
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.
Revision 1.13.56.1: download - view: text, markup, annotated - select for diffs
Tue Jan 21 18:12:54 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -2
lines
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.
Revision 1.13.68.1: download - view: text, markup, annotated - select for diffs
Fri Sep 13 06:25:25 2019 UTC (7 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -2
lines
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.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Aug 23 12:49:59 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2
lines
Put the printf under DEBUG_LINUX.
Revision 1.10.10.2: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:59 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.10.10.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.10.1: +20 -2
lines
sync with head.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Aug 18 02:02:58 2009 UTC (17 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20190609,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-9-base,
netbsd-8-base,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-premerge-20091211,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
localcount-20160914,
khorben-n900,
jym-xensuspend-nbase,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
cherry-xenmp-base,
cherry-xenmp,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver
Branch point for: phil-wifi,
netbsd-9,
netbsd-8,
netbsd-7-1,
netbsd-7
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +20 -2
lines
add the video ioctls so that the 32 bit skype works with video
more commits to come
Revision 1.10.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:23 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -13
lines
sync with head.
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:31 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -2
lines
Sync with HEAD.
Revision 1.10.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:45 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.10.6.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.6.1: +2 -0
lines
Sync with HEAD.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:57 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -2
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:04 2008 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2
lines
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:
- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Thu Sep 4 08:46:44 2008 UTC (18 years, 2 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +28 -3
lines
Sync with netbsd-4.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 20:20:00 2008 UTC (18 years, 3 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +28 -3
lines
Pull up following revision(s) (requested by jmcneill in ticket #1051):
sys/compat/linux32/common/linux32_ioctl.c: revision 1.10 via patch
sys/compat/ossaudio/ossaudiovar.h: revision 1.14
Add ossaudio support for COMPAT_LINUX32, with help from mrg. With this
change, audio now works on amd64 with native firefox, nspluginwrapper, and
the 32-bit linux flash binaries.
Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:03 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -13
lines
Sync with HEAD.
Revision 1.10.14.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:19 2008 UTC (18 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +4 -13
lines
Sync with head.
Revision 1.10.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:54 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +4 -13
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 19 16:09:25 2008 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -13
lines
an attempt at linux32_ioctl_socket().
Revision 1.7.10.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:33 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.7.10.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.10.1: +27 -2
lines
sync with HEAD
Revision 1.7.16.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:27 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +28 -3
lines
Sync with HEAD.
Revision 1.2.16.6: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:09 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.16.5: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.16.5: +27 -2
lines
sync with head.
Revision 1.8.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 19:27:31 2008 UTC (18 years, 9 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.8.4.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.4.1: +25 -0
lines
Sync with HEAD.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 22 01:05:05 2008 UTC (18 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl,
mjf-devfs2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +27 -2
lines
Add ossaudio support for COMPAT_LINUX32, with help from mrg. With this
change, audio now works on amd64 with native firefox, nspluginwrapper, and
the 32-bit linux flash binaries.
Revision 1.2.16.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:34 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.16.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.16.4: +5 -8
lines
sync with head
Revision 1.7.10.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:21 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -8
lines
sync with HEAD
Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:49 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5
lines
Sync with HEAD
Revision 1.7.18.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:49:23 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +5 -8
lines
Sync with head.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:58 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3,
matt-armv6-base,
bouyer-xeni386-base
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5
lines
Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
Revision 1.7.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:08 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -6
lines
Sync with HEAD.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:11 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -6
lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
Revision 1.2.16.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:30 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.16.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.16.3: +4 -4
lines
sync with head.
Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:23 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +4 -4
lines
Sync with head.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:25 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +4 -4
lines
Sync with head.
Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:38 2007 UTC (19 years, 7 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.5.6.1: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.1: +4 -4
lines
Pullup to -current
Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:10 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.1: +4 -4
lines
sync with head.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Mar 18 21:38:32 2007 UTC (19 years, 8 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
matt-armv6,
jmcneill-pm
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4
lines
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sun Mar 18 00:06:35 2007 UTC (19 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
First attempt to bring branch in sync with HEAD
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 16 22:21:40 2007 UTC (19 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
remove all the double (and triple) casts used to convert 32bit userspace
pointers to and from 64bit kernel pointers. Instead use the defines
NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64)
to write a 32bit pointer throughout.
The 32bit pointer is now a struct to enforce the above.
amd64 (with linux emul) and sparc64 will both compile (when the arch stuff
goes in soon), and amd64 still runs some i386 binaries.
Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:29 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Sync with HEAD.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:25 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.2.16.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:42 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.16.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.16.2: +16 -2
lines
sync with head.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:11 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +4 -2
lines
Sync with head.
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:23 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +4 -2
lines
sync with head.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 13 19:55:49 2006 UTC (20 years, 2 months ago) by manu
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
wrstuden-fixsa-base-1,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
wrstuden-fixsa,
netbsd-4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2
lines
Jumbo COMPAT_LINUX/COMPAT_LINUX32 bugfix, with the help of Nicolas Joly
- Fix shmat return value on amd64: it uses no black magic with retval[0]
- Fix integer overflows in sysinfo
- Implement sysinfo, mmap2, sched_getparam, sched_getscheduler, mremap,
and madvise in COMPAT_LINUX32
- Fix improper types used in setgroups16/getgroups16
- Implement mmap2 for COMPAT_LINUX32
- Ifdef debug messages by DEBUG_LINUX
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:46:03 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +101 -0
lines
sync with head
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:46 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -2
lines
sync with head.
Revision 1.3.4.1
Fri Aug 25 08:25:03 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.3: +0 -101
lines
file linux32_ioctl.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:46:03 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Aug 25 08:25:03 2006 UTC (20 years, 2 months ago) by manu
Branches: MAIN
CVS tags: yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: rpaulo-netinet-merge-pcb,
newlock2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -2
lines
Add support for socket ioctl.
Revision 1.2.16.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:27 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.16.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.16.1: +89 -0
lines
sync with head.
Revision 1.2.10.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:14 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.2.10.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.10.1: +89 -0
lines
Sync with head.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:02 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +89 -0
lines
sync with head.
Revision 1.2.16.1
Wed Feb 15 09:31:17 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.2: +0 -89
lines
file linux32_ioctl.c was added on branch yamt-lazymbuf on 2006-06-21 14:59:27 +0000
Revision 1.2.10.1
Wed Feb 15 09:31:17 2006 UTC (20 years, 9 months ago) by simonb
Branches: simonb-timecounters
FILE REMOVED
Changes since revision 1.2: +0 -89
lines
file linux32_ioctl.c was added on branch simonb-timecounters on 2006-04-22 11:38:14 +0000
Revision 1.2.2.1
Wed Feb 15 09:31:17 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
FILE REMOVED
Changes since revision 1.2: +0 -89
lines
file linux32_ioctl.c was added on branch yamt-uio_vmspace on 2006-02-18 15:39:02 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Feb 15 09:31:17 2006 UTC (20 years, 9 months ago) by manu
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-uio_vmspace,
yamt-pdpolicy,
yamt-lazymbuf,
simonb-timecounters
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +21 -6
lines
- 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.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 9 19:18:57 2006 UTC (20 years, 9 months ago) by manu
Branches: MAIN
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.
While I'm here, add SysV IPC to COMPAT_LINUX/amd64
CVSweb <webmaster@jp.NetBSD.org>