CVS log for src/sys/compat/linux/common/linux_file.c
Up to [cvs.NetBSD.org] / src / sys / compat / linux / common
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.133: download - view: text, markup, annotated - select for diffs
Tue Oct 1 17:46:51 2024 UTC (2 months, 1 week ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +2 -3
lines
linux_sys_copy_file_range: Nix unused variable new_size.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Oct 1 17:18:45 2024 UTC (2 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +4 -3
lines
linux_sys_copy_file_range: Avoid more UB arithmetic overflow.
Need to check the input offset too, not just the output offset.
No functional change in the non-UB case.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Oct 1 17:15:59 2024 UTC (2 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +5 -5
lines
linux_sys_copy_file_range: Avoid UB arithmetic overflow.
No functional change intended in the non-UB case.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Oct 1 17:11:39 2024 UTC (2 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +20 -20
lines
sys/compat/linux/common/linux_file.c: KNF
No functional change intended.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Oct 1 17:08:47 2024 UTC (2 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +2 -7
lines
linux_sys_copy_file_range: Prune dead branch.
kmem_alloc(KM_SLEEP) can't fail.
No functional change intended.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Oct 1 17:05:16 2024 UTC (2 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +4 -8
lines
sys/compat/linux/common/linux_file.c: Fix blank lines and comments.
No functional change intended.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Tue Oct 1 17:00:27 2024 UTC (2 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +42 -22
lines
sys/compat/linux/common/linux_file.c: KNF in function heads.
No functional change intended.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Tue Oct 1 16:41:29 2024 UTC (2 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +24 -24
lines
sys/compat/linux/common: Nix trailing whitespace, and one blank line.
No functional change intended.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Sat Sep 28 19:35:56 2024 UTC (2 months, 1 week ago) by christos
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +350 -3
lines
Linux GSoC-2024: renameat2, clone3, sync_file_range, syncfs (Shivraj Jamgade)
Revision 1.124: download - view: text, markup, annotated - select for diffs
Sat Jun 29 13:46:10 2024 UTC (5 months, 1 week ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +20 -2
lines
From gsoc 2024: Implement faccessat2 and getcpu (Shivraz)
Revision 1.123: download - view: text, markup, annotated - select for diffs
Mon Jul 10 02:31:55 2023 UTC (17 months ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +10 -2
lines
Add memfd_create(2) from GSoC 2023 by Theodore Preduta
Revision 1.115.10.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 21:04:02 2023 UTC (17 months, 3 weeks ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +3 -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.116.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:11:32 2022 UTC (2 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +3 -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.122: download - view: text, markup, annotated - select for diffs
Thu Nov 25 03:08:04 2021 UTC (3 years ago) by ryo
Branches: MAIN
CVS tags: netbsd-10-base,
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.121: preferred, colored
Changes since revision 1.121: +2 -8
lines
add support COMPAT_LINUX32 for aarch64
Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Sep 23 06:56:27 2021 UTC (3 years, 2 months ago) by ryo
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +13 -5
lines
add support COMPAT_LINUX for aarch64
Revision 1.120: download - view: text, markup, annotated - select for diffs
Mon Sep 20 02:20:03 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +69 -2
lines
Add preadv(2) and pwritev(2) system calls to COMPAT_LINUX and COMPAT_LINUX32.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Sep 7 11:43:04 2021 UTC (3 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -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.118.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 17 03:14:16 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +69 -2
lines
Add suppport for Linux preadv(2) and pwritev(2). Same as native, except
for the silly way that the offset argument is passed in.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat May 23 23:42:41 2020 UTC (4 years, 6 months ago) by ad
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
Branch point for: thorpej-futex
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +7 -7
lines
Move proc_lock into the data segment. It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
Revision 1.115.18.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:15 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +11 -4
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Nov 9 23:44:32 2019 UTC (5 years, 1 month ago) by jdolecek
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.116: preferred, colored
Changes since revision 1.116: +10 -2
lines
add dummy implementation of linux fallocate() which just returns EOPNOTSUPP;
this is needed so that glibc falls back to emulation and apps behaving
properly, since EOPNOTSUPP is a documented and expected return code, but
ENOSYS is not
right now there are no filesystems in NetBSD tree supporting the fallocate
VOP, so no point trying to map this to a native call
supposed to help with problem reported in
https://mail-index.netbsd.org/tech-kern/2019/11/03/msg025641.html
Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Jun 18 22:34:25 2019 UTC (5 years, 5 months ago) by kamil
Branches: MAIN
CVS tags: netbsd-9-base,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -4
lines
Drop unused retval pointer from do_sys_mknod{,at}()
No functional change intended.
Revision 1.104.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:54 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.104.12.1: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.12.1: +4 -1
lines
update from HEAD
Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:06 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +6 -2
lines
Sync with HEAD
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun Mar 1 13:19:39 2015 UTC (9 years, 9 months ago) by njoly
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20190609,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
netbsd-8
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +6 -2
lines
Add Linux specific fcntl(2) commands. Support F_DUPFD_CLOEXEC.
Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 12:10:54 2015 UTC (9 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-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +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.114: download - view: text, markup, annotated - select for diffs
Sun Nov 9 17:48:08 2014 UTC (10 years, 1 month ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -3
lines
Do not uselessly include <sys/malloc.h>.
Revision 1.104.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:32 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +230 -53
lines
Rebase to HEAD as of a few days ago.
Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:33 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +27 -16
lines
Rebase.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Jun 25 16:38:53 2014 UTC (10 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.112: preferred, colored
Changes since revision 1.112: +14 -6
lines
Add support for more open flags that have a native equivalent
(O_NONBLOCK, O_DIRECT and O_NOFOLLOW).
Translate native EFTYPE error (missing on Linux) to expected ELOOP;
when opening symlinks with flag O_NOFOLLOW.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Jun 1 13:42:12 2014 UTC (10 years, 6 months ago) by njoly
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -4
lines
Cleanup pipe(2) flags, now that native handle them.
Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:16 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +210 -42
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.104.16.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:32 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +218 -48
lines
sync with head
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun May 18 09:30:00 2014 UTC (10 years, 6 months ago) by njoly
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +10 -8
lines
Simplify dup3 emulation to call dodup() directly instead of
sys_dup2()+fd_set_exclose(). While here, add some error conditions.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue May 6 13:21:50 2014 UTC (10 years, 7 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base9
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3
lines
linux_off_t -> off_t in pwrite() syscall args comment.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun May 4 10:08:53 2014 UTC (10 years, 7 months ago) by njoly
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +5 -3
lines
Fix pread/pwrite syscalls which need a 64bit offset argument.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Dec 8 15:55:10 2013 UTC (11 years ago) by njoly
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +5 -5
lines
Sprinkle a few more linux_umode_t where appropriate.
Reduce diffs between archs.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Dec 8 14:59:43 2013 UTC (11 years ago) by njoly
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -2
lines
Add missing syscall argument fd in comment.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Nov 18 01:32:52 2013 UTC (11 years ago) by chs
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +186 -38
lines
implement the *at() syscalls.
bring the unimplemented syscall list up to date.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Sep 24 13:27:50 2013 UTC (11 years, 2 months ago) by njoly
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +19 -2
lines
Add utimensat(2) for compat linux.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Oct 14 09:23:28 2011 UTC (13 years, 2 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
khorben-n900,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys,
rmind-smpnet
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +4 -2
lines
Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock. Make all calls outside of file systems respect it.
The calls from file systems need review.
No objections from tech-kern.
Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:27 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +24 -2
lines
Sync with HEAD.
Revision 1.98.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:41 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.98.4.2: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.4.2: +22 -0
lines
sync with head
Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Apr 14 00:59:06 2011 UTC (13 years, 8 months ago) by christos
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +22 -2
lines
move dup3 to a more appropriate place because pipe is "special". Gotta love
linux.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Apr 10 15:49:56 2011 UTC (13 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -2
lines
We have O_CLOEXEC now
Revision 1.98.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:47 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.98.4.1: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.4.1: +14 -6
lines
sync with head
Revision 1.101: download - view: text, markup, annotated - select for diffs
Fri Nov 19 06:44:37 2010 UTC (14 years ago) by dholland
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +12 -5
lines
Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.
Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).
The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
Revision 1.98.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:47 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.98.2.1: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.2.1: +2 -1
lines
Sync with HEAD (-D20101022).
Revision 1.95.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:01 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.95.2.4: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.2.4: +4 -3
lines
sync with head
Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Sep 21 19:26:19 2010 UTC (14 years, 2 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -3
lines
implement O_DIRECTORY as standardized in POSIX-2008,
for both native and linux emulations.
this fixes the rest of PR 43695.
Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:48 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +7 -5
lines
Sync with HEAD.
Revision 1.95.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:08 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.95.2.3: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.3: +7 -5
lines
sync with head.
Revision 1.98.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:31 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +7 -5
lines
sync with head
Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Jul 1 02:38:28 2010 UTC (14 years, 5 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +7 -5
lines
Remove pfind() and pgfind(), fix locking in various broken uses of these.
Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags
and have consistent behaviour. Provide proc_find_raw() for special cases.
Fix memory leak in sysctl_proc_corename().
COMPAT_LINUX: rework ptrace() locking, minimise differences between
different versions per-arch.
Note: while this change adds some formal cosmetics for COMPAT_DARWIN and
COMPAT_IRIX - locking there is utterly broken (for ages).
Fixes PR/43176.
Revision 1.95.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:58 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.95.2.2: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.2: +3 -3
lines
sync with head.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Aug 9 22:49:01 2009 UTC (15 years, 4 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3
lines
Add enum uio_seg argument to do_sys_mknod and do_sys_mkdir so these functions
can be called from kernel, too.
Change needed for zfs device node creation, until we have propoer devfs.
Oked by ad@.
Revision 1.95.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:22 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.95.2.1: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.1: +4 -7
lines
sync with head.
Revision 1.96.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:31 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +4 -7
lines
Sync with HEAD.
Revision 1.92.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:44 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.92.6.2: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.6.2: +2 -5
lines
Sync with HEAD.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:48 2009 UTC (15 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +4 -7
lines
merge christos-time_t
Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 1 21:22:26 2008 UTC (16 years, 1 month ago) by christos
Branches: christos-time_t
Diff to: previous 1.93.2.1: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.1: +8 -19
lines
Sync with head.
Revision 1.92.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:02 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.92.6.1: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.6.1: +6 -17
lines
Sync with HEAD.
Revision 1.93.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:19 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +8 -19
lines
sync with head.
Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:42 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -9
lines
sync with head.
Revision 1.96.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:05 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.96.2.1: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.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.96.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:55 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +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.96: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:43 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
christos-time_t-nbase,
christos-time_t-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: wrstuden-revivesa,
nick-hppapmap
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Apr 24 15:35:27 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +6 -6
lines
Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:
- Inspecting process state requires thread context, so signals can no longer
be sent from a hardware interrupt handler. Signal activity must be
deferred to a soft interrupt or kthread.
- As the proc state locking is simplified, it's now safe to take exit()
and wait() out from under kernel_lock.
- The system spends less time at IPL_SCHED, and there is less lock activity.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed Apr 23 12:55:16 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +6 -10
lines
- Use cdev_tty().
- Tweak locking.
Revision 1.92.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:32 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +25 -31
lines
Sync with HEAD.
Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 29 20:46:59 2008 UTC (16 years, 8 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +4 -7
lines
Welcome to the time_t=long long dev_t=uint64_t branch.
Revision 1.69.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:41 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69.2.8: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.8: +25 -31
lines
sync with head.
Revision 1.83.8.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:32 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.83.8.2: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.8.2: +13 -128
lines
sync with HEAD
Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:58 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
ad-socklock-base1
Branch point for: yamt-pf42,
christos-time_t
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +25 -31
lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
Revision 1.84.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:27 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.84.2.3: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.3: +13 -128
lines
Sync with HEAD.
Revision 1.69.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:05 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69.2.7: preferred, colored
Changes since revision 1.69.2.7: +13 -68
lines
sync with head.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Feb 2 21:54:01 2008 UTC (16 years, 10 months ago) by dsl
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.91: preferred, colored
Changes since revision 1.91: +13 -68
lines
Fix the linux32 emulations of fcntl() locking.
The 64bit linux emulation versions can't be used because the lock structure
alignment and field sizes all differ.
Since there need to be 4 different versions of the linux struct flock, and
amd64 kernel needs 3 of them compiled in, rather than replicating the same
code block twice more, move the body of the code into a few #defines
that can be expanded with the correct types in the linux[32]_sys_fcntl[64]()
functions.
Should fix problems running progams like skype running under linux32
emulation on amd64.
Revision 1.69.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:23 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69.2.6: preferred, colored
Changes since revision 1.69.2.6: +48 -165
lines
sync with head
Revision 1.89.4.2: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:14:57 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.89.4.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.4.1: +0 -60
lines
Sync with HEAD
Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Jan 15 22:38:34 2008 UTC (16 years, 11 months ago) by njoly
Branches: MAIN
CVS tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -62
lines
compat linux (and linux32) uid16 functions cleanup and fixes.
- Move uid16 functions to their own file linux_uid16.c, included by
needed archs (arm, i386 and m68k).
- Add new MI types linux_{u,g}id16_t.
- Add macros to handle linux_uid16_t and uid_t conversions.
- Add linux_sys_getres{uid,gid}16 syscalls, to fix an overflow with
bad sizes given to copyout when linux_sys_getres{uid,gid} are used.
- Update arm syscall table to use more uid16 functions.
Revision 1.83.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:09 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.83.8.1: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.8.1: +64 -294
lines
sync with HEAD
Revision 1.89.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:32 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +51 -57
lines
Sync with HEAD
Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:07 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.84.2.2: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.2: +57 -114
lines
Sync with HEAD.
Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:38:59 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.1: +57 -114
lines
Sync with head.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:54 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3,
matt-armv6-base
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +51 -57
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.83.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:59 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.83.6.3: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.6.3: +29 -80
lines
Sync with HEAD.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Dec 8 19:29:39 2007 UTC (17 years ago) by pooka
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.88: preferred, colored
Changes since revision 1.88: +3 -3
lines
Remove cn_lwp from struct componentname. curlwp should be used
from on. The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:07 2007 UTC (17 years ago) by dsl
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +21 -72
lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:47 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.1: +10 -10
lines
Sync with HEAD.
Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:47 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +9 -9
lines
Sync with head.
Revision 1.69.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:28:20 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69.2.5: preferred, colored
Changes since revision 1.69.2.5: +10 -183
lines
sync with head
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Dec 4 18:40:15 2007 UTC (17 years ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +9 -9
lines
Remove all the __P
Revision 1.83.6.3: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:44 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.83.6.2: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.6.2: +3 -3
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:31 2007 UTC (17 years ago) by pooka
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase
Branch point for: vmlocking2
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3
lines
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.
quick consensus on tech-kern
Revision 1.83.6.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:53:55 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.83.6.1: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.6.1: +2 -175
lines
Sync with HEAD.
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:27 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -175
lines
Sync with HEAD.
Revision 1.83.12.2: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:35:11 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.83.12.1: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.12.1: +0 -173
lines
Sync with HEAD
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Nov 16 12:51:56 2007 UTC (17 years ago) by njoly
Branches: MAIN
CVS tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -175
lines
Cleanup. Remove a few linux syscalls definitions, now identical to
native ones (with stackgap and ALT_CHECK_xxx removal). No functional
changes expected.
Revision 1.83.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:24:56 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -2
lines
sync with HEAD
Revision 1.69.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:36 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69.2.4: preferred, colored
Changes since revision 1.69.2.4: +4 -2
lines
sync with head.
Revision 1.83.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:56 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +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.83.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:56 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -2
lines
Sync with HEAD.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Oct 19 18:52:10 2007 UTC (17 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +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.69.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:22 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69.2.3: preferred, colored
Changes since revision 1.69.2.3: +29 -155
lines
sync with head.
Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:14 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +9 -109
lines
Sync with head.
Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:35:04 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.80.2.1: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.1: +9 -109
lines
Sync with head.
Revision 1.77.2.4: download - view: text, markup, annotated - select for diffs
Thu May 17 13:41:13 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.77.2.3: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.3: +7 -20
lines
sync with head.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat May 12 23:02:49 2007 UTC (17 years, 7 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +7 -20
lines
Split the fcntl locking code out from its copyin/out.
Use to avoid all the stackgap stuff in compat code.
Revision 1.77.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:12 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.77.2.2: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.2: +4 -91
lines
sync with head.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Apr 22 08:29:57 2007 UTC (17 years, 7 months ago) by dsl
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -91
lines
Change the way that emulations locate files within the emulation root to
avoid having to allocate space in the 'stackgap'
- which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
search for absolute pathnames in the emulation root, if that fails it will
retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
the real root is returned instead (matching the behaviour of emul_lookup,
but being a cheap comparison here) so that programs that scan "../.."
looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:18 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +18 -44
lines
Sync with head.
Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:26 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +45 -71
lines
Sync with HEAD.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Mar 10 21:40:24 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +18 -44
lines
Update all the compat stuff to not use the 'stackgap' for processing
sys_stat() and friends, instead use do_sys_stat() and do_sys_fstat()
that write the answer into a kernel buffer (on stack) that can be
converted to the correct form and written the userspace.
I've test compiled a few kernels, and tested i386 netbsd1.6 ls.
Given I think I've fixed some bugs, it might be 50-50 with new ones.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Mar 9 14:11:28 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +5 -5
lines
- Make the proclist_lock a mutex. The write:read ratio is unfavourable,
and mutexes are cheaper use than RW locks.
- LOCK_ASSERT -> KASSERT in some places.
- Hold proclist_lock/kernel_lock longer in a couple of places.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:23 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +27 -27
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:37 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +9 -5
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.69.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:19 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69.2.2: preferred, colored
Changes since revision 1.69.2.2: +10 -7
lines
sync with head.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Feb 17 21:40:19 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +9 -5
lines
Acquire proclist_lock across the calls to p_find() and pg_find().
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:19 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -4
lines
Merge newlock2 to head.
Revision 1.73.4.3: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:33 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.73.4.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.4.2: +2 -3
lines
Remove support for SA. Ok core@.
Revision 1.69.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:38 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69.2.1: preferred, colored
Changes since revision 1.69.2.1: +26 -111
lines
sync with head.
Revision 1.73.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:47 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.73.6.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.6.1: +3 -3
lines
sync with head.
Revision 1.73.4.2: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:07 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.73.4.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.1: +25 -110
lines
Sync with head.
Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:35 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
Checkpoint work in progress.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:42 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.73.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:24 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +25 -110
lines
sync with head
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:48 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +24 -109
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Sep 25 16:16:18 2006 UTC (18 years, 2 months ago) by pavel
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
Replace homegrown tests for FIFO (... & S_IFIFO) by S_ISFIFO. The old code
was "correct" by luck - we don't have any other file type whose S_IF* bits
in sys/stat.h overlap with S_IFIFO.
Originally discovered by Paul Stoeber in OpenBSD.
Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:52 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3
lines
sync with head
Revision 1.71.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.71.8.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.8.1: +3 -3
lines
sync with head
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:09 2006 UTC (18 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3
lines
Use the LWP cached credentials where sane.
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:12 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +40 -40
lines
sync with head.
Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:50 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3
lines
Sync with head.
Revision 1.71.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:27 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.71.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:28 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
sync with head.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:50 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
integrate kauth.
Revision 1.71.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:48:38 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3
lines
Adapt to kernel authorization KPI.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:19 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base,
elad-kernelauth-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +35 -35
lines
merge ktrace-lwp.
Revision 1.61.2.9: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:06 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.61.2.8: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.8: +138 -23
lines
Sync with HEAD. Here we go again...
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Aug 19 02:03:57 2005 UTC (19 years, 3 months 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.69: preferred, colored
Changes since revision 1.69: +7 -7
lines
64 bit inode changes.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun May 29 22:08:16 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +13 -13
lines
- sprinkle const.
- add XXXUNCONST to the emul_find() pbuf argument free'ing. XXX: this needs
an api change.
- avoid variable shadowing.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon May 16 16:02:20 2005 UTC (19 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +110 -2
lines
Add *xattr functions (they all return EOPNOTSUPP).
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue May 3 16:26:28 2005 UTC (19 years, 7 months ago) by manu
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +14 -7
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.52.4.1: download - view: text, markup, annotated - select for diffs
Sun May 1 10:09:09 2005 UTC (19 years, 7 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +4 -4
lines
Pull up revision 1.62 via patch (requested by bad in ticket #5762):
fix linux_sys_p{read|write}() to actually call correct syscall after
arg massage, i.e. sys_p{read|write} as appropriate; up to now, the functions
called sys_{read|write}() by mistake
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:39 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +12 -7
lines
sync with -current
Revision 1.61.2.8: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:29:36 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.61.2.7: preferred, colored
Changes since revision 1.61.2.7: +7 -2
lines
Sync with HEAD.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:37 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +12 -7
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Mar 10 14:12:28 2005 UTC (19 years, 9 months ago) by christos
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.65: preferred, colored
Changes since revision 1.65: +7 -2
lines
Add nanosecond handling on the stat and stat64 code for the i386.
Revision 1.61.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:02 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.61.2.6: preferred, colored
Changes since revision 1.61.2.6: +7 -7
lines
Sync with HEAD.
Hi Perry!
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:10:19 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +7 -7
lines
nuke trailing whitespace
Revision 1.61.2.6: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:45 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.61.2.5: preferred, colored
Changes since revision 1.61.2.5: +3 -3
lines
Sync with HEAD.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Dec 12 20:42:54 2004 UTC (20 years ago) by abs
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
Fix comments slighly
Revision 1.61.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:38 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.61.2.4: preferred, colored
Changes since revision 1.61.2.4: +35 -35
lines
Fix the sync with head I botched.
Revision 1.61.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:42 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.61.2.3: preferred, colored
Changes since revision 1.61.2.3: +35 -35
lines
Sync with HEAD.
Revision 1.61.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:57:33 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.61.2.2: preferred, colored
Changes since revision 1.61.2.2: +27 -3
lines
Sync with HEAD.
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 15 14:23:45 2004 UTC (20 years, 4 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.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +27 -3
lines
Pull up revision 1.63 (requested by jdolecek in ticket #764):
on Linux, unlink() fails with EISDIR if the target is directory,
rather than EPERM; to emulate this properly, translate the error to EISDIR
if the target patch exists and points to a directory
this fixes the 'ant clean' problem reported by Marc Recht on current-users@
with SuSE 9.1 libraries
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Aug 13 21:27:32 2004 UTC (20 years, 4 months ago) by jdolecek
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +27 -3
lines
on Linux, unlink() fails with EISDIR if the target is directory,
rather than EPERM; to emulate this properly, translate the error to EISDIR
if the target patch exists and points to a directory
this fixes the 'ant clean' problem reported by Marc Recht on current-users@
with SuSE 9.1 libraries
Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:03 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.61.2.1: preferred, colored
Changes since revision 1.61.2.1: +4 -4
lines
Sync with HEAD
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Aug 9 17:11:51 2003 UTC (21 years, 4 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -4
lines
fix linux_sys_p{read|write}() to actually call correct syscall after
arg massage, i.e. sys_p{read|write} as appropriate; up to now, the functions
called sys_{read|write}() by mistake
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:47 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +33 -33
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.61: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:29 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +33 -34
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Jun 29 14:51:28 2003 UTC (21 years, 5 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +16 -8
lines
properly FILE_USE/FILE_UNUSE descriptor in linux_sys_fcntl()
adresses PR kern/21628 by Wolfgang Solfrank
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:21 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +31 -31
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.58: download - view: text, markup, annotated - select for diffs
Wed Mar 19 11:36:35 2003 UTC (21 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Alternative pid/proc allocater, removes all searches associated with pid
lookup and allocation, and any dependency on NPROC or MAXUSERS.
NO_PID changed to -1 (and renamed NO_PGID) to remove artificial limit
on PID_MAX.
As discussed on tech-kern.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Feb 27 16:04:16 2003 UTC (21 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +10 -4
lines
make compat_linux struct file interlock friendly.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jan 18 08:02:52 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +111 -90
lines
Merge the nathanw_sa branch.
Revision 1.37.2.14: download - view: text, markup, annotated - select for diffs
Fri Dec 20 00:03:51 2002 UTC (21 years, 11 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.37.2.13: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.13: +3 -3
lines
LWPify new mkfifo code.
Revision 1.37.2.13: download - view: text, markup, annotated - select for diffs
Thu Dec 19 00:42:53 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.37.2.12: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.12: +19 -6
lines
Sync with HEAD.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Dec 17 11:48:02 2002 UTC (22 years ago) by simonb
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -4
lines
Use the already-filled-in-but-not-used native syscall args in
linux_sys_mknod().
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Dec 11 19:30:39 2002 UTC (22 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +17 -4
lines
linux_sys_mknod(): if creating device file (i.e. !fifo case), mask
the passed device number to only contain lower 16 bits; older glibc
appears to pass some junk in upper bits sometimes, resulting in incorrect
device entries being created
Problem initially analyzed by Thor Lancelot Simon.
Revision 1.39.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:03 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.39.2.6: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.6: +10 -6
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.37.2.12: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:19:02 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.11: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.11: +10 -6
lines
Catch up to -current.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +10 -6
lines
Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
Revision 1.39.2.6: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:22 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.39.2.5: preferred, colored
Changes since revision 1.39.2.5: +47 -41
lines
catch up with -current on kqueue branch
Revision 1.37.2.11: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:43:04 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.10: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.10: +2 -3
lines
Catch up to -current.
Revision 1.37.2.10: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:38 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.9: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.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.52.2.1: download - view: text, markup, annotated - select for diffs
Thu May 16 04:24:11 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +10 -6
lines
Replace the direct-access to devsw table with calling devsw API.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon May 13 05:31:42 2002 UTC (22 years, 7 months ago) by simonb
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-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,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
gehenna-devsw-base
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -3
lines
Remove an unreachable "break" after a return statement.
Revision 1.37.2.9: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:07 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.8: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.8: +1 -4
lines
Catch up to -current.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Apr 10 18:19:34 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -6
lines
implement getdents64; my full java tree builds now.
Revision 1.37.2.8: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:44:25 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.7: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.7: +46 -36
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Mar 24 15:12:45 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -2
lines
add explicit comment a FILE_USE() is not needed here
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Mar 24 00:32:34 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +38 -61
lines
Fix problem with assumption non-socket == vnode in F_{G,S}ETOWN different way
(revisions 1.47 & 1.48 effectively backed off):
* for all but vnodes, just fallback to sys_fcntl(); assumming
state of support for F_SETOWN/F_GETOWN and even hardcoding it here is
not right (e.g. rev. 1.47 had this incorrect for DTYPE_PIPE)
* fallback to sys_fcntl() also for vnodes which don't represent tty
* don't need to use FILE_{,UN}USE() here, the code won't block while
using the pointer
* add/fix some comments
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Mar 23 15:36:15 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
correct placement for FILE_UNUSE [from Izumi Tsutsui]
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Mar 22 14:53:26 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +61 -29
lines
- obey FILE_USE and FILE_UNUSE
- don't assume that non sockets point to vnodes.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Mar 16 20:43:53 2002 UTC (22 years, 9 months ago) by christos
Branches: MAIN
CVS tags: eeh-devprop-base,
eeh-devprop
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +28 -28
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.39.2.5: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:37 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.39.2.4: preferred, colored
Changes since revision 1.39.2.4: +4 -4
lines
Catch up with -current.
Revision 1.37.2.7: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:12:55 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.6: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.6: +8 -8
lines
Catch up to -current.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Feb 15 16:48:02 2002 UTC (22 years, 10 months ago) by christos
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4
lines
- add a real linux_sys___sysctl because the mib numbers are different.
implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.
tested only on i386.
Status:
gdb, telnet, work
jdk-1.4.0 extractor works, jdk still coredumps.
christos
Revision 1.39.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:09:34 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.39.2.3: preferred, colored
Changes since revision 1.39.2.3: +6 -6
lines
Sync w/ -current.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Jan 14 23:14:42 2002 UTC (22 years, 11 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -6
lines
Crude first cut at ARMLinux binary compatibility. Successfully runs
"/emul/linux/bin/echo hello, world", dynamically linked.
Revision 1.39.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:51:41 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.39.2.2: preferred, colored
Changes since revision 1.39.2.2: +7 -3
lines
Sync kqueue branch with -current.
Revision 1.37.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:10 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.5: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.5: +4 -1
lines
Catch up to -current.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:08:52 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -1
lines
add RCSIDs (including regeneration of files as appropriate)
Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:45 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.1: +4 -3
lines
Catch up with -current.
Revision 1.37.2.5: download - view: text, markup, annotated - select for diffs
Wed Sep 26 19:54:48 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.4: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.4: +4 -3
lines
Catch up to -current.
Again.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Sep 22 21:22:57 2001 UTC (23 years, 2 months ago) by manu
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -3
lines
Fixes for mips support
Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:18 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.3: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.3: +42 -46
lines
Catch up to -current.
Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:24 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.39.2.1: preferred, colored
Changes since revision 1.39.2.1: +43 -46
lines
Update the kqueue branch to HEAD.
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:21 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Commit my "devvp" changes to the thorpej-devvp branch. This
replaces the use of dev_t in most places with a struct vnode *.
This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Sep 4 20:27:29 2001 UTC (23 years, 3 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +43 -46
lines
change LINUX_F_SETFL so that SIGIO handling for sockets
matches more closely
add support for NEW_PIPE to the SIGIO hack
Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:08:49 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.2: +2 -2
lines
Catch up with -current.
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:12:44 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
update to -current
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jul 22 13:34:09 2001 UTC (23 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
seperate -> separate
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:59:48 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.1: +59 -6
lines
Catch up to -current.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Jun 16 21:32:51 2001 UTC (23 years, 6 months ago) by manu
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +54 -2
lines
Linux does not send a SIGIO to the write end of a socket,
neither it does send any SIGIO for pipes. If async I/O
was requested, we keep the SS_ASYNC in struct socket flag
set, but we clear SB_ASYNC flags on the sending buffer
(for socket), and on the sending and the receiving buffer
(for pipes).
Because we do not alter to SS_ASYNC in struct socket,
the Linux process keeps a consistent view of async I/O
status if it attemps to read the async flag (SS_ASYNC)
This async I/O problem does matters, since some Linux
a programs such as the JDK request async I/O on pipes,
but they fail if they happen to get a SIGIO to the write
end of the pipe.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Jun 14 20:32:43 2001 UTC (23 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -5
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.28.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 30 21:39:13 2001 UTC (23 years, 8 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.28.4.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.4.1: +19 -1
lines
Pull up revision 1.34 (via patch, requested by fvdl):
Add some required Linux emulation bits to support the Linux
version of VMware.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:24 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +110 -89
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.27.8.4: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:14:01 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.8.3: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.8.3: +11 -13
lines
Sync with HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jan 22 21:31:37 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -8
lines
use CHECK_ALT_SYMLINK() for lstat(2)
don't call stackgap_init() for pwrite(2) and pread(2), it's not necessary
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jan 22 20:08:05 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4
lines
Use CHECK_ALT_SYMLINK() instead CHECK_ALT_EXISTS() where appropriate.
This addresses kern/11757.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jan 19 01:44:46 2001 UTC (23 years, 10 months ago) by manu
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -3
lines
Added support for powerpc Linux compatibility
Revision 1.27.8.3: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:26 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.8.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.8.2: +66 -7
lines
Sync with HEAD
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:08:31 2000 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +19 -1
lines
Do alternate path checks for link(2).
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Dec 27 22:01:43 2000 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +40 -1
lines
Use CHECK_ALT_* for chown and lchown, missed in my previous commit.
Get *id16 calls right; most can be passed through directly, but
some need the 16->32 check for -1 values.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Dec 21 20:15:53 2000 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2
lines
Only include the 16-bit chown/fchown/lchown stuff if on i386 or m68k.
This is a little ugly, but hey, so is Linux.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Dec 18 14:40:02 2000 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +7 -7
lines
Add seperate entries for 16 bit uid/gid calls, so that border cases
like 0xffff can be handled better (not done yet).
Revision 1.27.8.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:27 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.8.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.8.1: +19 -19
lines
Sync with HEAD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Dec 1 12:28:33 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +19 -19
lines
add e_path (emulation path) to struct emul, which replaces emulation-specific
*_emul_path variables
change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation
remove no longer needed header files
add e_flags and e_syscall to struct emul; these are unsed and empty for now
Revision 1.27.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:22 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +58 -3
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 15:54:38 2000 UTC (24 years, 3 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +2 -3
lines
Pull up revision 1.29 (requested by simonb):
More carefully check length of user-supplied data, in particular
make sure we don't overrun the available stack gap in stack gap
allocations.
Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 30 03:59:20 2000 UTC (24 years, 3 months ago) by sommerfeld
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -3
lines
Pull up:
syssrc/sys/compat/common/compat_util.c 1.16
syssrc/sys/compat/hpux/hpux_file.c 1.14
syssrc/sys/compat/ibcs2/ibcs2_misc.c 1.52
syssrc/sys/compat/ibcs2/ibcs2_stat.c 1.16
syssrc/sys/compat/linux/common/linux_file.c 1.29
syssrc/sys/compat/linux/common/linux_misc_notalpha.c 1.58
syssrc/sys/compat/svr4/svr4_stat.c 1.40
syssrc/sys/compat/svr4/svr4_stream.c 1.40,1.41
Approved by thorpej and jhawk.
Emulation stackgap sanity checks, based partly on fixes from
FreeBSD-SA00:42.
Change stackgap_alloc to bounds-check the allocation vs. the stack
gap, returning NULL if there isn't room for the allocation.
Change emul_find() to check for a NULL return from stackgap_alloc()
and convert that into ENAMETOOLONG.
Reorder various emulation syscalls so that all *_CHECK_ALT_{EXIST,CREAT}
calls (which turn into emul_find() under the covers come *after* small,
fixed-size stackgap_alloc() calls.
Clean up ibcs2 {get,set}groups.
Add range checks to svr4_stream.c
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Aug 29 14:33:27 2000 UTC (24 years, 3 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -3
lines
Emulation stackgap sanity checks, based partly on fixes from
FreeBSD-SA00:42.
Change stackgap_alloc to bounds-check the allocation vs. the stack
gap, returning NULL if there isn't room for the allocation.
Change emul_find() to check for a NULL return from stackgap_alloc()
and convert that into ENAMETOOLONG.
Reorder various emulation syscalls so that all *_CHECK_ALT_{EXIST,CREAT}
calls (which turn into emul_find() under the covers come *after* small,
fixed-size stackgap_alloc() calls.
Clean up ibcs2 {get,set}groups.
Revision 1.27.14.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:27 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +57 -1
lines
Pull up to last week's -current.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Dec 5 21:24:30 1999 UTC (25 years ago) by tron
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl,
chs-ubc2-newbase
Branch point for: netbsd-1-5
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +57 -1
lines
Add proper stub code to make emulation of Linux's pread(2) and pwrite(2)
work. Fixes PR kern/8945 by Dave Sainty.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Feb 9 20:37:19 1999 UTC (25 years, 10 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base,
chs-ubc2
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
netbsd-1-4
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +19 -19
lines
const poisoning.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Oct 7 22:17:57 1998 UTC (26 years, 2 months ago) by erh
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -2
lines
The siginfo include line is not needed here anymore.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Oct 4 00:02:33 1998 UTC (26 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -34
lines
Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Oct 3 20:17:41 1998 UTC (26 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -8
lines
Attempt to fix the mess.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Oct 1 03:22:11 1998 UTC (26 years, 2 months ago) by erh
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +77 -40
lines
Split compat/linux/linux_file.c into common and multi-architechture parts.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 14 21:57:02 1998 UTC (26 years, 10 months ago) by kleink
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -6
lines
* Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
* Change reference from sys_posix_rename() to sys___posix_rename().
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Oct 20 22:05:16 1997 UTC (27 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +12 -17
lines
Fix the shared library versioning snafu caused by the recent changes
to the stat(2) family and msync(2). This uses a primitive function
versioning scheme.
This reverts the libc shared library major version from 13 to 12, and
adds a few new interfaces to bring us to libc version 12.20.
From Frank van der Linden <fvdl@NetBSD.ORG>.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Oct 19 18:35:19 1997 UTC (27 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -8
lines
Fix bogosity in mknod(2) translation.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Oct 16 23:54:40 1997 UTC (27 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -3
lines
check for st_nlink overflow
Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 6 18:45:33 1997 UTC (27 years, 3 months ago) by thorpej
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +6 -1
lines
Update marc-pcmcia branch from trunk.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 5 01:49:12 1997 UTC (27 years, 3 months ago) by kleink
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -1
lines
Add missing preparation of F_GETLK parameters in linux_sys_fcntl(); fixes PR
port-i386/4083 from Matthias Scheler <tron@lyssa.owl.de>, but vastly cleaned
up as previously suggested by myself.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jun 27 05:29:36 1997 UTC (27 years, 5 months ago) by kleink
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
Use sys_posix_rename() instead of sys_rename() as it's the behaviour of the
native implementation.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Oct 10 17:51:57 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -1
lines
printf -> kprintf, sprintf -> ksprintf
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon May 20 01:59:09 1996 UTC (28 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +16 -1
lines
Update list of Linux syscalls and implement the ones that are likely to be
used and doable.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Apr 5 00:01:21 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +17 -5
lines
Prototyping changes.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 8 22:53:43 1995 UTC (29 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +51 -6
lines
Work around calling the NetBSD fcntl(F_{G,S}ETOWN) for now; it is too
restrictive to implement the Linux equivalent (and perhaps too restrictive
overall).
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:27:05 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +85 -75
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:28 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +103 -79
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
Thu Sep 7 21:48:59 1995 UTC (29 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +43 -5
lines
Fix some bugs & typing problems.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Aug 27 20:51:48 1995 UTC (29 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -3
lines
Add a hook for MD ioctl calls, plus a couple of more changes to make
svgalib binaries work on the i386
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 14 01:27:50 1995 UTC (29 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1
lines
Rearrange #includes.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jul 24 06:35:28 1995 UTC (29 years, 4 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1
lines
mkdir() has 2 arguments.. fixes PR 1248 (from Brad Spencer)
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 3 21:33:59 1995 UTC (29 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -11
lines
Fix totally bogus implementation of a few fcntl() calls. I think I'll go
live on a deserted island now..
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jun 24 20:20:13 1995 UTC (29 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +38 -39
lines
Use compat_util.[ch].
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jun 22 21:34:33 1995 UTC (29 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +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.3: download - view: text, markup, annotated - select for diffs
Tue Apr 4 04:21:30 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -11
lines
Fix conversion of `type' and `whence' values in struct flock.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 5 23:23:40 1995 UTC (29 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +217 -7
lines
Added a few more system calls.
More consistent alternate root file semantics throughout.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 28 23:24:53 1995 UTC (29 years, 9 months ago) by fvdl
Branches: MAIN
Added Linux compat code.
CVSweb <webmaster@jp.NetBSD.org>