The NetBSD Project

CVS log for src/sys/compat/common/vfs_syscalls_30.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / common

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.36.12.2 / (download) - annotate - [select for diffs], Wed Jun 21 21:04:01 2023 UTC (9 months ago) by martin
Branch: netbsd-8
Changes since 1.36.12.1: +4 -2 lines
Diff to previous 1.36.12.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.7.4.1 (colored)

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.38.4.2 / (download) - annotate - [select for diffs], Wed Aug 3 11:11:31 2022 UTC (19 months, 3 weeks ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.38.4.1: +4 -2 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored) to selected 1.7.4.1 (colored)

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.45 / (download) - annotate - [select for diffs], Sat Mar 12 20:46:03 2022 UTC (2 years ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) to selected 1.7.4.1 (colored)

compat_30: Fix thinko in previous.

Let's not go into an infinite loop of stack smashing!

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 12 15:54:23 2022 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.43: +6 -4 lines
Diff to previous 1.43 (colored) to selected 1.7.4.1 (colored)

compat_30: Avoid what might be technically undefined behaviour.

Not sure advancing a user pointer by one for the purpose of making an
equality test fail later on is actually likely to be a problem, but
let's just pacify the sanitizer.

Reported-by: syzbot+758b18164c5c444f4249@syzkaller.appspotmail.com

Revision 1.43 / (download) - annotate - [select for diffs], Tue Sep 7 11:43:02 2021 UTC (2 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored) to selected 1.7.4.1 (colored)

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.36.12.1 / (download) - annotate - [select for diffs], Sun Aug 15 10:03:46 2021 UTC (2 years, 7 months ago) by martin
Branch: netbsd-8
Changes since 1.36: +14 -39 lines
Diff to previous 1.36 (colored) to selected 1.7.4.1 (colored)

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.38.4.1 / (download) - annotate - [select for diffs], Sun Aug 15 09:27:50 2021 UTC (2 years, 7 months ago) by martin
Branch: netbsd-9
Changes since 1.38: +14 -40 lines
Diff to previous 1.38 (colored) to selected 1.7.4.1 (colored)

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.42 / (download) - annotate - [select for diffs], Sun Aug 15 07:57:46 2021 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.41: +14 -41 lines
Diff to previous 1.41 (colored) to selected 1.7.4.1 (colored)

- 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.36.20.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:14 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.36.20.2: +14 -8 lines
Diff to previous 1.36.20.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.7.4.1 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.36.20.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:00 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.36.20.1: +5 -4 lines
Diff to previous 1.36.20.1 (colored) to branchpoint 1.36 (colored) to selected 1.7.4.1 (colored)

Merge changes from current as of 20200406

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:00 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.39.2.1: +3 -3 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 31 09:01:23 2020 UTC (4 years, 1 month ago) by maxv
Branch: 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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.7.4.1 (colored)

Fix copyout overflows in fhstat, found by the LGTM bot. Not a big problem
since this syscall is privileged.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:29 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 17 20:08:06 2020 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored) to selected 1.7.4.1 (colored)

VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode.  Matches
FreeBSD.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Sep 22 22:59:38 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.38: +16 -10 lines
Diff to previous 1.38 (colored) to selected 1.7.4.1 (colored)

Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=

Revision 1.36.20.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:58 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.36: +55 -13 lines
Diff to previous 1.36 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:39 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.37: +54 -12 lines
Diff to previous 1.37 (colored) to selected 1.7.4.1 (colored)

Merge the [pgoyette-compat] branch

Revision 1.36.18.3 / (download) - annotate - [select for diffs], Sat Sep 22 04:56:28 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.36.18.2: +6 -2 lines
Diff to previous 1.36.18.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.7.4.1 (colored)

#include "opt_compat_netbsd.h" for all sources that provide compat code.

Revision 1.36.18.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:45 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.36.18.1: +3 -3 lines
Diff to previous 1.36.18.1 (colored) to branchpoint 1.36 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:29 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.7.4.1 (colored)

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.36.18.1 / (download) - annotate - [select for diffs], Wed Mar 28 04:18:24 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.36: +50 -12 lines
Diff to previous 1.36 (colored) to selected 1.7.4.1 (colored)

Initial pass at a compat_30 module.

Still needs some work for dev/vnd and various dev/usb/*

Revision 1.33.18.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:53 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.33: +6 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.7.4.1 (colored)

update from HEAD

Revision 1.33.34.1 / (download) - annotate - [select for diffs], Mon Dec 29 16:35:51 2014 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.33: +7 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.7.4.1 (colored)

Pull up following revision(s) (requested by maxv in ticket #353):
	sys/ufs/chfs/chfs_vfsops.c: revision 1.12
	sys/compat/common/vfs_syscalls_30.c: revision 1.35
	sys/compat/linux/common/linux_uselib.c: revision 1.31
	sys/compat/linux/common/linux_uselib.c: revision 1.32
Resource leak.
Memory leaks.
Reject non-regular files.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Oct 20 11:58:01 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.35: +5 -7 lines
Diff to previous 1.35 (colored) to selected 1.7.4.1 (colored)

simplify

Revision 1.35 / (download) - annotate - [select for diffs], Mon Oct 20 06:56:38 2014 UTC (9 years, 5 months ago) by maxv
Branch: MAIN
Changes since 1.34: +7 -3 lines
Diff to previous 1.34 (colored) to selected 1.7.4.1 (colored)

Memory leak, triggerable from root only.

Found by my code scanner.

ok christos@

Revision 1.34 / (download) - annotate - [select for diffs], Fri Sep 5 09:21:54 2014 UTC (9 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.7.4.1 (colored)

Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:39 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31.2.1: +9 -4 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.7.4.1 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Fri Nov 19 06:44:35 2010 UTC (13 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7
Changes since 1.32: +9 -4 lines
Diff to previous 1.32 (colored) to selected 1.7.4.1 (colored)

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.30.4.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:38 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.30.4.1: +1 -1 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.26.6.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:01 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.26.6.3: +3 -3 lines
Diff to previous 1.26.6.3 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:30 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) to selected 1.7.4.1 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:06 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) to selected 1.7.4.1 (colored)

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.18.2.1 / (download) - annotate - [select for diffs], Sat Jun 12 18:38:01 2010 UTC (13 years, 9 months ago) by riz
Branch: netbsd-4
Changes since 1.18: +7 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.7.4.1 (colored)

Pull up following revision(s) (requested by he in ticket #1387):
	sys/compat/svr4/svr4_misc.c: revision 1.149
	sys/compat/linux/common/linux_misc.c: revision 1.214
	sys/compat/common/vfs_syscalls_30.c: revision 1.31
	sys/compat/sunos/sunos_misc.c: revision 1.166
	sys/compat/linux/common/linux_file64.c: revision 1.50
	sys/compat/svr4_32/svr4_32_misc.c: revision 1.68
	sys/compat/ibcs2/ibcs2_misc.c: revision 1.110
	sys/compat/linux32/common/linux32_dirent.c: revision 1.10
	sys/compat/sunos32/sunos32_misc.c: revision 1.69
	sys/compat/irix/irix_dirent.c: revision 1.24
	sys/compat/osf1/osf1_file.c: revision 1.38
When implementing "read directory", when there are too many empty entries
in a row, and we need to try to read the next block, and have passed a
non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie
buffer before re-doing VOP_READDIR, so that we don't leak memory.
This fix is similar to nfs_serv.c revisions 1.115 + 1.124.
This should fix the long-standing problem observed by e.g. using Linux-
emulated programs to take backup of servers, which is one of the problems
which were reported in PR#42661.
Thanks to pooka@ for the hints for traversing the VOP* layer.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:42:56 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.30: +7 -3 lines
Diff to previous 1.30 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.28.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:26 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.28: +7 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.7.4.1 (colored)

sync to netbsd-5

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Wed Mar 17 02:59:51 2010 UTC (14 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.28: +7 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.7.4.1 (colored)

Pull up following revision(s) (requested by he in ticket #1323):
	sys/compat/common/vfs_syscalls_30.c: revision 1.31
	sys/compat/ibcs2/ibcs2_misc.c: revision 1.110
	sys/compat/irix/irix_dirent.c: revision 1.24
	sys/compat/linux/common/linux_file64.c: revision 1.50
	sys/compat/linux/common/linux_misc.c: revision 1.214
	sys/compat/linux32/common/linux32_dirent.c: revision 1.10
	sys/compat/sunos/sunos_misc.c: revision 1.166
	sys/compat/sunos32/sunos32_misc.c: revision 1.69
	sys/compat/svr4/svr4_misc.c: revision 1.149
	sys/compat/svr4_32/svr4_32_misc.c: revision 1.68
When implementing "read directory", when there are too many empty entries
in a row, and we need to try to read the next block, and have passed a
non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie
buffer before re-doing VOP_READDIR, so that we don't leak memory.
This fix is similar to nfs_serv.c revisions 1.115 + 1.124.
This should fix the long-standing problem observed by e.g. using Linux-
emulated programs to take backup of servers, which is one of the problems
which were reported in PR#42661.
Thanks to pooka@ for the hints for traversing the VOP* layer.

Revision 1.26.6.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:12 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.26.6.2: +7 -3 lines
Diff to previous 1.26.6.2 (colored) to branchpoint 1.26 (colored) to selected 1.7.4.1 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 3 08:20:38 2010 UTC (14 years ago) by he
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.30: +7 -3 lines
Diff to previous 1.30 (colored) to selected 1.7.4.1 (colored)

When implementing "read directory", when there are too many empty entries
in a row, and we need to try to read the next block, and have passed a
non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie
buffer before re-doing VOP_READDIR, so that we don't leak memory.
This fix is similar to nfs_serv.c revisions 1.115 + 1.124.

This should fix the long-standing problem observed by e.g. using Linux-
emulated programs to take backup of servers, which is one of the problems
which were reported in PR#42661.

Thanks to pooka@ for the hints for traversing the VOP* layer.

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:17 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.26.6.1: +19 -21 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.28.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:07 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.28.4.1: +3 -8 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 26 13:00:04 2009 UTC (15 years, 2 months ago) by njoly
Branch: 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, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Branch point for: uebayasi-xip
Changes since 1.29: +3 -8 lines
Diff to previous 1.29 (colored) to selected 1.7.4.1 (colored)

Make all fstat(2) compat syscalls consistently use do_sys_fstat(),
instead of fd_getfile()/fd_putfile() dance.

ok by christos.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:17 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.28: +16 -13 lines
Diff to previous 1.28 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.25.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:41 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.3: +14 -11 lines
Diff to previous 1.25.6.3 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:47 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.28: +16 -13 lines
Diff to previous 1.28 (colored) to selected 1.7.4.1 (colored)

merge christos-time_t

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Sun Nov 9 01:55:26 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.26.2.2: +12 -9 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.7.4.1 (colored)

fix fhstat.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:22:25 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.26.2.1: +4 -11 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:44 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.27.2.2: +4 -4 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.7.4.1 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.25.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:02 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.2: +2 -2 lines
Diff to previous 1.25.6.2 (colored) to branchpoint 1.25 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:19 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 24 11:18:15 2008 UTC (15 years, 9 months ago) by ad
Branch: 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-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, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) to selected 1.7.4.1 (colored)

Replace references to getsock/getvnode.

Revision 1.25.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:56 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.1: +0 -7 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:10 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.26: +2 -9 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:35 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.26: +2 -9 lines
Diff to previous 1.26 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:02 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.27.2.1: +2 -3 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) to selected 1.7.4.1 (colored)

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.27.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:48 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored) to selected 1.7.4.1 (colored)

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.27 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:41 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.26: +2 -9 lines
Diff to previous 1.26 (colored) to selected 1.7.4.1 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:31 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25: +12 -18 lines
Diff to previous 1.25 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:46:57 2008 UTC (16 years ago) by christos
Branch: christos-time_t
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored) to selected 1.7.4.1 (colored)

Welcome to the time_t=long long dev_t=uint64_t branch.

Revision 1.9.6.7 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:40 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.6: +12 -18 lines
Diff to previous 1.9.6.6 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 21 21:54:58 2008 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, christos-time_t
Changes since 1.25: +12 -18 lines
Diff to previous 1.25 (colored) to selected 1.7.4.1 (colored)

Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.9.6.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:45 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.5: +30 -30 lines
Diff to previous 1.9.6.5 (colored) to branchpoint 1.9 (colored) to selected 1.7.4.1 (colored)

sync with head

Revision 1.23.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:50:33 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.23: +30 -30 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.7.4.1 (colored)

sync with HEAD

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:44 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.24: +29 -29 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD

Revision 1.23.16.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:48:46 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.23: +30 -30 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:45 2007 UTC (16 years, 3 months ago) by dsl
Branch: 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
Changes since 1.24: +29 -29 lines
Diff to previous 1.24 (colored) to selected 1.7.4.1 (colored)

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.23.6.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:38 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:37 2007 UTC (16 years, 3 months ago) by pooka
Branch: 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
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.7.4.1 (colored)

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.9.6.5 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:53 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.4: +23 -25 lines
Diff to previous 1.9.6.4 (colored) to branchpoint 1.9 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:50 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.21: +18 -9 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sun May 27 14:34:50 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.21: +18 -9 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Mon May 7 10:55:08 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.19.2.1: +18 -9 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Apr 30 08:32:15 2007 UTC (16 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, matt-armv6, jmcneill-pm
Changes since 1.22: +17 -8 lines
Diff to previous 1.22 (colored) to selected 1.7.4.1 (colored)

Split the statvfs functions so that the 'work' is done to a kernel buffer
which can either be copied directly to userspace, or converted then copied.
Saves replicating a lot of code in the compat functions (esp. for
getvfsstat) at a cast of an extra function call in the non-emulated case -
which is unlikely to be measurable given the other costs of the actions
involved (even on vax).
Remove dofhstat() and dofhstatvfs() (and the last caller).
Remove some redundant stackgap_init() calls.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Apr 22 08:29:55 2007 UTC (16 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.7.4.1 (colored)

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.19.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:54 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.19: +7 -18 lines
Diff to previous 1.19 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 10 17:33:29 2007 UTC (17 years ago) by dsl
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.20: +5 -16 lines
Diff to previous 1.20 (colored) to selected 1.7.4.1 (colored)

Use the support routines from kern_syscalls.c instead of rolling our own code.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:13 2007 UTC (17 years ago) by christos
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) to selected 1.7.4.1 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.9.6.4 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:01 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.3: +2 -3 lines
Diff to previous 1.9.6.3 (colored) to branchpoint 1.9 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:16 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) to selected 1.7.4.1 (colored)

Merge newlock2 to head.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:30 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.15.4.1: +2 -3 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.7.4.1 (colored)

Remove support for SA. Ok core@.

Revision 1.9.6.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:31 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.2: +95 -9 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.15.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:44 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.15.6.1: +11 -11 lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:04 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:41 2006 UTC (17 years, 4 months ago) by christos
Branch: 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, matt-nb4-arm-base, matt-nb4-arm
Branch point for: netbsd-4
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored) to selected 1.7.4.1 (colored)

__unused removal on arguments; approved by core.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Nov 14 13:34:29 2006 UTC (17 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored) to selected 1.7.4.1 (colored)

Clean some KAUTH_GENERIC_ISSUSER usage in compat code.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:21 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.15: +7 -7 lines
Diff to previous 1.15 (colored) to selected 1.7.4.1 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:47 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.15: +7 -7 lines
Diff to previous 1.15 (colored) to selected 1.7.4.1 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:45:14 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.6: +131 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.7.4.1 (colored)

sync with head

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:19 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7.2.1: +95 -9 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.7.4.1 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 4 16:58:27 2006 UTC (17 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored) to selected 1.7.4.1 (colored)

compat_30_sys_getfh: check the size of filehandle.  remove an unnecessary cast.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 4 16:29:51 2006 UTC (17 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.13: +8 -186 lines
Diff to previous 1.13 (colored) to selected 1.7.4.1 (colored)

some filehandle syscall related changes.

- remove the support of variable-sized filehandle from compat version of
  syscalls.  (strictly speaking, it breaks abi.  i don't think it's a problem
  because this feature is short-lived and there are no affected in-tree
  filesystems.)
- unify vfs_copyinfh_alloc and vfs_copyinfh_alloc_size.
- vfs_copyinfh_alloc_size: check fhsize strictly.
- reduce code duplication between compat and current syscalls.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 31 16:34:43 2006 UTC (17 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.12: +225 -2 lines
Diff to previous 1.12 (colored) to selected 1.7.4.1 (colored)

Make filehandles opaque to userland

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:08 2006 UTC (17 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.11: +6 -8 lines
Diff to previous 1.11 (colored) to selected 1.7.4.1 (colored)

Use the LWP cached credentials where sane.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 13 23:04:02 2006 UTC (17 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored) to selected 1.7.4.1 (colored)

compat_30_sys_getfh: s/fhandle_t/struct compat_30_fhandle/  (fix overrun.)

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:07 2006 UTC (17 years, 8 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.9: +47 -6 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.7.4.1 (colored)

Merge from HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 13 12:00:25 2006 UTC (17 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.9: +47 -6 lines
Diff to previous 1.9 (colored) to selected 1.7.4.1 (colored)

Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:32 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.1: +352 -0 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:42 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.6.6.1: +44 -2 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:26 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.7: +44 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.7.4.1 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:27 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7: +44 -2 lines
Diff to previous 1.7 (colored) to selected 1.7.4.1 (colored)

sync with head.

Revision 1.9.6.1, Sun May 14 21:24:49 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +0 -352 lines
FILE REMOVED

file vfs_syscalls_30.c was added on branch yamt-lazymbuf on 2006-06-21 14:58:32 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 14 21:24:49 2006 UTC (17 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-lazymbuf, gdamore-uart
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored) to selected 1.7.4.1 (colored)

integrate kauth.

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Fri May 12 23:06:36 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.7.4.1: +5 -3 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

adapt to kauth kpi, include sys/kauth.h where needed..

Revision 1.7.4.1 / (download) - annotate - [selected], Thu May 11 23:27:30 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.7: +42 -2 lines
Diff to previous 1.7 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 4 17:48:57 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.7: +42 -2 lines
Diff to previous 1.7 (colored) to selected 1.7.4.1 (colored)

fhstat needs to be versioned too (for ino_t). Pointed out by Izumi Tsutsui

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:12 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.6: +3 -4 lines
Diff to previous 1.6 (colored) to selected 1.7.4.1 (colored)

Sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:12 2006 UTC (18 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.6: +3 -4 lines
Diff to previous 1.6 (colored) to selected 1.7.4.1 (colored)

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.6.2.1 / (download) - annotate - [select for diffs], Sat Dec 31 12:37:20 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.6: +3 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.7.4.1 (colored)

adapt some random parts of kernel to uio_vmspace.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:56 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.5: +10 -12 lines
Diff to previous 1.5 (colored) to selected 1.7.4.1 (colored)

merge ktrace-lwp.

Revision 1.5.6.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:40 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.6.1: +311 -0 lines
Diff to previous 1.5.6.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.7.4.1 (colored)

Sync with HEAD. Here we go again...

Revision 1.5.6.1, Tue Sep 13 01:42:32 2005 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +0 -313 lines
FILE REMOVED

file vfs_syscalls_30.c was added on branch ktrace-lwp on 2005-11-10 14:00:40 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 13 01:42:32 2005 UTC (18 years, 6 months ago) by christos
Branch: 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
Branch point for: ktrace-lwp
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored) to selected 1.7.4.1 (colored)

compat code reorg.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 19 13:17:37 2005 UTC (18 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored) to selected 1.7.4.1 (colored)

compat_30_sys_getdents: netbsd 1.2 -> 3.0 in comments/messages.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 19 13:16:56 2005 UTC (18 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored) to selected 1.7.4.1 (colored)

compat_30_sys_getdents: don't leak kernel stack garbage to userland.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 19 06:01:00 2005 UTC (18 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) to selected 1.7.4.1 (colored)

change a hard-coded 0xf to _DIRENT_ALIGN (thanks yamt)

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 19 02:03:57 2005 UTC (18 years, 7 months ago) by christos
Branch: MAIN
Diff to selected 1.7.4.1 (colored)

64 bit inode changes.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>