CVS log for src/sys/compat/linux/common/linux_socket.c
Up to [cvs.NetBSD.org] / src / sys / compat / linux / common
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.155.6.2: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:39 2026 UTC (11 days, 7 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.155.6.1: preferred, colored; branchpoint 1.155: preferred, colored; next MAIN 1.156: preferred, colored
Changes since revision 1.155.6.1: +131 -24
lines
Sync with HEAD
Revision 1.164: download - view: text, markup, annotated - select for diffs
Sat Oct 17 14:59:45 2026 UTC (4 weeks, 1 day ago) by alnsn
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +11 -3
lines
linux_sys_recvfrom: translate message flags.
Revision 1.163: download - view: text, markup, annotated - select for diffs
Sun Sep 20 13:43:51 2026 UTC (8 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +12 -4
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.162: download - view: text, markup, annotated - select for diffs
Sun Sep 20 13:40:50 2026 UTC (8 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +9 -6
lines
compat_linux recv(m)msg(2): Fix mistakes in error branches.
1. If copying out the cmsghdr _succeeds_, we want to copy out the
cmsg data -- not if copying out the cmsghdr _fails_.
2. If any part of the BSD cmsg to Linux cmsg conversion or copyout
_fails_, we must pass the whole mbuf chain to free_control_mbuf to
close all the file descriptors in it -- otherwise, they would leak
because the user process has no idea it has been given the fds.
3. Add missing `if (error)' before `return error' in recvmmsg(2)
branch for copying in timeout.
Found while reviewing code nearby:
PR kern/60748: compat_linux: possible integer truncation/overflow
issues in socket syscalls
Revision 1.161: download - view: text, markup, annotated - select for diffs
Sun Sep 20 13:40:22 2026 UTC (8 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +27 -7
lines
compat_linux recv(m)msg(2): Tighten arithmetic bounds.
And avoid overflow test idioms that involve doing the overflow.
PR kern/60748: compat_linux: possible integer truncation/overflow
issues in socket syscalls
Revision 1.160: download - view: text, markup, annotated - select for diffs
Sat Sep 19 23:47:51 2026 UTC (8 weeks, 1 day ago) by riastradh
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +27 -5
lines
compat_linux sendmsg(2): Handle msg_controllen more cautiously.
Also add an assertion about cmsg_len arithmetic in recvmsg(2) and
recvmmsg(2).
PR kern/60748: compat_linux: possible integer truncation/overflow
issues in socket syscalls
Revision 1.159: download - view: text, markup, annotated - select for diffs
Sat Sep 19 23:47:37 2026 UTC (8 weeks, 1 day ago) by riastradh
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +56 -10
lines
compat_linux: Verify struct msghdr sizes more carefully..
PR kern/60748: compat_linux: possible integer truncation/overflow
issues in socket syscalls
Revision 1.155.6.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:56:27 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +28 -6
lines
Sync with HEAD
Revision 1.158: download - view: text, markup, annotated - select for diffs
Sat Jun 28 18:47:36 2025 UTC (16 months, 2 weeks ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801,
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
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +25 -5
lines
PR/59486: csaba mate: Ignore IP_MULTICAST_ALL, since we don't have it.
Also, add -3 to return ENOPROTOOPT, more options and consistently whitespace
after define (the majority had define<space> so make them all the samr)
Revision 1.157: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:03:33 2025 UTC (16 months, 2 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +4 -2
lines
PR/59486: csaba mate: Ignore IP_MULTICAST_ALL, since we don't have it.
Revision 1.156: download - view: text, markup, annotated - select for diffs
Tue Oct 1 16:41:29 2024 UTC (2 years, 1 month ago) by riastradh
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +3 -3
lines
sys/compat/linux/common: Nix trailing whitespace, and one blank line.
No functional change intended.
Revision 1.138.6.7: download - view: text, markup, annotated - select for diffs
Wed Jun 21 21:04:02 2023 UTC (3 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.138.6.6: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.6.6: +5 -2
lines
Pull up following revision(s) (requested by riastradh in ticket #1836):
sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
sys/compat/sunos/sunos_misc.c: revision 1.177
sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
sys/compat/common/kern_resource_43.c: revision 1.23
sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
sys/compat/common/vfs_syscalls_12.c: revision 1.38
sys/compat/ultrix/ultrix_misc.c: revision 1.126
sys/compat/common/kern_sig_43.c: revision 1.37
sys/compat/linux/common/linux_mtio.c: revision 1.8
sys/compat/freebsd/freebsd_misc.c: revision 1.34
sys/compat/linux/common/linux_olduname.c: revision 1.67
sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
sys/compat/freebsd/freebsd_sched.c: revision 1.23
sys/compat/ossaudio/ossaudio.c: revision 1.84
sys/compat/sys/time_types.h: revision 1.6
sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
sys/compat/linux/common/linux_file.c: revision 1.119
sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
sys/compat/linux32/common/linux32_time.c: revision 1.38
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
sys/compat/linux/common/linux_misc.c: revision 1.252
sys/compat/linux/common/linux_hdio.c: revision 1.19
sys/compat/sunos/sunos_ioctl.c: revision 1.71
sys/compat/linux/common/linux_sched.c: revision 1.79
sys/compat/common/kern_info_43.c: revision 1.40
sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
sys/compat/linux/common/linux_socket.c: revision 1.153
sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
sys/compat/common/vfs_syscalls_43.c: revision 1.68
sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
sys/compat/common/kern_time_50.c: revision 1.37
sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
sys/compat/linux/common/linux_cdrom.c: revision 1.28
sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
sys/compat/common/kern_info_09.c: revision 1.22
sys/compat/linux32/common/linux32_resource.c: revision 1.12
sys/compat/linux/common/linux_oldolduname.c: revision 1.67
sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
sys/compat/linux32/common/linux32_signal.c: revision 1.21
sys/compat/common/kern_sig_13.c: revision 1.22
sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
sys/compat/netbsd32/netbsd32_time.c: revision 1.56
sys/compat/linux/common/linux_signal.c: revision 1.84
sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
sys/compat/sunos32/sunos32_misc.c: revision 1.85
sys/compat/linux/common/linux_time.c: revision 1.40
sys/compat/linux/common/linux_fdio.c: revision 1.14
sys/compat/common/vfs_syscalls_30.c: revision 1.43
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Sat Dec 24 15:23:02 2022 UTC (3 years, 10 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +3 -3
lines
s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments.
Revision 1.145.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:11:32 2022 UTC (4 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.145.4.3: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.4.3: +5 -2
lines
Pull up following revision(s), all via patch
(requested by riastradh in ticket #1487):
sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
sys/compat/sunos/sunos_misc.c: revision 1.177
sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
sys/compat/common/kern_resource_43.c: revision 1.23
sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
sys/compat/common/vfs_syscalls_12.c: revision 1.38
sys/compat/ultrix/ultrix_misc.c: revision 1.126
sys/compat/common/kern_sig_43.c: revision 1.37
sys/compat/linux/common/linux_mtio.c: revision 1.8
sys/compat/freebsd/freebsd_misc.c: revision 1.34
sys/compat/freebsd/freebsd_machdep.c: revision 1.5
sys/compat/linux/common/linux_olduname.c: revision 1.67
sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
sys/compat/freebsd/freebsd_sched.c: revision 1.23
sys/compat/ossaudio/ossaudio.c: revision 1.84
sys/compat/sys/time_types.h: revision 1.6
sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
sys/compat/common/ieee80211_20.c: revision 1.7
sys/compat/linux/common/linux_file.c: revision 1.119
sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
sys/compat/linux32/common/linux32_time.c: revision 1.38
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
sys/compat/linux/common/linux_misc.c: revision 1.252
sys/compat/linux/common/linux_hdio.c: revision 1.19
sys/compat/sunos/sunos_ioctl.c: revision 1.71
sys/compat/linux/common/linux_sched.c: revision 1.79
sys/compat/common/kern_info_43.c: revision 1.40
sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
sys/compat/linux/common/linux_socket.c: revision 1.153
sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
sys/compat/common/vfs_syscalls_43.c: revision 1.68
sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
sys/compat/common/kern_time_50.c: revision 1.37
sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
sys/compat/linux/common/linux_cdrom.c: revision 1.28
sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
sys/compat/common/kern_info_09.c: revision 1.22
sys/compat/linux32/common/linux32_resource.c: revision 1.12
sys/compat/linux/common/linux_oldolduname.c: revision 1.67
sys/compat/common/if_media_80.c: revision 1.4
sys/compat/linux/arch/alpha/linux_osf1.c: revision 1.5
sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
sys/compat/linux32/common/linux32_signal.c: revision 1.21
sys/compat/common/kern_sig_13.c: revision 1.22
sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
sys/compat/netbsd32/netbsd32_time.c: revision 1.56
sys/compat/linux/common/linux_signal.c: revision 1.84
sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
sys/compat/sunos32/sunos32_misc.c: revision 1.85
sys/compat/linux/common/linux_time.c: revision 1.40
sys/compat/linux/common/linux_fdio.c: revision 1.14
sys/compat/common/vfs_syscalls_30.c: revision 1.43
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Thu Sep 23 06:56:27 2021 UTC (5 years, 1 month ago) by ryo
Branches: MAIN
CVS tags: 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
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +8 -4
lines
add support COMPAT_LINUX for aarch64
Revision 1.153: download - view: text, markup, annotated - select for diffs
Tue Sep 7 11:43:04 2021 UTC (5 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +5 -2
lines
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
Revision 1.151.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:04 2020 UTC (5 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151: +45 -14
lines
Sync w/ HEAD.
Revision 1.145.4.3: download - view: text, markup, annotated - select for diffs
Sun Nov 8 08:39:12 2020 UTC (6 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE
Diff to: previous 1.145.4.2: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.4.2: +17 -2
lines
Pull up following revision(s) (requested by kamil in ticket #1127):
sys/compat/linux/common/linux_socket.c: revision 1.151
Fix compat with Linux programs that use longer namelen for sockets
Linux is less strict than NetBSD and permits namelen to be larger
than valid struct sockaddr_in*. If this is the case, truncate the value
to the correct size, so that NetBSD networking does not return an error.
Reviewed by kamil
Revision 1.152: download - view: text, markup, annotated - select for diffs
Tue Nov 3 22:08:44 2020 UTC (6 years ago) by christos
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +45 -14
lines
PR/55780: Bernd Sieker: setsockopt in Linux emulation misses some options
Revision 1.151: download - view: text, markup, annotated - select for diffs
Sat Oct 24 09:01:56 2020 UTC (6 years ago) by mgorny
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +17 -2
lines
Fix compat with Linux programs that use longer namelen for sockets
Linux is less strict than NetBSD and permits namelen to be larger
than valid struct sockaddr_in*. If this is the case, truncate the value
to the correct size, so that NetBSD networking does not return an error.
Reviewed by kamil
Revision 1.138.6.6: download - view: text, markup, annotated - select for diffs
Fri Jul 17 15:28:08 2020 UTC (6 years, 4 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.138.6.5: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.6.5: +6 -3
lines
Pull up following revision(s) (requested by msaitoh in ticket #1576):
sys/net/if.c: revision 1.479
sys/compat/common/uipc_syscalls_40.c: revision 1.23
sys/compat/linux/common/linux_socket.c: revision 1.150
sys/compat/linux32/common/linux32_socket.c: revision 1.31
Don't accept negative value.
Revision 1.145.4.2: download - view: text, markup, annotated - select for diffs
Fri Jul 17 15:24:48 2020 UTC (6 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-1-RELEASE
Diff to: previous 1.145.4.1: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.4.1: +6 -3
lines
Pull up following revision(s) (requested by msaitoh in ticket #1018):
sys/net/if.c: revision 1.479
sys/compat/common/uipc_syscalls_40.c: revision 1.23
sys/compat/linux/common/linux_socket.c: revision 1.150
sys/compat/linux32/common/linux32_socket.c: revision 1.31
Don't accept negative value.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu Jul 16 15:02:08 2020 UTC (6 years, 4 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +6 -3
lines
Don't accept negative value.
Reported-by: syzbot+e71a77402d6668f1868d@syzkaller.appspotmail.com
Revision 1.142.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:15 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.142.2.1: preferred, colored; branchpoint 1.142: preferred, colored; next MAIN 1.143: preferred, colored
Changes since revision 1.142.2.1: +10 -9
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.119.2.1.6.2: 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.119.2.1.6.1: preferred, colored; branchpoint 1.119.2.1: preferred, colored; next MAIN 1.119.2.2: preferred, colored
Changes since revision 1.119.2.1.6.1: +10 -6
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.119.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 21 19:19:16 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.119.2.2: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.2: +10 -6
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.138.6.5: 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-2-RELEASE
Diff to: previous 1.138.6.4: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.6.4: +10 -9
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.145.4.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-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +10 -9
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.149: download - view: text, markup, annotated - select for diffs
Sun Sep 8 18:46:32 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
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
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +2 -5
lines
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.148: download - view: text, markup, annotated - select for diffs
Sat Aug 24 14:18:43 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +4 -2
lines
Fix memory leak.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Sat Aug 24 14:08:35 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +7 -5
lines
Hum, don't pass an mbuf to realloc(). Inspired from copyin32_msg_control().
Revision 1.146: download - view: text, markup, annotated - select for diffs
Sat Aug 24 12:33:25 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -3
lines
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?
Revision 1.142.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:00 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +22 -14
lines
Sync with HEAD
Revision 1.119.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 19 16:03:08 2019 UTC (7 years, 6 months ago) by martin
Branches: netbsd-7-0
Diff to: previous 1.119.2.1: preferred, colored; next MAIN 1.119.2.2: preferred, colored
Changes since revision 1.119.2.1: +3 -2
lines
Pull up following revision(s) via patch (requested by christos in ticket #1689):
sys/compat/linux/common/linux_socket.c: revision 1.145
sys/net/if.c: revision 1.449
sys/compat/linux32/common/linux32_socket.c: revision 1.30
sys/compat/common/uipc_syscalls_40.c: revision 1.19
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!
-
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.119.2.1.6.1: download - view: text, markup, annotated - select for diffs
Fri Apr 19 16:02:24 2019 UTC (7 years, 6 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.119.2.1: preferred, colored
Changes since revision 1.119.2.1: +3 -2
lines
Pull up following revision(s) via patch (requested by christos in ticket #1689):
sys/compat/linux/common/linux_socket.c: revision 1.145
sys/net/if.c: revision 1.449
sys/compat/linux32/common/linux32_socket.c: revision 1.30
sys/compat/common/uipc_syscalls_40.c: revision 1.19
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!
-
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 19 16:01:34 2019 UTC (7 years, 6 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.2.1: +3 -2
lines
Pull up following revision(s) via patch (requested by christos in ticket #1689):
sys/compat/linux/common/linux_socket.c: revision 1.145
sys/net/if.c: revision 1.449
sys/compat/linux32/common/linux32_socket.c: revision 1.30
sys/compat/common/uipc_syscalls_40.c: revision 1.19
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!
-
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.138.6.4: download - view: text, markup, annotated - select for diffs
Fri Apr 19 09:12:58 2019 UTC (7 years, 6 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.138.6.3: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.6.3: +3 -2
lines
Pull up following revision(s) (requested by christos in ticket #1233):
sys/compat/linux/common/linux_socket.c: revision 1.145
sys/net/if.c: revision 1.449
sys/compat/linux32/common/linux32_socket.c: revision 1.30
sys/compat/common/uipc_syscalls_40.c: revision 1.19
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!
-
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Apr 18 17:45:12 2019 UTC (7 years, 7 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +3 -2
lines
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.144: download - view: text, markup, annotated - select for diffs
Mon Feb 4 04:37:50 2019 UTC (7 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +3 -3
lines
- avoid uninitialised memory usage
Revision 1.138.6.3: download - view: text, markup, annotated - select for diffs
Sat Dec 8 12:24:18 2018 UTC (7 years, 11 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.138.6.2: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.6.2: +23 -4
lines
Apply patch, requested by tsutsui in ticket #1132:
Different solution for the fix in
sys/compat/linux/common/linux_socket.c rev 1.140
The solution in -current could not be directly used as it required a kernel
version bump and broke the ABI. Work around it differently here.
Fixes linux emulation of sendto(2), PR 53103.
Revision 1.139.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:29 2018 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.139.2.2: preferred, colored; branchpoint 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139.2.2: +20 -13
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.143: download - view: text, markup, annotated - select for diffs
Wed Nov 14 17:51:37 2018 UTC (8 years ago) by hannken
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +20 -13
lines
Apply the recent fixes to {send,recv}mmsg() to their compat variants.
Revision 1.139.2.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:03 2018 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.139.2.1: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.1: +8 -11
lines
Sync with HEAD
Revision 1.138.6.2: download - view: text, markup, annotated - select for diffs
Sat May 12 10:29:08 2018 UTC (8 years, 6 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2
Diff to: previous 1.138.6.1: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.6.1: +3 -3
lines
Pull up following revision(s) (requested by ozaki-r in ticket #818):
sys/compat/linux/common/linux_socket.c: revision 1.142
sys/compat/linux32/common/linux32_socket.c: revision 1.29
Fix pserialize enter/exit pairs in linux_getifconf and linux32_getifconf
Tested by using a small linux program that uses ioctl(SIOCGIFCONF).
Probably fix PR kern/53259 as well.
Revision 1.142: download - view: text, markup, annotated - select for diffs
Thu May 10 01:32:24 2018 UTC (8 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -3
lines
Fix pserialize enter/exit pairs in linux_getifconf and linux32_getifconf
Tested by using a small linux program that uses ioctl(SIOCGIFCONF).
Probably fix PR kern/53259 as well.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Thu May 3 21:43:33 2018 UTC (8 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +7 -10
lines
Fix COMPAT_NETBSD32 cmsg handling:
1. alignment was wrong for > 1 message
2. macros were doing incorrect pointer comparisons, fortunately ending
the iteration early after the fists cmsg instead of crashing.
3. don't output 32 bit ktrace records for cmsg. 32 bit programs running
under emulation on 64 bit systems should produce 64 bit ktrace records
so that the native ktrace can handle the records; remove extra arguments
that are now not needed (the 32 bit msghdr).
4. output the correct type for cmsg trace records.
5. output all the cmsg records in traces instead of just the first one.
Welcome to 8.99.15 because of the argument removal.
XXX: Really all the code should be changed to use the CMSG_{FIRST,NXT}HDR
macros...
Revision 1.139.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 22 01:44:47 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +10 -5
lines
Synch with HEAD, resolve conflicts
Revision 1.140: download - view: text, markup, annotated - select for diffs
Fri Mar 16 17:25:04 2018 UTC (8 years, 8 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +10 -5
lines
PR/53103: Timo Buhrmester: linux emulation of sendto(2) broken
The sockargs refactoring broke it, because sockargs only works with a user
address. Added an argument to sockargs to indicate where the address is
coming from. Welcome to 8.99.14.
Revision 1.114.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:55 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.114.2.2: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.2.2: +366 -142
lines
update from HEAD
Revision 1.138.6.1: download - view: text, markup, annotated - select for diffs
Thu Nov 30 15:57:37 2017 UTC (8 years, 11 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RC1
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +5 -4
lines
Pull up following revision(s) (requested by ozaki-r in ticket #407):
sys/compat/linux32/common/linux32_socket.c: revision 1.28
sys/net/if.c: revision 1.400
sys/netipsec/key.c: revision 1.243
sys/compat/linux/common/linux_socket.c: revision 1.139
sys/netinet/ip_carp.c: revision 1.93
sys/netinet6/in6.c: revision 1.252
sys/netinet6/in6.c: revision 1.253
sys/netinet6/in6.c: revision 1.254
sys/net/if_spppsubr.c: revision 1.173
sys/net/if_spppsubr.c: revision 1.174
sys/compat/common/uipc_syscalls_40.c: revision 1.14
Protect IFADDR_READER_FOREACH and obtained ifa with psz/psref
Fix usage of FOREACH macro
key_sad.lock is held there so SAVLIST_WRITER_FOREACH is enough.
Protect IFADDR_READER_FOREACH and obtained ifa with psz/psref
Protect IFADDR_READER_FOREACH and obtained ifa with psz/psref (more)
Fix and make consistent of usages of psz/psref in ifconf variants
Remove unnecessary goto because there is no cleanup code to share (NFC)
Tweak a condition; we don't need to care ifacount to be negative
Fix a race condition of in6_ifinit
in6_ifinit checks the number of IPv6 addresses on a given interface and
if it's zero (i.e., an IPv6 address being assigned to the interface
is the first one), call if_addr_init. However, the actual assignment of
the address (ifa_insert) is out of in6_ifinit. The check and the
assignment must be done atomically.
Fix it by holding in6_ifaddr_lock during in6_ifinit and ifa_insert.
And also add missing pserialize to IFADDR_READER_FOREACH.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Wed Nov 22 10:19:14 2017 UTC (8 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +5 -4
lines
Fix and make consistent of usages of psz/psref in ifconf variants
Revision 1.122.2.8: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:59 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.122.2.7: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.2.7: +5 -5
lines
Sync with HEAD
Revision 1.133.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:42 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +232 -9
lines
Sync with HEAD
Revision 1.131.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:25 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.131.2.1: preferred, colored; branchpoint 1.131: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131.2.1: +232 -9
lines
Sync with HEAD
Revision 1.138: download - view: text, markup, annotated - select for diffs
Tue Mar 14 09:03:08 2017 UTC (9 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +5 -5
lines
Use if_acquire and if_release instead of using psref API directly
- Provide if_release for consistency to if_acquire
- Use if_acquire and if_release for ifp iterations
- Make ifnet_psref_class static
Revision 1.122.2.7: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:25 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.122.2.6: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.6: +229 -6
lines
Sync with HEAD
Revision 1.137: download - view: text, markup, annotated - select for diffs
Fri Feb 3 16:57:39 2017 UTC (9 years, 9 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20170204
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +194 -6
lines
add sendmmsg and recvmmsg
Revision 1.136: download - view: text, markup, annotated - select for diffs
Fri Feb 3 13:08:08 2017 UTC (9 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +2 -5
lines
handle accept4 for i386
Revision 1.135: download - view: text, markup, annotated - select for diffs
Fri Feb 3 08:43:02 2017 UTC (9 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +5 -2
lines
Do not compile accept4 on i386, there is no such syscall in Linux.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu Feb 2 15:36:55 2017 UTC (9 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +37 -2
lines
implement accept4
Revision 1.122.2.6: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:38 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.122.2.5: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.5: +21 -10
lines
Sync with HEAD
Revision 1.133: download - view: text, markup, annotated - select for diffs
Tue Sep 13 07:01:07 2016 UTC (10 years, 2 months ago) by martin
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
localcount-20160914,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +7 -5
lines
Make the ktrace record written by do_sys_sendmsg/do_sys_recvmsg overridable
by the caller. Use this in compat_netbsd32 to log the 32bit version, so
the 32bit userland kdump is happy.
Revision 1.131.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:07 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +16 -7
lines
Sync with HEAD
Revision 1.132: download - view: text, markup, annotated - select for diffs
Mon Aug 1 03:15:30 2016 UTC (10 years, 3 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20160806
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +16 -7
lines
Apply pserialize and psref to struct ifaddr and its variants
This change makes struct ifaddr and its variants (in_ifaddr and in6_ifaddr)
MP-safe by using pserialize and psref. At this moment, pserialize_perform
and psref_target_destroy are disabled because (1) we don't need them
because of softnet_lock (2) they cause a deadlock because of softnet_lock.
So we'll enable them when we remove softnet_lock in the future.
Revision 1.122.2.5: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:00 2016 UTC (10 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.122.2.4: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.4: +17 -13
lines
Sync with HEAD
Revision 1.131: download - view: text, markup, annotated - select for diffs
Thu Jul 7 09:32:02 2016 UTC (10 years, 4 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +6 -6
lines
Switch the address list of intefaces to pslist(9)
As usual, we leave the old list to avoid breaking kvm(3) users.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Jul 5 07:55:08 2016 UTC (10 years, 4 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -4
lines
Fix psref isn't released in a case of IFADDR_EMPTY
Revision 1.129: download - view: text, markup, annotated - select for diffs
Thu Jun 16 02:38:40 2016 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +6 -6
lines
Use curlwp_bind and curlwp_bindx instead of open-coding LP_BOUND
Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed Jun 15 06:01:21 2016 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +8 -3
lines
Protect if_byindex by pserialize
Revision 1.122.2.4: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:20 2016 UTC (10 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.122.2.3: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.3: +40 -13
lines
Sync with HEAD
Revision 1.127: download - view: text, markup, annotated - select for diffs
Thu May 12 02:24:16 2016 UTC (10 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +40 -13
lines
Protect ifnet list with psz and psref
The change ensures that ifnet objects in the ifnet list aren't freed during
list iterations by using pserialize(9) and psref(9).
Note that the change adds a pslist(9) for ifnet but doesn't remove the
original ifnet list (ifnet_list) to avoid breaking kvm(3) users. We
shouldn't use the original list in the kernel anymore.
Revision 1.122.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:55 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.122.2.2: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.2: +3 -3
lines
Sync with HEAD
Revision 1.126: download - view: text, markup, annotated - select for diffs
Fri Jul 24 13:02:52 2015 UTC (11 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -3
lines
Unused inits (harmless).
Found by Brainy.
Revision 1.122.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:05 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.122.2.1: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.1: +17 -133
lines
Sync with HEAD
Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun May 24 17:07:26 2015 UTC (11 years, 5 months ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +14 -130
lines
convert remaining linux_get_sa() users to use linux_get_sa_sb() and
pass the pointer to the sockaddr in msghdr.msg_name, while removing
the MSG_NAMEMBUF flag.
now that the original linux_get_sa() is unused remove it and to make
function names consistent again rename linux_get_sa_sb() to linux_get_sa().
Revision 1.124: download - view: text, markup, annotated - select for diffs
Sat May 2 17:18:03 2015 UTC (11 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +5 -5
lines
make connect syscall use sockaddr_big and modify pr_{send,connect}
nam parameter type from buf * to sockaddr *.
final commit for parameter type changes to protocol user requests
* bump kernel version to 7.99.15 for parameter type changes to pr_{send,connect}
Revision 1.122.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:06 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +78 -5
lines
Sync with HEAD
Revision 1.123: download - view: text, markup, annotated - select for diffs
Fri Apr 3 20:01:07 2015 UTC (11 years, 7 months ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +78 -5
lines
* change pr_bind to accept struct sockaddr * instead of struct mbuf *
* update protocol bind implementations to use/expect sockaddr *
instead of mbuf *
* introduce sockaddr_big struct for storage of addr data passed via
sys_bind; sockaddr_big is of sufficient size and alignment to
accommodate all addr data sizes received.
* modify sys_bind to allocate sockaddr_big instead of using an mbuf.
* bump kernel version to 7.99.9 for change to pr_bind() parameter type.
Patch posted to tech-net@
http://mail-index.netbsd.org/tech-net/2015/03/15/msg005004.html
The choice to use a new structure sockaddr_big has been retained since
changing sockaddr_storage size would lead to unnecessary ABI change. The
use of the new structure does not preclude future work that increases
the size of sockaddr_storage and at that time sockaddr_big may be
trivially replaced.
Tested by mrg@ and myself, discussed with rmind@, posted to tech-net@
Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 12:10:54 2015 UTC (11 years, 10 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Branch point for: netbsd-7-1,
netbsd-7-0
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -3
lines
Pull up following revision(s) (requested by maxv in ticket #427):
sys/compat/svr4/svr4_schedctl.c: revision 1.8
sys/netinet/tcp_timer.c: revision 1.88
sys/miscfs/genfs/layer_vfsops.c: revision 1.45
sys/compat/svr4/svr4_ioctl.c: revision 1.37
sys/ufs/chfs/chfs_vfsops.c: revision 1.14
sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
sys/compat/common/kern_time_50.c: revision 1.28
sys/netinet6/ip6_forward.c: revision 1.74
sys/miscfs/umapfs/umap_vnops.c: revision 1.57
sys/compat/svr4/svr4_fcntl.c: revision 1.74
distrib/sets/lists/comp/mi: revision 1.1931
sys/netinet6/udp6_output.c: revision 1.46
sys/fs/puffs/puffs_compat.c: revision 1.3
sys/fs/udf/udf_rename.c: revision 1.11
sys/compat/svr4/svr4_filio.c: revision 1.24
sys/fs/udf/udf_rename.c: revision 1.12
sys/netinet/tcp_usrreq.c: revision 1.202
sys/miscfs/umapfs/umap_subr.c: revision 1.29
sys/compat/linux/common/linux_fadvise64.c: revision 1.3
sys/netinet/if_atm.c: revision 1.34
sys/miscfs/procfs/procfs_subr.c: revision 1.106
sys/miscfs/genfs/layer_subr.c: revision 1.37
sys/netinet/tcp_sack.c: revision 1.30
sys/compat/freebsd/freebsd_misc.c: revision 1.33
sys/compat/freebsd/freebsd_file.c: revision 1.33
sys/ufs/chfs/chfs_vnode.c: revision 1.12
sys/compat/svr4/svr4_ttold.c: revision 1.34
sys/compat/linux/common/linux_file.c: revision 1.114
sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
sys/compat/linux/common/linux_signal.c: revision 1.76
sys/compat/common/compat_util.c: revision 1.46
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
sys/compat/svr4/svr4_sockio.c: revision 1.36
sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
sys/compat/svr4/svr4_signal.c: revision 1.66
sys/kern/kern_exec.c: revision 1.410
sys/fs/puffs/puffs_vfsops.c: revision 1.115
sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
sys/compat/linux32/common/linux32_misc.c: revision 1.24
sys/netinet/in_pcb.c: revision 1.153
sys/sys/malloc.h: revision 1.116
sys/compat/common/if_43.c: revision 1.9
share/man/man9/Makefile: revision 1.380
sys/netinet/tcp_vtw.c: revision 1.12
sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
sys/compat/common/uipc_syscalls_43.c: revision 1.46
sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
sys/fs/puffs/puffs_msgif.c: revision 1.97
sys/compat/svr4/svr4_ipc.c: revision 1.27
sys/compat/linux/common/linux_exec.c: revision 1.117
sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
sys/netinet/tcp_output.c: revision 1.179
sys/compat/svr4/svr4_termios.c: revision 1.28
sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
sys/fs/puffs/puffs_subr.c: revision 1.67
sys/fs/puffs/puffs_node.c: revision 1.36
sys/miscfs/overlay/overlay_vnops.c: revision 1.21
sys/fs/cd9660/cd9660_node.c: revision 1.34
sys/netinet/raw_ip.c: revision 1.146
sys/sys/mallocvar.h: revision 1.13
sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
share/man/man9/malloc.9: revision 1.50
sys/netinet6/dest6.c: revision 1.18
sys/compat/linux/common/linux_uselib.c: revision 1.33
sys/compat/linux/common/linux_socket.c: revision 1.120
share/man/man9/malloc.9: revision 1.51
sys/netinet/tcp_subr.c: revision 1.257
sys/compat/linux/common/linux_socketcall.c: revision 1.45
sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
sys/compat/freebsd/freebsd_ipc.c: revision 1.17
sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
sys/netinet6/in6_pcb.c: revision 1.132
sys/netinet6/in6_ifattach.c: revision 1.94
sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
sys/miscfs/nullfs/null_vfsops.c: revision 1.90
sys/fs/cd9660/cd9660_util.c: revision 1.12
sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
sys/compat/linux/common/linux_sched.c: revision 1.67
sys/compat/linux/common/linux_exec_aout.c: revision 1.67
sys/compat/linux/common/linux_pipe.c: revision 1.67
sys/compat/linux/common/linux_llseek.c: revision 1.34
sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
- remove struct kmembuckets (dead)
- correctly deadify MALLOC_XX
- remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
- remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Wed Nov 26 09:53:53 2014 UTC (11 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +10 -9
lines
Tweak ifconf variants
The tweaks make the code intention clear and make further changes easy.
No functional change.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Nov 21 06:03:04 2014 UTC (11 years, 11 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +40 -39
lines
Tweak linux_getifhwaddr
No functional change.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Nov 9 17:48:08 2014 UTC (12 years ago) by maxv
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -3
lines
Do not uselessly include <sys/malloc.h>.
Revision 1.114.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:32 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.114.2.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.1: +70 -40
lines
Rebase to HEAD as of a few days ago.
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:33 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117: +32 -40
lines
Rebase.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri May 23 12:28:51 2014 UTC (12 years, 5 months ago) by njoly
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +31 -36
lines
Add a funtion that translate socket type value from Linux to NetBSD.
Use it for socket and socketpair syscalls.
Revision 1.110.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:16 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.110.2.3: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.2.3: +40 -2
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.115.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:32 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.115.2.1: preferred, colored; branchpoint 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.2.1: +40 -2
lines
sync with head
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat May 17 21:26:20 2014 UTC (12 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +3 -6
lines
Replace open-coded access (and boundary checking) of ifindex2ifnet with
if_byindex() function.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Mon Jan 27 19:19:15 2014 UTC (12 years, 9 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base9,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +34 -2
lines
Add basic IPV6 level socket options support (IPV6_V6ONLY).
Revision 1.116: download - view: text, markup, annotated - select for diffs
Mon Jan 27 13:23:33 2014 UTC (12 years, 9 months ago) by njoly
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +8 -2
lines
Add SO_SNDLOWAT, SO_RCVLOWAT and SO_ACCEPTCONN support for socket
options.
Revision 1.115.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 17 03:16:31 2013 UTC (13 years, 4 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -6
lines
Checkpoint work in progress:
- Move PCB structures under __INPCB_PRIVATE, adjust most of the callers
and thus make IPv4 PCB structures mostly opaque. Any volunteers for
merging in6pcb with inpcb (see rpaulo-netinet-merge-pcb branch)?
- Move various global vars to the modules where they belong, make them static.
- Some preliminary work for IPv4 PCB locking scheme.
- Make raw IP code mostly MP-safe. Simplify some of it.
- Rework "fast" IP forwarding (ipflow) code to be mostly MP-safe. It should
run from a software interrupt, rather than hard.
- Rework tun(4) pseudo interface to be MP-safe.
- Work towards making some other interfaces more strict.
Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:08 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +12 -8
lines
resync with head
Revision 1.110.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:02 2013 UTC (13 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.110.2.2: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.2.2: +12 -8
lines
sync with head
Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Jan 11 19:01:36 2013 UTC (13 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +12 -8
lines
Use copyin/copyout and linux-specific ifreq structures (they are the same
as the netbsd ones, but this disconnects them)
Revision 1.110.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:44 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.110.2.1: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.2.1: +5 -5
lines
sync with head
Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Jun 20 15:03:18 2012 UTC (14 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +5 -5
lines
print proper ktruser names depending on the emulation.
Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:18 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +8 -8
lines
sync with head
Revision 1.110.6.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:22 2012 UTC (14 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.110.6.1: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.6.1: +3 -3
lines
sync to latest -current.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Mar 15 16:17:48 2012 UTC (14 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base10
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -3
lines
Do not read past end of array. Found by gcc -03
Revision 1.110.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:55 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +7 -7
lines
merge to -current.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Jan 20 14:08:07 2012 UTC (14 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: 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-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -4
lines
Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions
again. This was changed in sys/socket.h r1.51 to work around fallout
from the IPv6 aux data migration. It broke the historic ABI on some
platforms. This commit restores compatibility for netbsd32 code on such
platforms and provides a template for future changes to the CMSG_*
alignment. Revert PCC/Clang workarounds in postfix and tmux.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Dec 20 23:56:28 2011 UTC (14 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +5 -5
lines
- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.
- Introduce MSG_NBIO so that we can turn non blocking i/o on a per call basis
- Use MSG_NBIO to fix the XXX: multi-threaded issues on the fifo sockets.
- Don't set SO_CANTRCVMORE, if we were interrupted (perhaps do it for all
errors?).
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun Jul 17 23:59:54 2011 UTC (15 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +9 -2
lines
fail early on socket domain+type combinations we don't support
Revision 1.109: download - view: text, markup, annotated - select for diffs
Thu Jun 30 20:09:39 2011 UTC (15 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3
lines
dependant -> dependent
Revision 1.107.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:50 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +48 -6
lines
sync with head
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:25 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +48 -6
lines
Sync with HEAD.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Nov 2 18:02:59 2010 UTC (16 years ago) by chs
Branches: MAIN
CVS tags: uebayasi-xip-base4,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +48 -6
lines
update linux_sys_socket() to understand the flags that are now
included in the "type" parameter. in linux_sys_sendmsg(),
if we see an SCM_CREDENTIALS control message, just drop it
instead of giving an error. the linux and native versions of
the cred-passing operation are very different and some apps
(eg. linux pulseaudio library talking to a native server)
will work without the control data.
Revision 1.98.6.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:26 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.98.6.1: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.6.1: +30 -2
lines
sync to netbsd-5
Revision 1.91.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:16 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.91.2.3: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.2.3: +35 -2
lines
sync with head
Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Nov 28 22:11:42 2009 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +7 -2
lines
Add LINUX_SIOCGIFMTU and LINUX_IP_HDRINCL support.
Fixes part of PR/31358
The other parts are rather too intrusive to be fixed as in the PR.
Revision 1.98.4.2: download - view: text, markup, annotated - select for diffs
Sat Nov 28 15:45:02 2009 UTC (16 years, 11 months ago) by bouyer
Branches: netbsd-5
CVS tags: 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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.98.4.1: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.4.1: +28 -0
lines
Pull up following revision(s) (requested by joerg in ticket #1147):
sys/compat/linux32/common/linux32_socket.c: revision 1.11, 1.12
sys/compat/linux/common/linux_socket.c: revision 1.105, 1.106
sys/compat/linux/common/linux_sockio.h: revision 1.17
sys/compat/linux32/common/linux32_sockio.h: revision 1.3
Provide SIOCGIFNAME.
Return the result of copyout. Reminded by Niolas Joly.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Nov 13 22:39:35 2009 UTC (17 years ago) by joerg
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -5
lines
Return the result of copyout. Reminded by Niolas Joly.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Fri Nov 13 21:45:03 2009 UTC (17 years ago) by joerg
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +32 -2
lines
Provide SIOCGIFNAME.
Revision 1.99.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:41 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +56 -14
lines
Sync with HEAD.
Revision 1.91.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:17 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.91.2.2: preferred, colored; branchpoint 1.91: preferred, colored
Changes since revision 1.91.2.2: +56 -14
lines
sync with head
Revision 1.98.6.1: download - view: text, markup, annotated - select for diffs
Wed Jun 17 20:15:56 2009 UTC (17 years, 5 months ago) by bouyer
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +6 -2
lines
Pull up following revision(s) (requested by njoly in ticket #806):
sys/compat/linux/common/linux_socket.c: revision 1.100
In sendmsg(2), do copy the msghdr structure before trying to use it.
Revision 1.98.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 17 20:15:53 2009 UTC (17 years, 5 months ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +6 -2
lines
Pull up following revision(s) (requested by njoly in ticket #806):
sys/compat/linux/common/linux_socket.c: revision 1.100
In sendmsg(2), do copy the msghdr structure before trying to use it.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Jun 17 14:18:51 2009 UTC (17 years, 5 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base,
jym-xensuspend-nbase
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +41 -10
lines
Add a new linux_msghdr structure, as its size differs on 64bit archs.
Do the needed conversions in sendmsg/recvmsg syscalls, and adjust
their definitions accordingly.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Jun 16 23:17:02 2009 UTC (17 years, 5 months ago) by njoly
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +5 -5
lines
Add LINUX_CMSG_{SPACE,LEN} macros. Use then when calculating the
msg_controllen size, when converting the control message buffer from
native (previous version was missing the linux_cmsghdr size).
Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Jun 16 22:56:49 2009 UTC (17 years, 5 months ago) by njoly
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3
lines
For linux cmsg header copyout, use the linux structure size, not the
native one.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jun 16 15:56:10 2009 UTC (17 years, 5 months ago) by njoly
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +10 -3
lines
Make compat linux sendmsg/recvmsg output msghdr and control messages
buffers with ktrace(1), just like the native functions.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:57:58 2009 UTC (17 years, 5 months ago) by njoly
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +6 -2
lines
In sendmsg(2), do copy the msghdr structure before trying to use it.
Revision 1.91.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:22 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.91.2.1: preferred, colored; branchpoint 1.91: preferred, colored
Changes since revision 1.91.2.1: +92 -45
lines
sync with head.
Revision 1.98.2.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.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +2 -6
lines
Sync with HEAD.
Revision 1.86.6.5: 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.86.6.4: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.6.4: +0 -4
lines
Sync with HEAD.
Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:56 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.97.2.1: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.1: +2 -6
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:03 2008 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jym-xensuspend-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -6
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.97.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:14 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +5 -8
lines
Sync with HEAD.
Revision 1.86.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:15 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.86.6.3: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.6.3: +70 -26
lines
Sync with HEAD.
Revision 1.93.2.4: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:45 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.93.2.3: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.3: +75 -31
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Wed Aug 6 15:01:23 2008 UTC (18 years, 3 months ago) by plunky
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5-0,
netbsd-5
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +5 -8
lines
Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.
approved by core
Revision 1.94.2.3: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:57 2008 UTC (18 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.94.2.2: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.2: +69 -22
lines
Sync with head.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Jul 3 14:07:09 2008 UTC (18 years, 4 months ago) by njoly
Branches: MAIN
CVS tags: simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +69 -22
lines
Fix SIOCGIFCONF ioctl for 64bit platforms. Add a new linux_ifreq
structure and linux_getifconf function (cleaned up version from
compat_ifconf).
While here, update linux_getifhwaddr to use the new structure.
Ok by christos.
Revision 1.86.6.3: 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.86.6.2: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.6.2: +20 -13
lines
Sync with HEAD.
Revision 1.94.2.2: 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.94.2.1: preferred, colored
Changes since revision 1.94.2.1: +5 -5
lines
Sync with head.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Jun 24 11:18:15 2008 UTC (18 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +5 -5
lines
Replace references to getsock/getvnode.
Revision 1.93.2.3: 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.93.2.2: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.2: +19 -12
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:32:55 2008 UTC (18 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +16 -11
lines
Sync with head.
Revision 1.89.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:24 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.89.2.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.2.1: +19 -12
lines
sync with head.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Jun 11 13:02:00 2008 UTC (18 years, 5 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +16 -11
lines
In linux_sys_sendto, do not unconditionnally set MSG_NAMEMBUF to
msg_flags; add it only if a target adress was provided and needs to be
converted.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Jun 9 21:17:58 2008 UTC (18 years, 5 months ago) by njoly
Branches: MAIN
Branch point for: simonb-wapbl
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +5 -3
lines
Do set mbuf in all cases, even for salen value of 0; otherwise this
will make a panic later when trying to free memory from a random
adress.
XXX Need to revisit it later to avoid mbuf allocation in this case.
Revision 1.86.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:03 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.86.6.1: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.6.1: +9 -12
lines
Sync with HEAD.
Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:20 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +11 -14
lines
sync with head.
Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:43 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +5 -11
lines
sync with head.
Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:05 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.93.2.1: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.1: +2 -3
lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.
Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)
Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.
This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.
I think this reduction is very good thing.
Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:56 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -2
lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.
Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Tue Apr 29 09:56:38 2008 UTC (18 years, 6 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -4
lines
In linux_get_sa(), make salen parameter unsigned.
Avoid kernel DIAGNOSTIC 0 bytes uvm mapping assertion, for negative
values.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:44 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:38:36 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +5 -5
lines
Merge the socket locking patch:
- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.
With much feedback from matt@ and plunky@.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Apr 23 13:13:25 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +5 -2
lines
Fix locking.
Revision 1.86.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:33 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +24 -47
lines
Sync with HEAD.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Mar 26 20:08:22 2008 UTC (18 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +8 -16
lines
- Remove uneeded splsoftnet().
- Use fd_getsock().
Revision 1.56.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:41 2008 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.8: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.2.8: +24 -39
lines
sync with head.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun Mar 23 19:35:54 2008 UTC (18 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
ad-socklock-base1
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -7
lines
linux_get_sa: fix botched fd handling.
Revision 1.78.2.3: 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.78.2.2: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.2.2: +5 -5
lines
sync with HEAD
Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:58 2008 UTC (18 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +26 -38
lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
Revision 1.80.2.3: 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.80.2.2: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.2: +5 -5
lines
Sync with HEAD.
Revision 1.56.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:32 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.7: preferred, colored
Changes since revision 1.56.2.7: +5 -5
lines
sync with head.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Feb 6 21:57:53 2008 UTC (18 years, 9 months ago) by ad
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base
Branch point for: mjf-devfs2
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -5
lines
Don't lock the socket to set/clear FNONBLOCK. Just set it atomically.
Revision 1.56.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:29 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.6: preferred, colored
Changes since revision 1.56.2.6: +64 -121
lines
sync with head
Revision 1.78.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:16 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.78.2.1: preferred, colored
Changes since revision 1.78.2.1: +119 -179
lines
sync with HEAD
Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:43 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +54 -56
lines
Sync with HEAD
Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:12 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.80.2.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.1: +64 -121
lines
Sync with HEAD.
Revision 1.80.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:02 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.80.4.1: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.4.1: +64 -121
lines
Sync with head.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:56 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3,
matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +54 -56
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.76.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:05 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.76.6.3: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.6.3: +82 -140
lines
Sync with HEAD.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:10 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.83: preferred, colored
Changes since revision 1.83: +27 -82
lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:51 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +57 -60
lines
Sync with HEAD.
Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:51 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +57 -60
lines
Sync with head.
Revision 1.56.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:28:24 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.5: preferred, colored
Changes since revision 1.56.2.5: +57 -60
lines
sync with head
Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Dec 5 22:51:57 2007 UTC (18 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3
lines
Use IFADDR_EMPTY().
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Dec 5 01:06:23 2007 UTC (18 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +46 -49
lines
Don't open-code queue(3) macros (x = ifnet.tqh_first; y =
x.if_list.tqe_next). Instead, use the macros themselves.
Use IFNET_FOREACH() and IFADDR_FOREACH().
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Dec 4 18:40:17 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +13 -13
lines
Remove all the __P
Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:01 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +6 -4
lines
sync with HEAD
Revision 1.56.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:41 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.4: preferred, colored
Changes since revision 1.56.2.4: +4 -2
lines
sync with head.
Revision 1.76.6.3: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:00 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.76.6.2: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.6.2: +4 -2
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.79.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:00 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +4 -2
lines
Sync with HEAD.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Oct 19 18:52:12 2007 UTC (19 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2,
mjf-devfs
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -2
lines
Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.
Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:04 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.71.2.3: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.3: +6 -6
lines
Sync with head.
Revision 1.76.6.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:51 2007 UTC (19 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.76.6.1: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.6.1: +6 -6
lines
Sync with HEAD.
Revision 1.56.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:25 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.3: preferred, colored
Changes since revision 1.56.2.3: +324 -466
lines
sync with head.
Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:19:58 2007 UTC (19 years, 2 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +9 -17
lines
Sync with HEAD.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Aug 29 22:33:42 2007 UTC (19 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -4
lines
Constify: LLADDR() -> CLLADDR().
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun Aug 26 22:33:25 2007 UTC (19 years, 2 months ago) by dyoung
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4
lines
Use satosdl().
Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:25:54 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.71.2.2: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.2: +5 -13
lines
Sync with HEAD.
Revision 1.76.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:02:48 2007 UTC (19 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -13
lines
Sync with HEAD.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Aug 15 12:07:29 2007 UTC (19 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -13
lines
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:11 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +146 -180
lines
Sync with head.
Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:19 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +326 -460
lines
Sync with head.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Jul 1 18:45:36 2007 UTC (19 years, 4 months ago) by dsl
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +146 -180
lines
Fix long-term breakage in the definition of 'control' data for linux.
cmsg->cmsg_len is 'size_t' not 'socklen_t' - so it is 8 bytes on 64bit
platforms instead of 4. There is also never padding after the header.
Redo linux sendmsg() so that it stands a chance of getting it right.
Redo linux recvmsg() so that it process control data directly from the mbuf
list. Allowing it to hack the data without using the stackgap.
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:57:43 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +185 -285
lines
Sync with head.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Jun 6 17:08:27 2007 UTC (19 years, 5 months ago) by rjs
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -2
lines
Wrap ktrace calls with #ifdef KTRACE.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Jun 2 13:16:19 2007 UTC (19 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4
lines
wrap #include "opt_ktrace.h" by #ifdef _KERNEL_OPT.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Jun 1 22:53:52 2007 UTC (19 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +170 -275
lines
Split sys_bind() and sys_connect() so that compat code can use common code
once the 'address' has been copied into an mbuf.
Add extra flags for 'struct msghdr.msg_flags' to indicate that the address
and control are already in mbufs, and that the uio structure is in userspace
for sending data, rename sendit() to do_sys_sendmsg() to ensure no old code
passes in random flags.
Changes to compat code to use new functions - removing some stackgap use.
Fix a 'use after free' in compat_43_sys_recvmsg.
I ***THINK*** the code that converts 'cmsg' formatted data is borked!
svr4_stream.c ought to be generated from svr4_32_stream.c during the build.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue May 29 21:32:28 2007 UTC (19 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +12 -11
lines
Add a sockaddr_storage member to "struct ifreq" maintaining backwards
compatibility with the older ioctls. This avoids stack smashing and
abuse of "struct sockaddr" when ioctls placed "struct sockaddr_foo's" that
were longer than "struct sockaddr".
XXX: Some of the emulations might be broken; I tried to add code for
them but I did not test them.
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:28 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +24 -24
lines
Sync with HEAD.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:24 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +24 -24
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.56.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:23 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.2: preferred, colored
Changes since revision 1.56.2.2: +26 -3
lines
sync with head.
Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 21 13:21:01 2007 UTC (19 years, 8 months ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
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
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +26 -2
lines
Pull up following revision(s) (requested by mlelstv in ticket #447):
sys/compat/linux/common/linux_socket.c: revision 1.70
Make setsockopt return compatible error codes for AF_UNIX sockets.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Feb 11 08:00:59 2007 UTC (19 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +26 -2
lines
Make setsockopt return compatible error codes for AF_UNIX sockets.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:19 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -3
lines
Merge newlock2 to head.
Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:33 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.66.2.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.1: +2 -3
lines
Remove support for SA. Ok core@.
Revision 1.56.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:38 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.1: preferred, colored
Changes since revision 1.56.2.1: +9 -10
lines
sync with head.
Revision 1.66.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:48 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.66.4.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.4.1: +3 -3
lines
sync with head.
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:09 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -7
lines
Sync with head.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:42 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
newlock2-nbase,
newlock2-base,
netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:24 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -7
lines
sync with head
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:48 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -7
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:52 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +51 -43
lines
sync with head
Revision 1.59.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:41 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.59.2.3: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.3: +4 -2
lines
sync with head.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Sep 2 06:53:17 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -2
lines
comment out impossible code
Revision 1.59.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.59.2.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.2: +5 -5
lines
sync with head
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:09 2006 UTC (20 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
Use the LWP cached credentials where sane.
Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:14 2006 UTC (20 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +4 -4
lines
Merge from HEAD.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Jun 27 09:09:40 2006 UTC (20 years, 4 months ago) by pavel
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
Use the new socket call for Linux and SVR4, because those systems (at
least Linux 2.4.31, Irix 6.5.20 and Solaris 10) use EAFNOSUPPORT.
Only the Linux emulation has been tested.
XXX somebody should audit the other emulations...
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Jun 26 21:23:57 2006 UTC (20 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -4
lines
version the socket(2) syscall. for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.
from pavel@ with a little bit of clean up from myself.
XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:12 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +73 -62
lines
sync with head.
Revision 1.58.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:51 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.58.6.1: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.6.1: +14 -13
lines
Sync with head.
Revision 1.59.6.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:27 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.59.6.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.6.1: +14 -13
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:28 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.1: +14 -13
lines
sync with head.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:50 2006 UTC (20 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: gdamore-uart
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -4
lines
integrate kauth.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri May 12 01:58:55 2006 UTC (20 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +12 -11
lines
use socklen_t when talking to the NetBSD side of things
Revision 1.59.4.3: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:26 2006 UTC (20 years, 6 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.59.4.2: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.4.2: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:13 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +35 -30
lines
Sync with head.
Revision 1.59.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:01:22 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.59.4.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.4.1: +32 -29
lines
sync with head.
Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:41 2006 UTC (20 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +32 -29
lines
sync with head.
Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:42:03 2006 UTC (20 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +32 -29
lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Mar 27 21:27:02 2006 UTC (20 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
elad-kernelauth-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +32 -29
lines
Use __arraycount().
Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:48:38 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -4
lines
Adapt to kernel authorization KPI.
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:38:59 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +5 -3
lines
sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Feb 9 19:18:56 2006 UTC (20 years, 9 months ago) by manu
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -3
lines
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
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:19 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +26 -23
lines
merge ktrace-lwp.
Revision 1.46.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:07 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.7: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.7: +6 -2
lines
Sync with HEAD. Here we go again...
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Sep 24 15:51:03 2005 UTC (21 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -2
lines
factor out some of the osockaddr, omsghdr code.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue May 3 16:26:29 2005 UTC (21 years, 6 months ago) by manu
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -2
lines
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.
Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:40 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +18 -16
lines
sync with -current
Revision 1.53.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:37 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +18 -16
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.46.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:03 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.6: preferred, colored
Changes since revision 1.46.2.6: +18 -16
lines
Sync with HEAD.
Hi Perry!
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:10:19 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +14 -14
lines
nuke trailing whitespace
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Feb 24 08:15:53 2005 UTC (21 years, 8 months ago) by martin
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -4
lines
Fix number of elements calculation when converting socket options.
Fixes bugs 4 and 5 reported by Ted Unangst on tech-kern.
Revision 1.46.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 21 14:30:19 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.5: preferred, colored
Changes since revision 1.46.2.5: +11 -10
lines
Adapt to branch.
Revision 1.46.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:41 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.4: preferred, colored
Changes since revision 1.46.2.4: +17 -15
lines
Fix the sync with head I botched.
Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 20 05:59:47 2004 UTC (22 years, 2 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +40 -11
lines
Pull up revision 1.53 (requested by jdolecek in ticket #844):
if passed sockaddr has family AF_UNSPEC, use socket family of the socket
the sockaddr is used for
this fixes bind() problem in Linux version of Theocracy, testing
by Thomas Klausner
Revision 1.46.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:44 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.3: preferred, colored
Changes since revision 1.46.2.3: +53 -27
lines
Sync with HEAD.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Sep 12 15:32:55 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +40 -11
lines
if passed sockaddr has family AF_UNSPEC, use socket family of the socket
the sockaddr is used for
this fixes bind() problem in Linux version of Theocracy, testing
by Thomas Klausner
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Sep 5 09:38:17 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -3
lines
linux_sa_get: g/c curproc use, we get the process as one of arguments
Revision 1.46.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:16 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.2: preferred, colored
Changes since revision 1.46.2.2: +3 -3
lines
Sync with HEAD
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Aug 29 20:10:42 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
in debug log, data dump is more useful unsigned
Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:05 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.1: preferred, colored
Changes since revision 1.46.2.1: +429 -35
lines
Sync with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:38:42 2003 UTC (23 years ago) by christos
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4
lines
Fix uninitialized variable warnings
Revision 1.39.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 22 04:21:55 2003 UTC (23 years, 1 month ago) by jmc
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Diff to: previous 1.39.4.2: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.4.2: +36 -3
lines
Pullup revs 1.41-1.42 (requested by tv in ticket #1429)
setsockopt(IPPROTO_IPV6, IPV6_V6ONLY, 0) for AF_INET6 sockets,
to meet with the default behavior of linux.
Revision 1.39.4.2: download - view: text, markup, annotated - select for diffs
Wed Oct 22 04:18:35 2003 UTC (23 years, 1 month ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.39.4.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.4.1: +429 -35
lines
Pullup rev 1.49 (via patch) (requested by tv in ticket #1425)
More complete sendmsg(2) and recvmsg(2) emulation:
* translate MSG_* flags
* rewrite CMSG level/type to appropriate NetBSD value on input,
and to Linux value on output
* handle different CMSG_DATA alignment for some archs
This fixes SCM_RIGHTS passing. Other SCM_* types are not supported -
the set is different on NetBSD and Linux. SCM_TIMESTAMP doesn't seem
to be actually implemented in Linux 2.5.15, so it's not supported
for Linux binaries either (for now).
Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 22 03:43:03 2003 UTC (23 years, 1 month ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3
lines
Pullup rev 1.46 (requested by tv in ticket #1425)
make credentials work on the i386 by passing the original msg structure.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jul 27 19:30:03 2003 UTC (23 years, 3 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +429 -35
lines
More complete sendmsg(2) and recvmsg(2) emulation:
* translate MSG_* flags
* rewrite CMSG level/type to appropriate NetBSD value on input, and to Linux
value on output
* handle different CMSG_DATA alignment for some archs
This fixes SCM_RIGHTS passing. Other SCM_* types are not supported -
the set is different on NetBSD and Linux. SCM_TIMESTAMP doesn't seem
to be actually implemented in Linux 2.5.15, so it's not supported
for Linux binaries either (for now).
PR: 21577 by Todd Vierling
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Jul 27 05:04:02 2003 UTC (23 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
add a cast appease gcc3.3
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Jul 23 19:10:29 2003 UTC (23 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3
lines
make credentials work on the i386 by passing the original msg structure.
(from Todd Vierling)
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:48 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +16 -14
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:31 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +12 -14
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:22 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +16 -14
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:13:53 2003 UTC (23 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
Change 'data' argument to fo_ioctl and fo_fcntl from 'caddr_t' to 'void *'.
Avoids a lot of casting and removes the need for some line breaks.
Removed a load of (caddr_t) casts from calls to copyin/copyout as well.
(approved by christos - he has a plan to remove caddr_t...)
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jan 18 21:21:34 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +55 -48
lines
Merge the nathanw_sa branch.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 18 01:05:53 2002 UTC (23 years, 11 months ago) by gmcgarry
Branches: gmcgarry_ucred
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +3 -4
lines
Merge pcred and ucred, and poolify. TBD: check backward compatibility
and factor-out some higher-level functionality.
Revision 1.28.2.14: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:25 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.28.2.13: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.13: +65 -31
lines
Sync with HEAD.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Nov 29 14:32:27 2002 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: gmcgarry_ucred
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +28 -26
lines
Patch that actually works for previous, from Jaromir Dolecek.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Nov 29 01:34:55 2002 UTC (23 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +34 -3
lines
setsockopt(IPPROTO_IPV6, IPV6_V6ONLY, 0) for AF_INET6 sockets,
to meet with the default behavior of linux.
review: fvdl/christos
XXX interactions with net.inet6.ip6.v6only?
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Nov 28 23:46:15 2002 UTC (23 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +30 -30
lines
minor KNF (indent)
Revision 1.28.2.13: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:02 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.12: preferred, colored
Changes since revision 1.28.2.12: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.28.2.12: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:09:32 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.11: preferred, colored
Changes since revision 1.28.2.11: +4 -4
lines
Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
Revision 1.33.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:28 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.33.2.2: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.2: +49 -19
lines
catch up with -current on kqueue branch
Revision 1.28.2.11: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:43:06 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.10: preferred, colored
Changes since revision 1.28.2.10: +10 -3
lines
Catch up to -current.
Revision 1.28.2.10: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:45 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.9: preferred, colored
Changes since revision 1.28.2.9: +3 -2
lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.
(Behold the Power of Ed)
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun May 12 18:30:32 2002 UTC (24 years, 6 months ago) by jschauma
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gehenna-devsw-base,
gehenna-devsw
Branch point for: netbsd-1-6
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +10 -3
lines
Linux does not implement SO_REUSEPORT, but allows reuse of a
host:port pair through SO_REUSEADDR even if the address is not a
multicast-address. Effectively, this means that we should use
SO_REUSEPORT when SO_REUSEADDR is set (from the linux process)
to allow Linux applications to not exit with EADDRINUSE.
(Previously erraneously applied to 1.5 branch; approved for
proper location by thorpej)
Revision 1.24.4.4: download - view: text, markup, annotated - select for diffs
Sun May 12 00:02:33 2002 UTC (24 years, 6 months ago) by jschauma
Branches: netbsd-1-5
Diff to: previous 1.24.4.3: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.4.3: +2 -9
lines
Undo my own bad - change did not belong into 1.5 branch. Sorry.
Revision 1.24.4.3: download - view: text, markup, annotated - select for diffs
Sat May 11 14:19:20 2002 UTC (24 years, 6 months ago) by jschauma
Branches: netbsd-1-5
Diff to: previous 1.24.4.2: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.2: +9 -2
lines
Linux does not implement SO_REUSEPORT, but allows reuse of a
host:port pair through SO_REUSEADDR even if the address is not a
multicast-address. Effectively, this means that we should use
SO_REUSEPORT when SO_REUSEADDR is set (from the linux process)
to allow Linux applications to not exit with EADDRINUSE.
Revision 1.28.2.9: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:13 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.8: preferred, colored
Changes since revision 1.28.2.8: +26 -4
lines
Catch up to -current.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Apr 8 14:00:31 2002 UTC (24 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -4
lines
PR/16236: Joachim Koenig-Baltes: Linux emulation connect requires IPV6.
Apparently the sockaddr len fix was only compiled when IPV6 was enabled.
Revision 1.28.2.8: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:44:30 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.7: preferred, colored
Changes since revision 1.28.2.7: +17 -13
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Mar 29 20:49:40 2002 UTC (24 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +26 -5
lines
- #undef DPRINTF for files that are included from other files.
- more debugging for socketcalls
- fix sa_len if AF_INET; somehow we get passed 28 instead of 16?
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Mar 16 20:43:54 2002 UTC (24 years, 8 months ago) by christos
Branches: MAIN
CVS tags: eeh-devprop-base,
eeh-devprop
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +15 -14
lines
make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.
Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:51:48 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.33.2.1: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.2.1: +4 -1
lines
Sync kqueue branch with -current.
Revision 1.28.2.7: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:13 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.6: preferred, colored
Changes since revision 1.28.2.6: +4 -1
lines
Catch up to -current.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:08:59 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -1
lines
add RCSIDs (including regeneration of files as appropriate)
Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:49 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +65 -29
lines
Catch up with -current.
Revision 1.28.2.6: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:19 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.5: preferred, colored
Changes since revision 1.28.2.5: +65 -29
lines
Catch up to -current.
Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:25 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +65 -29
lines
Update the kqueue branch to HEAD.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Sep 8 14:19:09 2001 UTC (25 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
pre-chs-ubcperf,
post-chs-ubcperf
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +65 -29
lines
Allow the old-style sockaddr_in6 for v6 addresses for which the
scope id is irrelevant. Makes netscape6 for Linux work again,
which uses v4-mapped addresses to connect to v4 sites.
Revision 1.28.2.5: download - view: text, markup, annotated - select for diffs
Fri Aug 24 04:20:03 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.4: preferred, colored
Changes since revision 1.28.2.4: +22 -22
lines
A few files and lwp/proc conversions I missed in the last big update.
GENERIC runs again.
Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:08:50 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.3: preferred, colored
Changes since revision 1.28.2.3: +484 -53
lines
Catch up with -current.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jul 4 10:24:18 2001 UTC (25 years, 4 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp,
kqueue
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -4
lines
remove no longer used variable
make 'osa' arg of linux_sa_get() const
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Jul 4 10:09:24 2001 UTC (25 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +484 -50
lines
Do address family (AF_*) number translation for socket system calls which
pass socket address in our or out. This makes Linux programs using IPv6
working under emulation. This addresses kern/13279 by Jun-ichiro itojun Hagino.
Change sendmsg()/recvmsg() to expect the control information
to be passed the standard way (not 4.3BSD one, imlied by compat_43 code
or MSG_COMPAT). Linux uses different (arguably broken) CMSG_ALIGN() on some
architectures unfortunately, that would need to be handled eventually.
Also provide some other trivial stubs (like linux_sys_send()) to avoid
unneeded dependance on uipc_syscalls_43.c.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jun 25 19:55:02 2001 UTC (25 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -4
lines
linux_getifhwaddr(): use strncmp() to find out if if_name starts with 'eth',
it's more readable that way
Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:59:55 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.2: preferred, colored
Changes since revision 1.28.2.2: +3 -7
lines
Catch up to -current.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Jun 14 20:32:43 2001 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -7
lines
Fix a partial construction problem that can cause race conditions
between creation of a file descriptor and close(2) when using kernel
assisted threads. What we do is stick descriptors in the table, but
mark them as "larval". This causes essentially everything to treat
it as a non-existent descriptor, except for fdalloc(), which sees a
filled slot so that it won't (incorrectly) allocate it again. When
a descriptor is fully constructed, the code that has constructed it
marks it as "mature" (which actually clears the "larval" flag), and
things continue to work as normal.
While here, gather all the code that gets a descriptor from the table
into a fd_getfile() function, and call it, rather than having the
same (sometimes incorrect) code copied all over the place.
Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:19 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.3: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.3: +2 -1
lines
Sync with HEAD
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:55:43 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.1: preferred, colored
Changes since revision 1.28.2.1: +2 -1
lines
Catch up with -current.
Revision 1.24.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 30 22:44:19 2001 UTC (25 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.24.4.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.1: +2 -1
lines
Pull up revision 1.29 (requested by fvdl):
Fix the SIOCGETHWADDR socket ioctl call; earlier it always returned
an error.
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 21:43:57 2001 UTC (25 years, 7 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +52 -6
lines
Pull up revisions 1.25-1.26 (requested by fvdl):
Add some required Linux emulation bits to support the Linux
version of VMware.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Mar 29 10:37:37 2001 UTC (25 years, 7 months ago) by fvdl
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1
lines
Don't do the ioctl call for the get hw addr case, all the work has
been done already.
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:28 2001 UTC (25 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +27 -24
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:14:05 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.2: +1 -5
lines
Sync with HEAD.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Feb 5 10:42:41 2001 UTC (25 years, 9 months ago) by chs
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -5
lines
expose the definitions of MIN() and MAX() in sys/param.h to the kernel
and use those in favor of a dozen copies scattered around the source tree.
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:27 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +60 -6
lines
Sync with HEAD
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:07:53 2000 UTC (25 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -1
lines
Allow the EJUSTRETURN hack for PTIOCLINUX-passed through ioctl calls.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Dec 22 23:41:16 2000 UTC (25 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1
lines
Don't do the syscall with modified ioctl command if we've successfully
done a 'passthrough' ioctl.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Dec 18 14:46:36 2000 UTC (25 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +51 -6
lines
Pass SIOC* calls that are done on devices (not sockets) through
without trying to interpret done, as is done on Linux. The device
will get them as PTIOCLINUX, with command and arg in the structure
passed in.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:26 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +43 -12
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed May 3 21:41:43 2000 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
Remove junk after #undef.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Mar 30 11:27:18 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -6
lines
Kill register declarations.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 15 16:15:40 2000 UTC (26 years, 10 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +114 -1
lines
Pull up revision 1.21 (via patch, requested by joda):
Implement the SIOCGIFHWADDR Linux ioctl, allowing installation
of Matlab (after convincing the install script it is running on
a supported platform).
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jan 12 17:19:11 2000 UTC (26 years, 10 months ago) by jdolecek
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +37 -6
lines
Improve emulation of SIOCGIFHWADDR ioctl:
* when finding an interface, try the real name first before faking eth*
* Linux kernel returns ENODEV if the request goes to unknown interface,
so do the same here
This change makes Linux ICA client work.
Patch sent by Zdenek Salvet <salvet@ics.muni.cz> in kern/9169.
Revision 1.19.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:52:20 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.19.4.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.4.1: +117 -1
lines
Update from trunk.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jul 17 22:03:55 1999 UTC (27 years, 4 months ago) by jtk
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: thorpej_scsipi
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +117 -1
lines
implement emulation of SIOCGIFHWADDR, PR 7997
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:07:38 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3
lines
Sync w/ -current.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 5 20:01:03 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3
lines
Add "use counting" to file entries. When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.
This is necessary in order for multiple processes to safely share file
descriptor tables.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Mar 25 04:26:45 1999 UTC (27 years, 7 months ago) by sommerfe
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +45 -1
lines
commit fix to PR7072: emulate linux non-blocking connect behavior more correctly
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Oct 4 00:02:43 1998 UTC (28 years, 1 month ago) by fvdl
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -34
lines
Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Oct 3 20:17:43 1998 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +9 -8
lines
Attempt to fix the mess.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Oct 1 03:33:18 1998 UTC (28 years, 1 month ago) by erh
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +127 -389
lines
Split linux/compat/linux_socket.c into common and multi-architechture parts. linux_socketcall.c contains the socketcall multiplexer.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 22 23:02:26 1996 UTC (29 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4
lines
Make this compile again, including Politically Correct const handling.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Apr 5 00:01:50 1996 UTC (30 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +31 -1
lines
Prototyping changes.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Mar 8 04:56:05 1996 UTC (30 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +51 -1
lines
Separate ioctl emulation by group. Add (minimal) audio emulation.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:27:13 1995 UTC (31 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +92 -82
lines
Prefix names of system call implementation functions with `sys_'.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Sep 19 22:37:35 1995 UTC (31 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -8
lines
Make system calls conform to a standard prototype and bring those
prototypes into scope.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 14 01:27:55 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1
lines
Rearrange #includes.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 24 20:20:33 1995 UTC (31 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -2
lines
Use compat_util.[ch].
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jun 22 21:34:40 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1
lines
* Changed to use generic ELF code from kern/exec_elf.c (which was taken
from the svr4 exec code plus the linux compat mods)
* Include file change
* Add multicast sockopts (from John Brezak)
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun May 28 10:20:46 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1
lines
Need netinet/tcp.h.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun May 28 10:16:32 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -7
lines
Convert TCP socket options.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 28 09:39:45 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -5
lines
Fill in `name' argument to getsockopt() correctly.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 28 08:52:07 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Fix typo.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun May 28 08:50:17 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +72 -19
lines
Convert IP socket options.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun May 28 08:09:51 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +21 -20
lines
Get rid of damned `static's.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 28 23:25:17 1995 UTC (31 years, 8 months ago) by fvdl
Branches: MAIN
Added Linux compat code.
CVSweb <webmaster@jp.NetBSD.org>