CVS log for src/sys/compat/common/vfs_syscalls_43.c
Up to [cvs.NetBSD.org] / src / sys / compat / common
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.59.8.4: download - view: text, markup, annotated - select for diffs
Wed Jun 21 21:04:01 2023 UTC (19 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.59.8.3: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.8.3: +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.64.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:11:31 2022 UTC (2 years, 5 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.64.4.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.4.2: +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.68: download - view: text, markup, annotated - select for diffs
Tue Sep 7 11:43:02 2021 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +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.59.8.3: download - view: text, markup, annotated - select for diffs
Sun Aug 15 10:03:46 2021 UTC (3 years, 5 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.59.8.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.8.2: +23 -30
lines
Pull up following revision(s) (requested by christos in ticket #1691):
sys/compat/common/vfs_syscalls_43.c: revision 1.67
sys/compat/common/vfs_syscalls_50.c: revision 1.26
sys/compat/common/vfs_syscalls_30.c: revision 1.42
- memset struct stat to avoid kernel memory disclosure of padded fields
(thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions
Revision 1.64.4.2: download - view: text, markup, annotated - select for diffs
Sun Aug 15 09:27:50 2021 UTC (3 years, 5 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.64.4.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.4.1: +23 -30
lines
Pull up following revision(s) (requested by christos in ticket #1337):
sys/compat/common/vfs_syscalls_43.c: revision 1.67
sys/compat/common/vfs_syscalls_50.c: revision 1.26
sys/compat/common/vfs_syscalls_30.c: revision 1.42
- memset struct stat to avoid kernel memory disclosure of padded fields
(thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Aug 15 07:57:46 2021 UTC (3 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +23 -30
lines
- memset struct stat to avoid kernel memory disclosure of padded fields
(thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions
Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Jun 24 10:28:16 2020 UTC (4 years, 7 months ago) by jdolecek
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-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -57
lines
remove special handling for symbolic links for COMPAT_43 lstat, it's
not necessary; this removes the only places in kernel which did namei
LOOKUP with LOCKPARENT
fixes diagnostic KASSERT() in namei() code
Reported-by: syzbot+628382ecf1438e53d08d@syzkaller.appspotmail.com
Revision 1.62.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:00 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.62.4.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.4.1: +12 -3
lines
Merge changes from current as of 20200406
Revision 1.64.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:00 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +12 -3
lines
Sync with head.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 27 19:00:05 2020 UTC (4 years, 10 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +12 -3
lines
Pull up following revision(s) (requested by pgoyette in ticket #741):
sys/compat/common/vfs_syscalls_43.c: revision 1.65
Include all of the vfs syscalls in the syscall_package, not just oquota.
Should fix PR kern/55025
XXX pullup-9
Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Feb 27 18:19:16 2020 UTC (4 years, 10 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +12 -3
lines
Include all of the vfs syscalls in the syscall_package, not just oquota.
Should fix PR kern/55025
XXX pullup-9
Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:58 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +19 -60
lines
Sync with HEAD
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:39 2019 UTC (6 years ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: netbsd-9,
ad-namecache
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +18 -59
lines
Merge the [pgoyette-compat] branch
Revision 1.62.2.4: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:45 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.62.2.3: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.3: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:29 2018 UTC (6 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.62.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 17 07:24:55 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.62.2.2: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.2: +2 -63
lines
Finish separating the compat_09 and compat_43 stuff
Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:02:58 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.1: +23 -2
lines
First pass at compat modules for 4.3BSD, NetBSD-0.9, and NetBSD-1.0
XXX Still need to deal with the sysctl stuff and other code shared
XXX between 09 and 43
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 31 11:45:33 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -3
lines
Only need to #include sysctl.h once
Revision 1.59.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 09:36:36 2017 UTC (7 years, 1 month ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.59.8.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.8.1: +10 -5
lines
Pull up following revision(s) (requested by christos in ticket #418):
sys/compat/common/vfs_syscalls_12.c: revision 1.35
sys/compat/common/vfs_syscalls_43.c: revision 1.62
Make code look the same, in particular zero out the rest of the directory
record.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Dec 3 15:23:30 2017 UTC (7 years, 1 month ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
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
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +10 -5
lines
Make code look the same, in particular zero out the rest of the directory
record.
XXX: pullup-8
Revision 1.54.18.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:53 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.54.18.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.18.2: +41 -13
lines
update from HEAD
Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:58 2017 UTC (7 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +6 -7
lines
Sync with HEAD
Revision 1.54.14.4: download - view: text, markup, annotated - select for diffs
Sat Aug 19 04:20:01 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.54.14.3: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.14.3: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1483):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.54.14.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Aug 19 04:19:58 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.54.14.1.2.2: preferred, colored; branchpoint 1.54.14.1: preferred, colored; next MAIN 1.54.14.2: preferred, colored
Changes since revision 1.54.14.1.2.2: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1483):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.54.20.3: download - view: text, markup, annotated - select for diffs
Sat Aug 19 04:19:55 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.54.20.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.20.2: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1483):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.54.14.3: download - view: text, markup, annotated - select for diffs
Sat Aug 12 16:23:28 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.54.14.2: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.14.2: +116 -88
lines
Pull up following revision(s) (requested by mrg in ticket #1469):
sys/compat/common/vfs_syscalls_12.c: revision 1.30
sys/compat/common/vfs_syscalls_43.c: revision 1.56
sys/compat/sys/dirent.h: revision 1.3
It is wishful thinking that vn_readdir will return dirent12 structures.
--
Fix the compat-4.3 getdirentries call (pre d_type). This is used in NetBSD-0.9.
--
add a struct for the 4.3BSD struct direct
Revision 1.54.14.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 12 16:22:30 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.54.14.1.2.1: preferred, colored; branchpoint 1.54.14.1: preferred, colored
Changes since revision 1.54.14.1.2.1: +116 -88
lines
Pull up following revision(s) (requested by mrg in ticket #1469):
sys/compat/common/vfs_syscalls_12.c: revision 1.30
sys/compat/common/vfs_syscalls_43.c: revision 1.56
sys/compat/sys/dirent.h: revision 1.3
It is wishful thinking that vn_readdir will return dirent12 structures.
--
Fix the compat-4.3 getdirentries call (pre d_type). This is used in NetBSD-0.9.
--
add a struct for the 4.3BSD struct direct
Revision 1.54.20.2: download - view: text, markup, annotated - select for diffs
Sat Aug 12 16:20:59 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.54.20.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.20.1: +116 -88
lines
Pull up following revision(s) (requested by mrg in ticket #1469):
sys/compat/common/vfs_syscalls_12.c: revision 1.30
sys/compat/common/vfs_syscalls_43.c: revision 1.56
sys/compat/sys/dirent.h: revision 1.3
It is wishful thinking that vn_readdir will return dirent12 structures.
--
Fix the compat-4.3 getdirentries call (pre d_type). This is used in NetBSD-0.9.
--
add a struct for the 4.3BSD struct direct
Revision 1.56.4.2: download - view: text, markup, annotated - select for diffs
Sat Aug 12 04:18:09 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.56.4.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.4.1: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1479):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.56.4.1.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 12 04:16:52 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-7-1
CVS tags: netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE
Diff to: previous 1.56.4.1: preferred, colored; next MAIN 1.56.4.2: preferred, colored
Changes since revision 1.56.4.1: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1479):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.56.6.2: download - view: text, markup, annotated - select for diffs
Sat Aug 12 04:16:16 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-7-0
Diff to: previous 1.56.6.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.6.1: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1479):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 9 05:12:18 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-8
CVS tags: matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -4
lines
Pull up following revision(s) (requested by spz in ticket #193):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Jul 29 04:02:49 2017 UTC (7 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
nick-nhusb-base-20170825
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -5
lines
Declare mountcompatnames in sys/vfs_syscalls.h to kill nested extern.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jul 28 15:34:06 2017 UTC (7 years, 6 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -4
lines
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:23 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +4 -3
lines
Sync with HEAD
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:24 2017 UTC (7 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +4 -3
lines
Sync with HEAD
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Jan 13 20:25:35 2017 UTC (8 years ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170204,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -3
lines
convert strcpy to a bounded copy to avoid compiler warnings, although the
reclen test prevents overflow.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:37 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +32 -5
lines
Sync with HEAD
Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 27 15:10:59 2016 UTC (8 years, 5 months ago) by bouyer
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1
Branch point for: netbsd-7-1
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +32 -5
lines
Pull up following revision(s) (requested by mrg in ticket #1240):
sys/compat/common/vfs_syscalls_43.c: revision 1.58
fill in the tv_nsec parts of the converted timespec in cvtstat().
Revision 1.56.6.1: download - view: text, markup, annotated - select for diffs
Sat Aug 27 15:10:42 2016 UTC (8 years, 5 months ago) by bouyer
Branches: netbsd-7-0
CVS tags: netbsd-7-0-2-RELEASE
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +32 -5
lines
Pull up following revision(s) (requested by mrg in ticket #1240):
sys/compat/common/vfs_syscalls_43.c: revision 1.58
fill in the tv_nsec parts of the converted timespec in cvtstat().
Revision 1.54.14.1.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 27 14:52:25 2016 UTC (8 years, 5 months ago) by bouyer
Branches: netbsd-6-1
Diff to: previous 1.54.14.1: preferred, colored
Changes since revision 1.54.14.1: +32 -5
lines
Pull up following revision(s) (requested by mrg in ticket #1400):
sys/compat/common/vfs_syscalls_43.c: revision 1.58
fill in the tv_nsec parts of the converted timespec in cvtstat().
Revision 1.54.20.1: download - view: text, markup, annotated - select for diffs
Sat Aug 27 14:51:50 2016 UTC (8 years, 5 months ago) by bouyer
Branches: netbsd-6-0
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +32 -5
lines
Pull up following revision(s) (requested by mrg in ticket #1400):
sys/compat/common/vfs_syscalls_43.c: revision 1.58
fill in the tv_nsec parts of the converted timespec in cvtstat().
Revision 1.54.14.2: download - view: text, markup, annotated - select for diffs
Sat Aug 27 14:51:29 2016 UTC (8 years, 5 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.54.14.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.14.1: +32 -5
lines
Pull up following revision(s) (requested by mrg in ticket #1400):
sys/compat/common/vfs_syscalls_43.c: revision 1.58
fill in the tv_nsec parts of the converted timespec in cvtstat().
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Aug 20 00:34:42 2016 UTC (8 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
localcount-20160914
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +32 -5
lines
fill in the tv_nsec parts of the converted timespec in cvtstat().
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Sep 5 09:21:54 2014 UTC (10 years, 4 months ago) by matt
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: pgoyette-localcount,
nick-nhusb
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -6
lines
Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.
Revision 1.54.18.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:31 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.54.18.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.18.1: +116 -88
lines
Rebase to HEAD as of a few days ago.
Revision 1.54.8.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:15 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +121 -99
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.55.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:31 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +116 -88
lines
sync with head
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jan 28 01:29:04 2014 UTC (11 years ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
netbsd-7-base,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-0,
netbsd-7
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +116 -88
lines
Fix the compat-4.3 getdirentries call (pre d_type). This is used in NetBSD-0.9.
Revision 1.54.14.1: download - view: text, markup, annotated - select for diffs
Thu Mar 14 16:33:09 2013 UTC (11 years, 10 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
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
Branch point for: netbsd-6-1
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -13
lines
Pull up following revision(s) (requested by pgoyette in ticket #837):
sys/compat/common/kern_time_50.c: revision 1.25
sys/kern/init_sysctl.c: revision 1.195
sys/kern/init_main.c: revision 1.447
sys/compat/common/compat_util.h: revision 1.23
sys/compat/common/compat_mod.h: revision 1.1
sys/compat/common/compat_mod.c: revision 1.16
sys/compat/common/compat_mod.c: revision 1.17
sys/compat/common/compat_mod.c: revision 1.18
sys/compat/common/vfs_syscalls_43.c: revision 1.55
Move boottime50 and its associated sysctl into the compat module. As
noted on tech-kern. Should fix PR/47579.
OK christos@
Will request pull-up to 6.0 in a few days.
Wrap sysctl_teardown(&compat_clog) with the appropriate #if defined()s
remove empty #if
Revision 1.54.18.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:07 2013 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -13
lines
resync with head
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Feb 21 01:39:54 2013 UTC (11 years, 11 months ago) by pgoyette
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -13
lines
Move boottime50 and its associated sysctl into the compat module. As
noted on tech-kern. Should fix PR/47579.
OK christos@
Will request pull-up to 6.0 in a few days.
Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:39 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.1: +11 -3
lines
sync with head
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Nov 19 06:44:36 2010 UTC (14 years, 2 months ago) by dholland
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,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
netbsd-6-base,
netbsd-6-1-RC1,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6-0,
netbsd-6
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +11 -3
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.51.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:38 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +1 -1
lines
Sync with HEAD.
Revision 1.46.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:01 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.46.4.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.4.2: +3 -3
lines
sync with head.
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:30 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
sync with head
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Jun 24 13:03:06 2010 UTC (14 years, 7 months ago) by hannken
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:42:56 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -3
lines
Sync with HEAD.
Revision 1.46.4.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:12 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.46.4.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.1: +3 -4
lines
sync with head
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Mar 2 14:23:39 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -3
lines
fs_union.h is not used here anymore ... diudau
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Jan 8 11:35:07 2010 UTC (15 years ago) by pooka
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase). Plenty of mix'n match upper/lowercase has creeped
into the tree since then. Nuke the macros and convert all callsites
to lowercase.
no functional change
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:55 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +3 -2
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:18 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +21 -14
lines
sync with head.
Revision 1.47.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:03 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.47.4.2: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.4.2: +3 -2
lines
Sync with HEAD.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Mar 17 00:01:54 2009 UTC (15 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -2
lines
Add #include "opt_compat_netbsd.h" for COMPAT_09.
Revision 1.47.4.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:07 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.47.4.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.4.1: +3 -9
lines
Sync with HEAD.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Jan 26 13:00:04 2009 UTC (16 years ago) by njoly
Branches: MAIN
CVS tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -9
lines
Make all fstat(2) compat syscalls consistently use do_sys_fstat(),
instead of fd_getfile()/fd_putfile() dance.
ok by christos.
Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:17 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +17 -5
lines
Sync with HEAD.
Revision 1.45.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:41 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.45.6.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.6.2: +15 -3
lines
Sync with HEAD.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:47 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +17 -5
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:02 2008 UTC (16 years, 2 months ago) by ad
Branches: MAIN
CVS tags: mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +17 -5
lines
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:
- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
Revision 1.46.6.3: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:44 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.46.6.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.6.2: +4 -4
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.45.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:02 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.45.6.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.6.1: +2 -2
lines
Sync with HEAD.
Revision 1.46.8.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:19 2008 UTC (16 years, 7 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -4
lines
Sync with head.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Jun 24 11:18:15 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4
lines
Replace references to getsock/getvnode.
Revision 1.46.6.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:02 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.46.6.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.6.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.46.6.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:48 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +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.45.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:31 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +12 -62
lines
Sync with HEAD.
Revision 1.29.4.8: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:40 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.7: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.7: +12 -62
lines
sync with head.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:58 2008 UTC (16 years, 10 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +12 -62
lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
Revision 1.29.4.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:40:45 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.6: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.6: +29 -32
lines
sync with head
Revision 1.39.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:50:33 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.39.8.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.8.1: +34 -37
lines
sync with HEAD
Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:51:44 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +27 -28
lines
Sync with HEAD
Revision 1.40.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:43:37 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.40.4.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.4.1: +29 -32
lines
Sync with HEAD.
Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:38:52 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking2
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: +29 -32
lines
Sync with head.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:45 2007 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +27 -28
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.39.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:38 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.39.6.2: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.2: +7 -9
lines
Sync with HEAD.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Dec 8 19:29:38 2007 UTC (17 years, 1 month 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.43: preferred, colored
Changes since revision 1.43: +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.43: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:35:55 2007 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -5
lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:34 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -7
lines
Sync with HEAD.
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:35 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -5
lines
Sync with head.
Revision 1.29.4.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:27:38 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.5: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.5: +7 -7
lines
sync with head
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Dec 4 18:40:08 2007 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -5
lines
Remove all the __P
Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:40 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.6.1: +4 -4
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:29 2007 UTC (17 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase
Branch point for: vmlocking2
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4
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.39.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:24:46 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -3
lines
sync with HEAD
Revision 1.29.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:30 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.4: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.4: +4 -3
lines
sync with head.
Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:51 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -3
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.39.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:47:55 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +4 -3
lines
sync with head.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Oct 10 20:42:21 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -3
lines
Merge from vmlocking:
- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.
Revision 1.29.4.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:31:53 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.3: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.3: +13 -18
lines
sync with head.
Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:25:51 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.37.2.3: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.3: +3 -3
lines
Sync with HEAD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jul 17 20:31:03 2007 UTC (17 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
matt-armv6,
jmcneill-pm
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
MFSNAMELEN only belongs in compat.
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:03:51 2007 UTC (17 years, 6 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -3
lines
Sync with head.
Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:30:45 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.37.2.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.2: +3 -3
lines
- Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:34:50 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.1: +3 -3
lines
Sync with head.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sun May 13 17:36:20 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -2
lines
- Pass the error number and residual count to biodone(), and let it handle
setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.
Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:09 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.1: +3 -3
lines
sync with head.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Apr 22 08:29:55 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
mjf-ufs-trans-base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3
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.35.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:51:54 2007 UTC (17 years, 10 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +11 -16
lines
Sync with HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Mar 10 17:33:29 2007 UTC (17 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -9
lines
Use the support routines from kern_syscalls.c instead of rolling our own code.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:13 2007 UTC (17 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -9
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.29.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:01 2007 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.2: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.2: +2 -3
lines
sync with head.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:16 2007 UTC (17 years, 11 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -3
lines
Merge newlock2 to head.
Revision 1.32.14.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:30 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.32.14.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.14.1: +2 -3
lines
Remove support for SA. Ok core@.
Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:31 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.1: +4 -3
lines
sync with head.
Revision 1.32.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:44 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.32.16.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.16.1: +7 -7
lines
sync with head.
Revision 1.32.14.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:04 2006 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -3
lines
Sync with head.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:41 2006 UTC (18 years, 2 months 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.33: preferred, colored
Changes since revision 1.33: +7 -7
lines
__unused removal on arguments; approved by core.
Revision 1.32.16.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:21 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -6
lines
sync with head
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:47 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -6
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:14 2006 UTC (18 years, 4 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +5 -5
lines
sync with head
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:58:32 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +81 -19
lines
sync with head.
Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:12 2006 UTC (18 years, 9 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +5 -5
lines
Sync with head.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:12 2006 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -5
lines
merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 31 12:37:20 2005 UTC (19 years ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +5 -5
lines
adapt some random parts of kernel to uio_vmspace.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:56 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +15 -17
lines
merge ktrace-lwp.
Revision 1.24.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:00:40 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.6: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.6: +66 -2
lines
Sync with HEAD. Here we go again...
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Sep 13 01:42:32 2005 UTC (19 years, 4 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.29: preferred, colored
Changes since revision 1.29: +66 -2
lines
compat code reorg.
Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:31 2005 UTC (19 years, 9 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +4 -4
lines
sync with -current
Revision 1.28.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:28 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +4 -4
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.24.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:39:22 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.5: preferred, colored
Changes since revision 1.24.2.5: +4 -4
lines
Sync with HEAD.
Hi Perry!
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:10:18 2005 UTC (19 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4
lines
nuke trailing whitespace
Revision 1.24.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:24:58 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.4: preferred, colored
Changes since revision 1.24.2.4: +15 -17
lines
Fix the sync with head I botched.
Revision 1.24.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:05 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.3: preferred, colored
Changes since revision 1.24.2.3: +17 -15
lines
Sync with HEAD.
Revision 1.24.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:57:33 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.2: preferred, colored
Changes since revision 1.24.2.2: +3 -3
lines
Sync with HEAD.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Aug 15 07:19:54 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
Fixing age old cruft:
* Rather than using mnt_maxsymlinklen to indicate that a file systems returns
d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount:
* um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed
in the first place).
* um_dirblksiz, which tracks the current directory block size, eliminating the
FS-specific checks littered throughout the code. This may be used later to
make the block size variable.
* um_maxfilesize, which is the maximum file size, possibly adjusted lower due
to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly:
* ffs_lookup.c 1.21, 1.28, 1.33, 1.48
* ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67
* ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:43:29 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.1: preferred, colored
Changes since revision 1.24.2.1: +15 -17
lines
Sync with HEAD
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Nov 19 16:43:38 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
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-base,
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-0,
netbsd-2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +14 -11
lines
- don't use MALLOC for non constant counts
- check malloc() size.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 19 15:48:21 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3
lines
Don't include malloc.h if you are not going to use it.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:30:37 2003 UTC (21 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:40 2003 UTC (21 years, 6 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +15 -17
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.24: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:14 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +15 -13
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:17 2003 UTC (21 years, 7 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +15 -17
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.22: download - view: text, markup, annotated - select for diffs
Sat Jan 18 07:28:34 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +20 -42
lines
Merge the nathanw_sa branch.
Revision 1.15.2.7: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:05 2002 UTC (22 years, 1 month ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.15.2.6: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.6: +3 -3
lines
Sync with HEAD.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Nov 25 02:32:51 2002 UTC (22 years, 2 months ago) by thorpej
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.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
Avoid strict-alias warnings.
Revision 1.15.2.6: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:57 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.5: preferred, colored
Changes since revision 1.15.2.5: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.15.2.5: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:17 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.4: preferred, colored
Changes since revision 1.15.2.4: +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.19.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:51:01 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +4 -1
lines
Sync kqueue branch with -current.
Revision 1.15.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:12:55 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.3: preferred, colored
Changes since revision 1.15.2.3: +4 -1
lines
Catch up to -current.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:08:05 2001 UTC (23 years, 2 months ago) by lukem
Branches: MAIN
CVS tags: newlock-base,
newlock,
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,
netbsd-1-6,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
ifpoll-base,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -1
lines
add RCSIDs (including regeneration of files as appropriate)
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 18 19:13:49 2001 UTC (23 years, 4 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +2 -2
lines
Various changes to make cloning devices possible:
* Add an extra argument (struct vnode **) to VOP_OPEN. If it is
not NULL, specfs will create a cloned (aliased) vnode during
the call, and return it there. The caller should release and
unlock the original vnode if a new vnode was returned. The
new vnode is returned locked.
* Add a flag field to the cdevsw and bdevsw structures.
DF_CLONING indicates that it wants a new vnode for each
open (XXX is there a better way? devprop?)
* If a device is cloning, always call the close entry
point for a VOP_CLOSE.
Also, rewrite cons.c to do the right thing with vnodes. Use VOPs
rather then direct device entry calls. Suggested by mycroft@
Light to moderate testing done an i386 system (arch doesn't matter
though, these are MI changes).
Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:58:59 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.2: preferred, colored
Changes since revision 1.15.2.2: +4 -5
lines
Catch up to -current.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jun 14 20:32:41 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp,
kqueue
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -3
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.18: download - view: text, markup, annotated - select for diffs
Wed May 30 11:37:22 2001 UTC (23 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
use _KERNEL_OPT.
Revision 1.12.2.3: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:14 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.12.2.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.2: +10 -16
lines
Sync with HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Apr 9 10:22:01 2001 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
Change the first arg to fileops fo_stat routine to struct file *, adjust
callers and appropriate routines to cope. This makes fo_stat more
consistent with rest of fileops routines and also makes the fo_stat
match FreeBSD as an added bonus.
Discussed with Luke Mewburn on tech-kern@.
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:55:31 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.1: preferred, colored
Changes since revision 1.15.2.1: +10 -16
lines
Catch up with -current.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Apr 7 09:00:57 2001 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -16
lines
Add new 'stat' fileop and call the stat function via f_ops rather
than directly.
For compat syscalls, also add necessary FILE_USE()/FILE_UNUSE().
Now that soo_stat() gets a proc arg, pass it on to usrreq function.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:19 2001 UTC (23 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +19 -41
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:10 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.1: +3 -1
lines
Sync with HEAD.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Nov 29 22:05:35 2000 UTC (24 years, 2 months ago) by jdolecek
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -1
lines
LKMify
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:09 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +32 -19
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jul 26 11:43:07 2000 UTC (24 years, 6 months ago) by pk
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +21 -8
lines
lstat: since namei() returns an error (EISDIR) if there is no parent to lock,
retry the lookup without LOCKPARENT if that happens. This is safe, since
need to have LOCKPARENT only if the vnode is of type VLNK.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Mar 30 11:27:15 2000 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -12
lines
Kill register declarations.
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:06:18 1999 UTC (25 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +15 -8
lines
Sync w/ -current.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 5 20:01:01 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase,
chs-ubc2-base
Branch point for: thorpej_scsipi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -8
lines
Add "use counting" to file entries. When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.
This is necessary in order for multiple processes to safely share file
descriptor tables.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Mar 30 00:13:57 1999 UTC (25 years, 10 months ago) by wrstuden
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Explicitly mask mode returned in old stat structure to 16 bits. Also correct
comment (we're converting from a new to an old struct stat).
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:22:41 1998 UTC (26 years, 11 months ago) by fvdl
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
eeh-paddr_t-base,
eeh-paddr_t,
chs-ubc-base,
chs-ubc
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +44 -17
lines
Merge with Lite2 + local changes
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 19 00:35:26 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1
lines
Include the UNION option header.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Oct 16 23:50:39 1997 UTC (27 years, 3 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -9
lines
add stat12 compatibility calls and rename ostat to stat43
Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:21:18 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +3 -3
lines
Update marc-pcmcia branch from trunk.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Oct 10 13:03:32 1997 UTC (27 years, 3 months ago) by fvdl
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
u_long -> off_t, I missed the big endian case. From Juergen Hannken-Illjes
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Oct 10 01:47:04 1997 UTC (27 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Add getdirentries backward compat syscall. Provide common function to
signal cookie overflow during emulated getdents and friends.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jun 6 19:36:31 1997 UTC (27 years, 7 months ago) by christos
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp,
bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -37
lines
PR/3701: Arne H. Juul: olstat can't stat "/", because it still pretended
that symlinks don't have inodes.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Mar 14 19:31:52 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
CVS tags: thorpej-setroot,
netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +9 -6
lines
Fix compiler warnings
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:26:31 1995 UTC (29 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +27 -27
lines
Prefix names of system call implementation functions with `sys_'.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 19 22:02:05 1995 UTC (29 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +42 -35
lines
Make system calls conform to a standard prototype and bring those
prototypes into scope.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 24 20:16:25 1995 UTC (29 years, 7 months ago) by christos
Branches: MAIN
- Extracted all compat routines from the kern directory and moved here.
- Created compat_util.c and compat_util.h to be used by the compatibility
modules, so they don't duplicate the same code.
- Added prototypes to the stackgap allocation routines.
CVSweb <webmaster@jp.NetBSD.org>