The NetBSD Project

CVS log for src/sys/compat/sunos/sunos_misc.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.170.10.2 / (download) - annotate - [select for diffs], Wed Jun 21 21:04:01 2023 UTC (9 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.170.10.1: +5 -2 lines
Diff to previous 1.170.10.1 (colored) to branchpoint 1.170 (colored) next main 1.171 (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.173.2.1 / (download) - annotate - [select for diffs], Wed Aug 3 11:11:31 2022 UTC (20 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.173: +5 -2 lines
Diff to previous 1.173 (colored) next main 1.174 (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.177 / (download) - annotate - [select for diffs], Tue Sep 7 11:43:05 2021 UTC (2 years, 7 months 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-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
Changes since 1.176: +5 -2 lines
Diff to previous 1.176 (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.171.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:16 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.171.4.1: +16 -15 lines
Diff to previous 1.171.4.1 (colored) to branchpoint 1.171 (colored) next main 1.172 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.176 / (download) - annotate - [select for diffs], Sat Oct 26 11:34:48 2019 UTC (4 years, 5 months ago) by christos
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, phil-wifi-20191119, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.175: +8 -10 lines
Diff to previous 1.175 (colored)

use strlcpy() for the uts conversion, makes the code simpler and more readable.

Revision 1.175 / (download) - annotate - [select for diffs], Fri Oct 4 12:24:12 2019 UTC (4 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.174: +3 -3 lines
Diff to previous 1.174 (colored)

replace memcpy() with src bounds overflow with single char write.

Revision 1.174 / (download) - annotate - [select for diffs], Mon Sep 23 21:07:50 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.173: +9 -5 lines
Diff to previous 1.173 (colored)

make this compile again.

Revision 1.173 / (download) - annotate - [select for diffs], Wed Jul 3 18:24:50 2019 UTC (4 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.172: +3 -4 lines
Diff to previous 1.172 (colored)

Stack buffers mustn't escape their scope. PR 54326 from David Binderman

Revision 1.171.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:02 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (colored)

Sync with HEAD

Revision 1.171.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:47 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (colored) next main 1.172 (colored)

Sync with HEAD

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

Revision 1.172 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:30 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, isaki-audio2-base, isaki-audio2
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (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.168.18.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:56 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.168: +10 -8 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

update from HEAD

Revision 1.169.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:59 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.169.2.1: +6 -4 lines
Diff to previous 1.169.2.1 (colored) to branchpoint 1.169 (colored) next main 1.170 (colored)

Sync with HEAD

Revision 1.168.14.1 / (download) - annotate - [select for diffs], Sat Aug 19 04:20:02 2017 UTC (6 years, 7 months ago) by snj
Branch: netbsd-6
Changes since 1.168: +6 -4 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

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.168.28.1 / (download) - annotate - [select for diffs], Sat Aug 19 04:19:59 2017 UTC (6 years, 7 months ago) by snj
Branch: netbsd-6-1
Changes since 1.168: +6 -4 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

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.168.20.1 / (download) - annotate - [select for diffs], Sat Aug 19 04:19:55 2017 UTC (6 years, 7 months ago) by snj
Branch: netbsd-6-0
Changes since 1.168: +6 -4 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

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.168.34.1 / (download) - annotate - [select for diffs], Sat Aug 12 04:18:10 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.168: +6 -4 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

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.168.40.1 / (download) - annotate - [select for diffs], Sat Aug 12 04:16:53 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-7-1
CVS Tags: netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE
Changes since 1.168: +6 -4 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

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.168.36.1 / (download) - annotate - [select for diffs], Sat Aug 12 04:16:17 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-7-0
Changes since 1.168: +6 -4 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

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.170.10.1 / (download) - annotate - [select for diffs], Wed Aug 9 05:12:18 2017 UTC (6 years, 8 months ago) by snj
Branch: 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, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.170: +6 -4 lines
Diff to previous 1.170 (colored)

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.171 / (download) - annotate - [select for diffs], Fri Jul 28 15:34:06 2017 UTC (6 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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, nick-nhusb-base-20170825
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.170: +6 -4 lines
Diff to previous 1.170 (colored)

Fail, don't panic, on bad dirents from file system.

Controllable via puffs from userland.

From Ilja Van Sprundel.

Revision 1.169.2.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:47 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.169: +4 -4 lines
Diff to previous 1.169 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.170 / (download) - annotate - [select for diffs], Fri Oct 23 19:40:11 2015 UTC (8 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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, netbsd-8-base, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.169: +4 -4 lines
Diff to previous 1.169 (colored)

Change do_sys_mount() so that it only takes as argument the type of the
drive instead of its associated vfsops. Makes it more friendly, and allows
compat binaries to autoload VFS modules if needed.

sent on tech-kern@, ok christos@

Revision 1.169 / (download) - annotate - [select for diffs], Fri Sep 5 09:21:55 2014 UTC (9 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.168: +4 -4 lines
Diff to previous 1.168 (colored)

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

Revision 1.165.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:55 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.165.2.1: +1 -1 lines
Diff to previous 1.165.2.1 (colored) to branchpoint 1.165 (colored) next main 1.166 (colored)

Sync with HEAD.

Revision 1.159.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:12 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.159.4.3: +3 -3 lines
Diff to previous 1.159.4.3 (colored) to branchpoint 1.159 (colored) next main 1.160 (colored)

sync with head.

Revision 1.167.2.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:33 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.167: +3 -3 lines
Diff to previous 1.167 (colored) next main 1.168 (colored)

sync with head

Revision 1.168 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:07 2010 UTC (13 years, 9 months ago) by hannken
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, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, 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-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, 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-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-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, 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-1, netbsd-7-0, netbsd-7, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.167: +3 -3 lines
Diff to previous 1.167 (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.143.2.1 / (download) - annotate - [select for diffs], Sat Jun 12 18:38:01 2010 UTC (13 years, 10 months ago) by riz
Branch: netbsd-4
Changes since 1.143: +7 -3 lines
Diff to previous 1.143 (colored) next main 1.144 (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.165.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:02 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.165: +7 -33 lines
Diff to previous 1.165 (colored)

Sync with HEAD.

Revision 1.161.8.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:27 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.161: +7 -3 lines
Diff to previous 1.161 (colored) next main 1.162 (colored)

sync to netbsd-5

Revision 1.161.4.1 / (download) - annotate - [select for diffs], Wed Mar 17 02:59:52 2010 UTC (14 years, 1 month 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.161: +7 -3 lines
Diff to previous 1.161 (colored) next main 1.162 (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.159.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:19 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.159.4.2: +7 -33 lines
Diff to previous 1.159.4.2 (colored) to branchpoint 1.159 (colored)

sync with head

Revision 1.167 / (download) - annotate - [select for diffs], Wed Mar 3 11:07:17 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.166: +2 -32 lines
Diff to previous 1.166 (colored)

One more overcomplex ENOSYS bites the dust.

Revision 1.166 / (download) - annotate - [select for diffs], Wed Mar 3 08:20:39 2010 UTC (14 years, 1 month ago) by he
Branch: MAIN
Changes since 1.165: +7 -3 lines
Diff to previous 1.165 (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.164.2.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:44 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.164: +8 -8 lines
Diff to previous 1.164 (colored) next main 1.165 (colored)

Sync with HEAD.

Revision 1.159.4.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:52:58 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.159.4.1: +8 -8 lines
Diff to previous 1.159.4.1 (colored) to branchpoint 1.159 (colored)

sync with head.

Revision 1.165 / (download) - annotate - [select for diffs], Mon Jun 29 05:08:16 2009 UTC (14 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.164: +8 -8 lines
Diff to previous 1.164 (colored)

Convert 67 namei call sites to use namei_simple, in these functions:

check_console, veriexecclose, veriexec_delete, veriexec_file_add,
emul_find_root, coff_load_shlib (sh3 version), coff_load_shlib,
compat_20_sys_statfs, compat_20_netbsd32_statfs,
ELFNAME2(netbsd32,probe_noteless), darwin_sys_statfs,
ibcs2_sys_statfs, ibcs2_sys_statvfs, linux_sys_uselib,
osf1_sys_statfs, sunos_sys_statfs, sunos32_sys_statfs,
ultrix_sys_statfs, do_sys_mount, fss_create_files (3 of 4),
adosfs_mount, cd9660_mount, coda_ioctl, coda_mount, ext2fs_mount,
ffs_mount, filecore_mount, hfs_mount, lfs_mount, msdosfs_mount,
ntfs_mount, sysvbfs_mount, udf_mount, union_mount, sys_chflags,
sys_lchflags, sys_chmod, sys_lchmod, sys_chown, sys_lchown,
sys___posix_chown, sys___posix_lchown, sys_link, do_sys_pstatvfs,
sys_quotactl, sys_revoke, sys_truncate, do_sys_utimes, sys_extattrctl,
sys_extattr_set_file, sys_extattr_set_link, sys_extattr_get_file,
sys_extattr_get_link, sys_extattr_delete_file,
sys_extattr_delete_link, sys_extattr_list_file, sys_extattr_list_link,
sys_setxattr, sys_lsetxattr, sys_getxattr, sys_lgetxattr,
sys_listxattr, sys_llistxattr, sys_removexattr, sys_lremovexattr

All have been scrutinized (several times, in fact) and compile-tested,
but not all have been explicitly tested in action.

XXX: While I haven't (intentionally) changed the use or nonuse of
XXX: TRYEMULROOT in any of these places, I'm not convinced all the
XXX: uses are correct; an audit might be desirable.

Revision 1.159.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:27 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.159: +21 -44 lines
Diff to previous 1.159 (colored)

sync with head.

Revision 1.161.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:40 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.161: +7 -28 lines
Diff to previous 1.161 (colored) next main 1.162 (colored)

Sync with HEAD.

Revision 1.158.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:48 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.158.6.3: +5 -26 lines
Diff to previous 1.158.6.3 (colored) to branchpoint 1.158 (colored) next main 1.159 (colored)

Sync with HEAD.

Revision 1.164 / (download) - annotate - [select for diffs], Sun Jan 11 12:44:47 2009 UTC (15 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jym-xensuspend-base
Branch point for: jym-xensuspend
Changes since 1.163: +6 -5 lines
Diff to previous 1.163 (colored)

Update for compat_50 stuff. (compile test only)

Revision 1.160.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:03 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.160.2.1: +3 -25 lines
Diff to previous 1.160.2.1 (colored) to branchpoint 1.160 (colored) next main 1.161 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.163 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:05 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.162: +3 -16 lines
Diff to previous 1.162 (colored)

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.162 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:10 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.161: +2 -11 lines
Diff to previous 1.161 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.160.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:17 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.160: +13 -15 lines
Diff to previous 1.160 (colored)

Sync with HEAD.

Revision 1.158.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:17 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.158.6.2: +11 -13 lines
Diff to previous 1.158.6.2 (colored) to branchpoint 1.158 (colored)

Sync with HEAD.

Revision 1.159.6.3 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:46 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.159.6.2: +16 -18 lines
Diff to previous 1.159.6.2 (colored) to branchpoint 1.159 (colored) next main 1.160 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.161 / (download) - annotate - [select for diffs], Thu Aug 7 20:15:32 2008 UTC (15 years, 8 months ago) by plunky
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, 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-dm-base1
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64
Changes since 1.160: +13 -15 lines
Diff to previous 1.160 (colored)

convert some [left behind] compat code to use new sockopt API

Revision 1.158.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:04 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.158.6.1: +3 -3 lines
Diff to previous 1.158.6.1 (colored) to branchpoint 1.158 (colored)

Sync with HEAD.

Revision 1.159.8.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.159: +5 -5 lines
Diff to previous 1.159 (colored) next main 1.160 (colored)

Sync with head.

Revision 1.160 / (download) - annotate - [select for diffs], Tue Jun 24 11:18:15 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.159: +5 -5 lines
Diff to previous 1.159 (colored)

Replace references to getsock/getvnode.

Revision 1.159.6.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:10 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.159.6.1: +2 -3 lines
Diff to previous 1.159.6.1 (colored) to branchpoint 1.159 (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.159.6.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:59 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.159: +3 -2 lines
Diff to previous 1.159 (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.158.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:34 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.158: +21 -29 lines
Diff to previous 1.158 (colored)

Sync with HEAD.

Revision 1.132.2.8 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:45 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.132.2.7: +21 -29 lines
Diff to previous 1.132.2.7 (colored) to branchpoint 1.132 (colored) next main 1.133 (colored)

sync with head.

Revision 1.159 / (download) - annotate - [select for diffs], Fri Mar 21 21:54:59 2008 UTC (16 years ago) by ad
Branch: 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
Changes since 1.158: +21 -29 lines
Diff to previous 1.158 (colored)

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

Revision 1.152.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:30 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.152.4.2: +2 -3 lines
Diff to previous 1.152.4.2 (colored) to branchpoint 1.152 (colored) next main 1.153 (colored)

Sync with HEAD.

Revision 1.132.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:02 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.132.2.6: +98 -249 lines
Diff to previous 1.132.2.6 (colored) to branchpoint 1.132 (colored)

sync with head

Revision 1.151.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:51:47 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.151.8.1: +105 -256 lines
Diff to previous 1.151.8.1 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored)

sync with HEAD

Revision 1.156.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:53:22 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.156: +92 -121 lines
Diff to previous 1.156 (colored) next main 1.157 (colored)

Sync with HEAD

Revision 1.158 / (download) - annotate - [select for diffs], Thu Dec 27 17:05:28 2007 UTC (16 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: 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.157: +2 -3 lines
Diff to previous 1.157 (colored)

Remove now superflous (and wrong) extern declaration for maxfiles.

Revision 1.152.4.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:32 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.152.4.1: +98 -248 lines
Diff to previous 1.152.4.1 (colored) to branchpoint 1.152 (colored)

Sync with HEAD.

Revision 1.153.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:10 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.153.2.1: +98 -248 lines
Diff to previous 1.153.2.1 (colored) to branchpoint 1.153 (colored) next main 1.154 (colored)

Sync with head.

Revision 1.157 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:04 2007 UTC (16 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.156: +92 -120 lines
Diff to previous 1.156 (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.151.6.3 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:27 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.151.6.2: +51 -173 lines
Diff to previous 1.151.6.2 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored)

Sync with HEAD.

Revision 1.156 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:39 2007 UTC (16 years, 4 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.155: +4 -3 lines
Diff to previous 1.155 (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.155 / (download) - annotate - [select for diffs], Sat Dec 8 18:36:23 2007 UTC (16 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.154: +44 -167 lines
Diff to previous 1.154 (colored)

ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.152.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:05 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.152: +9 -9 lines
Diff to previous 1.152 (colored)

Sync with HEAD.

Revision 1.153.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:04 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.153: +7 -7 lines
Diff to previous 1.153 (colored)

Sync with head.

Revision 1.132.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:03 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.132.2.5: +9 -9 lines
Diff to previous 1.132.2.5 (colored) to branchpoint 1.132 (colored)

sync with head

Revision 1.154 / (download) - annotate - [select for diffs], Tue Dec 4 18:40:21 2007 UTC (16 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base
Changes since 1.153: +7 -7 lines
Diff to previous 1.153 (colored)

Remove all the __P

Revision 1.151.6.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:36:53 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.151.6.1: +4 -4 lines
Diff to previous 1.151.6.1 (colored) to branchpoint 1.151 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.153 / (download) - annotate - [select for diffs], Tue Nov 27 09:47:16 2007 UTC (16 years, 4 months ago) by dogcow
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.152: +4 -4 lines
Diff to previous 1.152 (colored)

more VFS_STATVFS(x,y,z) fallout; change them to VFS_STATVFS(x,y). (hi, pooka!)

Revision 1.151.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:25:14 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.151: +8 -5 lines
Diff to previous 1.151 (colored)

sync with HEAD

Revision 1.132.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:49 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.132.2.4: +8 -5 lines
Diff to previous 1.132.2.4 (colored) to branchpoint 1.132 (colored)

sync with head.

Revision 1.151.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:03 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.151: +8 -5 lines
Diff to previous 1.151 (colored)

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.151.10.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:47:55 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.151: +8 -5 lines
Diff to previous 1.151 (colored) next main 1.152 (colored)

sync with head.

Revision 1.146.2.4 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:07 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.146.2.3: +8 -5 lines
Diff to previous 1.146.2.3 (colored) to branchpoint 1.146 (colored) next main 1.147 (colored)

Sync with head.

Revision 1.152 / (download) - annotate - [select for diffs], Mon Oct 8 15:12:05 2007 UTC (16 years, 6 months ago) by ad
Branch: 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
Changes since 1.151: +8 -5 lines
Diff to previous 1.151 (colored)

Merge file descriptor locking, cwdi locking and cross-call changes
from the vmlocking branch.

Revision 1.132.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:32:50 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.132.2.3: +39 -98 lines
Diff to previous 1.132.2.3 (colored) to branchpoint 1.132 (colored)

sync with head.

Revision 1.146.2.3 / (download) - annotate - [select for diffs], Mon Aug 20 21:26:02 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.146.2.2: +3 -2 lines
Diff to previous 1.146.2.2 (colored) to branchpoint 1.146 (colored)

Sync with HEAD.

Revision 1.151 / (download) - annotate - [select for diffs], Tue Jul 17 20:51:15 2007 UTC (16 years, 9 months ago) by christos
Branch: 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
Changes since 1.150: +3 -2 lines
Diff to previous 1.150 (colored)

include <compat/sys/mount.h> for MFSNAMELEN

Revision 1.146.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:18 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.146.2.1: +19 -31 lines
Diff to previous 1.146.2.1 (colored) to branchpoint 1.146 (colored)

Sync with head.

Revision 1.150 / (download) - annotate - [select for diffs], Thu Jul 12 19:41:58 2007 UTC (16 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.149: +19 -31 lines
Diff to previous 1.149 (colored)

Change compat mount code to pass do_sys_mount() kernel resident buffers.
Possibly the standard nfs code needs teaching how to set the length and
address family in order to support non-netbsd sockaddr.
There are now no active stackgap() calls in the compat tree.

Revision 1.146.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:40 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.146: +7 -55 lines
Diff to previous 1.146 (colored) next main 1.147 (colored)

Sync with head.

Revision 1.146.2.1 / (download) - annotate - [select for diffs], Sun May 27 14:35:28 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.146: +7 -55 lines
Diff to previous 1.146 (colored)

Sync with head.

Revision 1.144.2.3 / (download) - annotate - [select for diffs], Thu May 17 13:41:19 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.144.2.2: +4 -14 lines
Diff to previous 1.144.2.2 (colored) to branchpoint 1.144 (colored) next main 1.145 (colored)

sync with head.

Revision 1.149 / (download) - annotate - [select for diffs], Sat May 12 20:27:56 2007 UTC (16 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, mjf-ufs-trans-base
Changes since 1.148: +4 -14 lines
Diff to previous 1.148 (colored)

Change interface to settimeofday1() so that it can also be used from
compat code in order to avoid the stackgap.

Revision 1.144.2.2 / (download) - annotate - [select for diffs], Mon May 7 10:55:19 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.144.2.1: +5 -43 lines
Diff to previous 1.144.2.1 (colored) to branchpoint 1.144 (colored)

sync with head.

Revision 1.148 / (download) - annotate - [select for diffs], Sat Apr 28 00:03:37 2007 UTC (16 years, 11 months ago) by dogcow
Branch: MAIN
Changes since 1.147: +9 -2 lines
Diff to previous 1.147 (colored)

and unbork some more changes.

Revision 1.147 / (download) - annotate - [select for diffs], Sun Apr 22 08:29:59 2007 UTC (16 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.146: +3 -48 lines
Diff to previous 1.146 (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.144.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:52:43 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.144: +28 -28 lines
Diff to previous 1.144 (colored)

Sync with HEAD.

Revision 1.146 / (download) - annotate - [select for diffs], Sun Mar 4 11:15:04 2007 UTC (17 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.145: +4 -4 lines
Diff to previous 1.145 (colored)

- don't forget to add * to all params
- use (char *) where pointer arith is required

Revision 1.145 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:30 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.144: +28 -28 lines
Diff to previous 1.144 (colored)

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

Revision 1.132.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:38 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.132.2.2: +7 -7 lines
Diff to previous 1.132.2.2 (colored) to branchpoint 1.132 (colored)

sync with head.

Revision 1.144 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:24 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.143: +7 -7 lines
Diff to previous 1.143 (colored)

Merge newlock2 to head.

Revision 1.142.2.3 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:37 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.142.2.2: +2 -3 lines
Diff to previous 1.142.2.2 (colored) to branchpoint 1.142 (colored) next main 1.143 (colored)

Remove support for SA. Ok core@.

Revision 1.142.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:47:51 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.142.2.1: +7 -6 lines
Diff to previous 1.142.2.1 (colored) to branchpoint 1.142 (colored)

sparc MD changes.

Revision 1.132.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:45 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.132.2.1: +19 -6 lines
Diff to previous 1.132.2.1 (colored) to branchpoint 1.132 (colored)

sync with head.

Revision 1.142.4.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:51 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.142: +4 -4 lines
Diff to previous 1.142 (colored) next main 1.143 (colored)

sync with head.

Revision 1.142.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:14 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.142: +4 -4 lines
Diff to previous 1.142 (colored)

Sync with head.

Revision 1.143 / (download) - annotate - [select for diffs], Tue Nov 14 13:34:30 2006 UTC (17 years, 5 months ago) by elad
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.142: +4 -4 lines
Diff to previous 1.142 (colored)

Clean some KAUTH_GENERIC_ISSUSER usage in compat code.

Revision 1.135.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:46:23 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.135: +21 -7 lines
Diff to previous 1.135 (colored) next main 1.136 (colored)

sync with head

Revision 1.136.2.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:47 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.136.2.2: +16 -2 lines
Diff to previous 1.136.2.2 (colored) to branchpoint 1.136 (colored) next main 1.137 (colored)

sync with head.

Revision 1.142 / (download) - annotate - [select for diffs], Fri Sep 1 21:20:47 2006 UTC (17 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.141: +15 -4 lines
Diff to previous 1.141 (colored)

When calling PTRACE from an LKM, use sysent[SYS_ptrace].sy_call in case
the sys_ptrace symbol isn't present.

Revision 1.141 / (download) - annotate - [select for diffs], Wed Aug 30 23:00:06 2006 UTC (17 years, 7 months ago) by he
Branch: MAIN
Changes since 1.140: +5 -2 lines
Diff to previous 1.140 (colored)

Update for options PTRACE.

Revision 1.136.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:41 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.136.2.1: +5 -6 lines
Diff to previous 1.136.2.1 (colored) to branchpoint 1.136 (colored)

sync with head

Revision 1.140 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:09 2006 UTC (17 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.139: +4 -5 lines
Diff to previous 1.139 (colored)

Use the LWP cached credentials where sane.

Revision 1.138.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:15 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.138: +3 -3 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

Merge from HEAD.

Revision 1.139 / (download) - annotate - [select for diffs], Mon Jun 26 21:23:57 2006 UTC (17 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.138: +3 -3 lines
Diff to previous 1.138 (colored)

version the socket(2) syscall.  for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.

Revision 1.132.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:59:42 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.132: +30 -27 lines
Diff to previous 1.132 (colored)

sync with head.

Revision 1.135.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:00 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.135.6.1: +5 -3 lines
Diff to previous 1.135.6.1 (colored) to branchpoint 1.135 (colored) next main 1.136 (colored)

Sync with head.

Revision 1.136.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:28 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.136: +5 -3 lines
Diff to previous 1.136 (colored) next main 1.137 (colored)

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

Revision 1.136.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:32 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.136: +5 -3 lines
Diff to previous 1.136 (colored)

sync with head.

Revision 1.138 / (download) - annotate - [select for diffs], Mon May 15 09:19:31 2006 UTC (17 years, 11 months ago) by yamt
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: gdamore-uart
Changes since 1.137: +3 -1 lines
Diff to previous 1.137 (colored)

- include kauth.h for kauth_authorize_generic.
- wrap a long line.

Revision 1.137 / (download) - annotate - [select for diffs], Sun May 14 21:25:21 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored)

integrate kauth.

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

Sync with head.

Revision 1.136.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:28:52 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.136.4.1: +3 -3 lines
Diff to previous 1.136.4.1 (colored) to branchpoint 1.136 (colored) next main 1.137 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.136.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:48:38 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored)

Adapt to kernel authorization KPI.

Revision 1.136 / (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, elad-kernelauth-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.135: +3 -4 lines
Diff to previous 1.135 (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.135.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 09:47:03 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.135: +3 -4 lines
Diff to previous 1.135 (colored) next main 1.136 (colored)

adapt the rest of MI code.

Revision 1.135 / (download) - annotate - [select for diffs], Sat Dec 24 23:41:33 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.134: +6 -6 lines
Diff to previous 1.134 (colored)

__inline__ -> inline

Revision 1.134 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:23 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.133: +21 -21 lines
Diff to previous 1.133 (colored)

merge ktrace-lwp.

Revision 1.124.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:01:31 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.124.2.6: +12 -4 lines
Diff to previous 1.124.2.6 (colored) next main 1.125 (colored)

Sync with HEAD. Here we go again...

Revision 1.131.2.1 / (download) - annotate - [select for diffs], Sat Oct 1 10:39:27 2005 UTC (18 years, 6 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.131: +10 -4 lines
Diff to previous 1.131 (colored) next main 1.132 (colored)

Pull up following revision(s) (requested by christos in ticket #838):
	sys/compat/svr4/svr4_misc.c: revision 1.112
	sys/compat/ibcs2/ibcs2_misc.c: revision 1.74
	sys/compat/linux/common/linux_misc.c: revision 1.136
	sys/compat/irix/irix_dirent.c: revision 1.14
	sys/compat/sunos/sunos_misc.c: revision 1.132
	sys/compat/svr4_32/svr4_32_misc.c: revision 1.31
	sys/compat/sunos32/sunos32_misc.c: revision 1.30
	sys/compat/linux/common/linux_file64.c: revision 1.26
PR/29696: Joel Carnat: NetBSD freezes when accessing smbfs mounted FS with
firefox/linux due to compat getdents() call assumption that all filesystems
support cookies.

Revision 1.133 / (download) - annotate - [select for diffs], Wed Sep 14 13:49:50 2005 UTC (18 years, 7 months ago) by he
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
Changes since 1.132: +4 -2 lines
Diff to previous 1.132 (colored)

This now needs <compat/sys/signal.h> to build.

Revision 1.130.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:42 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.130: +15 -9 lines
Diff to previous 1.130 (colored) next main 1.131 (colored)

sync with -current

Revision 1.132 / (download) - annotate - [select for diffs], Tue Apr 19 19:00:25 2005 UTC (19 years ago) by christos
Branch: MAIN
CVS Tags: kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.131: +10 -4 lines
Diff to previous 1.131 (colored)

PR/29696: Joel Carnat: NetBSD freezes when accessing smbfs mounted FS with
firefox/linux due to compat getdents() call assumption that all filesystems
support cookies.

Revision 1.130.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:45 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.130: +7 -7 lines
Diff to previous 1.130 (colored) next main 1.131 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.124.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:29 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.124.2.5: +7 -7 lines
Diff to previous 1.124.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.131 / (download) - annotate - [select for diffs], Sat Feb 26 23:10:21 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.130: +7 -7 lines
Diff to previous 1.130 (colored)

nuke trailing whitespace

Revision 1.124.2.5 / (download) - annotate - [select for diffs], Sun Nov 21 13:54:35 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.124.2.4: +9 -9 lines
Diff to previous 1.124.2.4 (colored)

Adapt to branch.

Revision 1.124.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:25:59 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.124.2.3: +14 -14 lines
Diff to previous 1.124.2.3 (colored)

Fix the sync with head I botched.

Revision 1.124.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:44:05 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.124.2.2: +14 -14 lines
Diff to previous 1.124.2.2 (colored)

Sync with HEAD.

Revision 1.130 / (download) - annotate - [select for diffs], Fri Sep 17 14:11:24 2004 UTC (19 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored)

There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe

Revision 1.124.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:24 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.124.2.1: +15 -19 lines
Diff to previous 1.124.2.1 (colored)

Sync with HEAD

Revision 1.129 / (download) - annotate - [select for diffs], Sun Apr 25 06:25:52 2004 UTC (19 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.128: +4 -4 lines
Diff to previous 1.128 (colored)

Constify sreq2breq

Revision 1.128 / (download) - annotate - [select for diffs], Sun Apr 25 06:02:20 2004 UTC (19 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.127: +3 -3 lines
Diff to previous 1.127 (colored)

Constify a few read-only arrays/variables.

Revision 1.127 / (download) - annotate - [select for diffs], Thu Apr 22 10:18:03 2004 UTC (19 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.126: +9 -9 lines
Diff to previous 1.126 (colored)

Make it compile again after statvfs import.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:37 2004 UTC (20 years ago) by christos
Branch: MAIN
Changes since 1.125: +4 -4 lines
Diff to previous 1.125 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.125 / (download) - annotate - [select for diffs], Thu Aug 7 16:30:46 2003 UTC (20 years, 8 months ago) by agc
Branch: 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
Changes since 1.124: +3 -7 lines
Diff to previous 1.124 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:53 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.124: +14 -14 lines
Diff to previous 1.124 (colored)

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.124 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:44 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.123: +21 -21 lines
Diff to previous 1.123 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Jun 29 09:56:27 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.122: +9 -9 lines
Diff to previous 1.122 (colored)

More changes for providing lwpid for ktrace (sparc GENERIC built)

Revision 1.122 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:26 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.121: +14 -14 lines
Diff to previous 1.121 (colored)

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.121 / (download) - annotate - [select for diffs], Fri May 16 14:36:33 2003 UTC (20 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored)

use strlcpy
[compat/svr4_32 should have bound check for SVR4_32_AUX_ARGSIZ]

Revision 1.120 / (download) - annotate - [select for diffs], Sun Feb 23 14:37:32 2003 UTC (21 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.119: +3 -2 lines
Diff to previous 1.119 (colored)

Make updating a file's reference and use count MP-safe.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Jan 29 07:00:37 2003 UTC (21 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.118: +2 -3 lines
Diff to previous 1.118 (colored)

Cull unused variables.  Sigh.

PS - Cross compilers are cool.

Revision 1.118 / (download) - annotate - [select for diffs], Tue Jan 28 21:57:44 2003 UTC (21 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.117: +2 -23 lines
Diff to previous 1.117 (colored)

No need to pick a "default address" for mmap in compat code, since we
merely call sys_mmap() at the end anyway, and that will pick the
address for us, if it's needed.

Likewise for checking if /dev/zero is being mapped.

Revision 1.117 / (download) - annotate - [select for diffs], Sat Jan 18 08:36:15 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.116: +145 -124 lines
Diff to previous 1.116 (colored)

Merge the nathanw_sa branch.

Revision 1.110.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:38:09 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.3: +3 -3 lines
Diff to previous 1.110.2.3 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.108.2.12 / (download) - annotate - [select for diffs], Tue Sep 17 21:19:06 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.108.2.11: +1 -1 lines
Diff to previous 1.108.2.11 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)

Catch up to -current.

Revision 1.116 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 7 months ago) by gehenna
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.115: +3 -3 lines
Diff to previous 1.115 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.110.2.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:43:29 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.2: +4 -3 lines
Diff to previous 1.110.2.2 (colored) to branchpoint 1.110 (colored)

sync kqueue branch with HEAD

Revision 1.108.2.11 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:23 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.10: +4 -3 lines
Diff to previous 1.108.2.10 (colored) to branchpoint 1.108 (colored)

Catch up to -current.

Revision 1.114.4.2 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:02 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.114.4.1: +4 -3 lines
Diff to previous 1.114.4.1 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored)

catch up with -current.

Revision 1.108.2.10 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:04 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.9: +2 -3 lines
Diff to previous 1.108.2.9 (colored) to branchpoint 1.108 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:12 2002 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.114: +4 -3 lines
Diff to previous 1.114 (colored)

Add kernel support for having userland provide the signal trampoline:

* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.

Revision 1.110.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:44:43 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.1: +20 -20 lines
Diff to previous 1.110.2.1 (colored) to branchpoint 1.110 (colored)

catch up with -current on kqueue branch

Revision 1.108.2.9 / (download) - annotate - [select for diffs], Fri Jun 21 05:52:33 2002 UTC (21 years, 10 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.108.2.8: +15 -15 lines
Diff to previous 1.108.2.8 (colored) to branchpoint 1.108 (colored)

LWPify socket syscalls.

Revision 1.108.2.8 / (download) - annotate - [select for diffs], Wed May 29 21:32:56 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.7: +3 -2 lines
Diff to previous 1.108.2.7 (colored) to branchpoint 1.108 (colored)

#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.114.4.1 / (download) - annotate - [select for diffs], Thu May 16 13:13:10 2002 UTC (21 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored)

Get rid of iszerodev. Use the 'zerodev' (dev_t for /dev/zero).

Revision 1.108.2.7 / (download) - annotate - [select for diffs], Mon Apr 1 07:44:45 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.6: +20 -20 lines
Diff to previous 1.108.2.6 (colored) to branchpoint 1.108 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.114 / (download) - annotate - [select for diffs], Sat Mar 16 20:43:56 2002 UTC (22 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.113: +20 -20 lines
Diff to previous 1.113 (colored)

make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.

Revision 1.108.2.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:12:59 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.5: +2 -2 lines
Diff to previous 1.108.2.5 (colored) to branchpoint 1.108 (colored)

Catch up to -current.

Revision 1.108.2.5 / (download) - annotate - [select for diffs], Fri Jan 11 23:38:50 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.4: +64 -2 lines
Diff to previous 1.108.2.4 (colored) to branchpoint 1.108 (colored)

More catchup.

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:52:10 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.110: +65 -2 lines
Diff to previous 1.110 (colored)

Sync kqueue branch with -current.

Revision 1.108.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:29:09 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.3: +2 -4 lines
Diff to previous 1.108.2.3 (colored) to branchpoint 1.108 (colored)

Catch up to -current.

Revision 1.113 / (download) - annotate - [select for diffs], Thu Jan 3 01:11:28 2002 UTC (22 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.112: +64 -2 lines
Diff to previous 1.112 (colored)

move the COMPAT_SUNOS SO_BROADCAST hack out of uipc_socket.c into the
compat/sunos code.  besides being cleaner this allows the sunos LKM
to properly work without any special kernel hacks.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Dec 2 00:35:25 2001 UTC (22 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.111: +2 -4 lines
Diff to previous 1.111 (colored)

Don't define COMPAT_SUNOS here. It is defined in opt_compat_sunos.h
and <sys/ioctl.h> and <sys/tty.h> include it properly.

XXX Is this needed for LKM?

Revision 1.108.2.3 / (download) - annotate - [select for diffs], Thu Nov 15 10:50:59 2001 UTC (22 years, 5 months ago) by pk
Branch: nathanw_sa
Changes since 1.108.2.2: +132 -111 lines
Diff to previous 1.108.2.2 (colored) to branchpoint 1.108 (colored)

LWP system call signature conversion.

Revision 1.108.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:13:23 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.1: +4 -1 lines
Diff to previous 1.108.2.1 (colored) to branchpoint 1.108 (colored)

Catch up to -current.

Revision 1.111 / (download) - annotate - [select for diffs], Tue Nov 13 02:09:18 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.110: +4 -1 lines
Diff to previous 1.110 (colored)

add RCSIDs (including regeneration of files as appropriate)

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Wed Sep 26 15:28:07 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

* add a VCLONED vnode flag that indicates a vnode representing a cloned
  device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
  to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
  clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
  to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
  clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
  to the specinfo of a cloned vnode. could possibly redirect getattr to
  the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
  original device, and reassociates it with the specified dev_t. to be
  used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
  to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
  when debugging race conditions that still exist wrt. locking and
  revoking vnodes.
* make the locking state of a vnode consistent when passed to
  d_open and d_close (unlocked). locked would be better, but has
  some deadlock issues

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:00:26 2001 UTC (22 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108: +7 -6 lines
Diff to previous 1.108 (colored)

Catch up to -current.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jun 14 20:32:45 2001 UTC (22 years, 10 months ago) by thorpej
Branch: 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
Changes since 1.109: +6 -5 lines
Diff to previous 1.109 (colored)

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.109 / (download) - annotate - [select for diffs], Wed May 30 11:37:30 2001 UTC (22 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored)

use _KERNEL_OPT.

Revision 1.101.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 13:29:53 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.101.2.2: +2 -2 lines
Diff to previous 1.101.2.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.108 / (download) - annotate - [select for diffs], Mon Feb 12 19:49:20 2001 UTC (23 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Cast 32bit sunos_nfs_arg member to (char *)(long) to avoid warning
after sunos.h change (cast is safe; a SunOS binary will pas a 32 bit
pointer).

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:08:43 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.101.2.1: +14 -12 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored)

Sync with HEAD.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Dec 1 19:25:10 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.106: +3 -1 lines
Diff to previous 1.106 (colored)

make LKM safe

Revision 1.106 / (download) - annotate - [select for diffs], Fri Dec 1 12:28:35 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.105: +12 -12 lines
Diff to previous 1.105 (colored)

add e_path (emulation path) to struct emul, which replaces emulation-specific
*_emul_path variables

change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation

remove no longer needed header files

add e_flags and e_syscall to struct emul; these are unsed and empty for now

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:08:37 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.101: +15 -18 lines
Diff to previous 1.101 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.105 / (download) - annotate - [select for diffs], Wed Jun 28 15:39:35 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.104: +1 -3 lines
Diff to previous 1.104 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.104 / (download) - annotate - [select for diffs], Thu Mar 30 11:27:19 2000 UTC (24 years ago) by augustss
Branch: 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
Changes since 1.103: +13 -13 lines
Diff to previous 1.103 (colored)

Kill register declarations.

Revision 1.103 / (download) - annotate - [select for diffs], Tue Mar 28 23:57:34 2000 UTC (24 years ago) by simonb
Branch: MAIN
Changes since 1.102: +1 -2 lines
Diff to previous 1.102 (colored)

Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Mar 26 20:42:42 2000 UTC (24 years ago) by kleink
Branch: MAIN
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

Merge parts of chs-ubc2 into the trunk:
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
  make them type-generic, which is necessary i.e. to operate on file offsets
  without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
  integral type (paddr_t, vaddr_t).

Originally done by Chuck Silvers, updated by myself.

Revision 1.100.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:09:12 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.100: +32 -14 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Sync w/ -current.

Revision 1.101 / (download) - annotate - [select for diffs], Wed May 5 20:01:05 1999 UTC (24 years, 11 months ago) by thorpej
Branch: 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
Changes since 1.100: +32 -14 lines
Diff to previous 1.100 (colored)

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.100 / (download) - annotate - [select for diffs], Mon Mar 22 17:30:37 1999 UTC (25 years, 1 month ago) by sommerfe
Branch: 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
Changes since 1.99: +1 -33 lines
Diff to previous 1.99 (colored)

Use regular system fchroot, now that we have it.

Revision 1.99 / (download) - annotate - [select for diffs], Tue Feb 9 20:29:24 1999 UTC (25 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.98: +10 -6 lines
Diff to previous 1.98 (colored)

Const poisoning and CHECK_ALT_CREAT fixes

Revision 1.98 / (download) - annotate - [select for diffs], Mon Dec 21 10:34:59 1998 UTC (25 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.97: +1 -4 lines
Diff to previous 1.97 (colored)

g/c SA_USERTRAMP (ok'd by pk)

Revision 1.97 / (download) - annotate - [select for diffs], Sat Dec 19 16:27:10 1998 UTC (25 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.96: +3 -1 lines
Diff to previous 1.96 (colored)

get "opt_compat_xxx.h" includes out of <sys/signal.h>

Revision 1.96 / (download) - annotate - [select for diffs], Mon Sep 14 21:05:46 1998 UTC (25 years, 7 months ago) by pk
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

Fix copyout() argument switch.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Sep 13 22:28:16 1998 UTC (25 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.94: +76 -39 lines
Diff to previous 1.94 (colored)

Signal compat: sunos sigset_t conversions;
new sunos_sigvec() & sunos_sigpending()

Revision 1.94 / (download) - annotate - [select for diffs], Tue Sep 8 20:02:52 1998 UTC (25 years, 7 months ago) by rvb
Branch: MAIN
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored)

ufs_readdir no longer checks if vp->v_type != VDIR so
the individual emulated readdirs must check.
Since netbsd and freebsd return EINVAL for the error
and I don't know what the other platforms do, return
EINVAL for them too.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Aug 29 17:01:16 1998 UTC (25 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

move <vm/vm_swap.h> to <sys/swap.h>. <vm/vm_swap.h> still works for now (goes away later)

Revision 1.92 / (download) - annotate - [select for diffs], Sun Aug 9 20:37:55 1998 UTC (25 years, 8 months ago) by perry
Branch: MAIN
Changes since 1.91: +12 -12 lines
Diff to previous 1.91 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.91 / (download) - annotate - [select for diffs], Fri Jun 26 10:13:14 1998 UTC (25 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored)

Include NFSSERVER option header opt_nfsserver.h.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Mar 4 09:06:52 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.89: +4 -4 lines
Diff to previous 1.89 (colored)

Make this compile again.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Mar 3 13:46:42 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.88: +4 -3 lines
Diff to previous 1.88 (colored)

Only free cookiebuf when sure that the vop actually allocated it.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:45 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.87: +7 -12 lines
Diff to previous 1.87 (colored)

Merge with Lite2 + local changes

Revision 1.87 / (download) - annotate - [select for diffs], Thu Feb 19 00:43:56 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.86: +3 -1 lines
Diff to previous 1.86 (colored)

Include the NFS option header.

Revision 1.86.2.2 / (download) - annotate - [select for diffs], Tue Oct 21 00:58:42 1997 UTC (26 years, 6 months ago) by fvdl
Branch: netbsd-1-3
Changes since 1.86.2.1: +1260 -0 lines
Diff to previous 1.86.2.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Update for new msync (== __msync13), use flags

Revision 1.86.2.1, Tue Oct 21 00:58:41 1997 UTC (26 years, 6 months ago) by fvdl
Branch: netbsd-1-3
Changes since 1.86: +0 -1260 lines
FILE REMOVED

file sunos_misc.c was added on branch netbsd-1-3 on 1997-10-21 00:58:42 +0000

Revision 1.86 / (download) - annotate - [select for diffs], Tue Oct 21 00:58:41 1997 UTC (26 years, 6 months ago) by fvdl
Branch: 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
Branch point for: netbsd-1-3
Changes since 1.85: +7 -9 lines
Diff to previous 1.85 (colored)

Update for new msync (== __msync13), use flags

Revision 1.85 / (download) - annotate - [select for diffs], Sun Oct 19 18:48:00 1997 UTC (26 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.84: +5 -4 lines
Diff to previous 1.84 (colored)

Simplify use of round_page() like in other emulations.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Oct 19 12:52:19 1997 UTC (26 years, 6 months ago) by carrel
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

cast to void * not caddr_t

Revision 1.80.4.2 / (download) - annotate - [select for diffs], Tue Oct 14 10:21:45 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.80.4.1: +7 -2 lines
Diff to previous 1.80.4.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Oct 10 22:16:15 1997 UTC (26 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

Fix braino in my interpretation of the eof flag to VOP_READDIR.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Oct 10 01:47:41 1997 UTC (26 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.81: +8 -3 lines
Diff to previous 1.81 (colored)

Signal error when getting a 64 bit offset cookie that can't be stored
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Mon Sep 8 23:17:40 1997 UTC (26 years, 7 months ago) by thorpej
Branch: thorpej-signal
Changes since 1.81: +12 -13 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Significantly restructure the way signal state for a process is stored.
Rather than using bitmasks to redundantly store the information kept
in the process's sigacts (because the sigacts was kept in the u-area),
hang sigacts directly off the process, and access it directly.

Simplify signal setup code tremendously by storing information in
the sigacts as an array of struct sigactions, rather than in a different
format, since userspace uses sigactions.

Make sigacts sharable by adding reference counting.

Revision 1.80.4.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:12:34 1997 UTC (26 years, 8 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.80: +3 -2 lines
Diff to previous 1.80 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Aug 4 09:48:10 1997 UTC (26 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base
Branch point for: thorpej-signal
Changes since 1.80: +3 -2 lines
Diff to previous 1.80 (colored)

Fix "missing entries" bug when reading large directories: When reading a
directory and running out of space in the dest buffer, off should point to the
current entry (which was not saved) and not to the next.
I discovered this bug using linux and SunOS emulation over NFS, but seems to
affect other emulations as well.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jun 13 19:08:25 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.79: +1 -18 lines
Diff to previous 1.79 (colored)

Garbage-collect sunos_sys_swapon(); it is not needed.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Jun 12 19:18:15 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.78: +19 -1 lines
Diff to previous 1.78 (colored)

bring mrg-vm-swap2 onto mainline.

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Sun Jun 1 14:14:12 1997 UTC (26 years, 10 months ago) by mrg
Branch: mrg-vm-swap2
Changes since 1.78.2.1: +1272 -0 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

implement sunos_sys_swapon().

Revision 1.78.2.1, Thu May 8 16:19:54 1997 UTC (26 years, 11 months ago) by mrg
Branch: mrg-vm-swap2
Changes since 1.78: +0 -1254 lines
FILE REMOVED

file sunos_misc.c was added on branch mrg-vm-swap2 on 1997-06-01 14:14:12 +0000

Revision 1.78 / (download) - annotate - [select for diffs], Thu May 8 16:19:54 1997 UTC (26 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: mrg-vm-swap2-base
Branch point for: mrg-vm-swap2
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Pass the vnode type to vaccess(), and use it when checking VEXEC.  Make sure
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.

Revision 1.77 / (download) - annotate - [select for diffs], Thu May 8 10:57:27 1997 UTC (26 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

VEXEC -> VLOOKUP, as appropriate.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jan 31 02:18:54 1997 UTC (27 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored)

NFSCLIENT -> NFS

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Tue Jan 14 21:14:41 1997 UTC (27 years, 3 months ago) by thorpej
Branch: thorpej-setroot
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

Snapshot of work-in-progress, committed to private branch.

These changes implement machine-independent root device and file system
selection.  Notable features:

	- All ports behave in a consistent manner regarding root
	  device selection.
	- No more "options GENERIC"; all kernels have the ability
	  to boot with RB_ASKNAME to select root device and file system
	  type.
	- Root file system type can be wildcarded; a machine-independent
	  function will try all possible file systems for the selected
	  root device until one succeeds.
	- If the root file system fails to mount, the operator will
	  be given the chance to select a new root device and file
	  system type, rather than having the machine simply panic.
	- nfs_mountroot() no longer panics if any part of the NFS
	  mount process fails; it now returns an error, giving the
	  operator a chance to recover.
	- New, more consistent, config(8) grammar.  The constructs:

		config netbsd swap generic
		config netbsd root on nfs

	  have been replaced with:

		config netbsd root on ? type ?
		config netbsd root on ? type nfs

	  Additionally, the operator may select or wildcard root file
	  system type in the kernel configuration file:

		config netbsd root on cd0a type cd9660

	  config(8) now requires that a "root" specification be
	  made.  "root" may be wired down or wildcarded.  "swap" and
	  "dump" specifications are optional, and follow previous
	  semantics.

	- config(8) has a new "file-system" keyword, used to configure
	  file systems into the kernel.  Eventually, this will be used
	  to generate the default vfssw[].

	- "options NFSCLIENT" is obsolete, and is replaced by
	  "file-system NFS".  "options NFSSERVER" still exists, since
	  NFS server support is independent of the NFS file system
	  client.

	- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
	  will be removed; all information is now generated by config(8).

As of this commit, all ports except arm32 have been updated to use
the new setroot().  Only SPARC, i386, and Alpha ports have been
tested at this time.  Port masters should test these changes on their
ports, and report any problems back to me.

More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().

Revision 1.75 / (download) - annotate - [select for diffs], Sat Dec 28 22:37:03 1996 UTC (27 years, 3 months ago) by cjs
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

This recently stopped compiling due to a warning about const being
dropped. This fix suggested by cgd.

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Tue Dec 10 08:48:54 1996 UTC (27 years, 4 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.65: +36 -8 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

From trunk:
Do execv() and execve() path name translation consistently across
emulations.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Oct 13 01:16:19 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.73: +10 -10 lines
Diff to previous 1.73 (colored)

Remove STACKGAPBASE dependencies.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Oct 13 00:56:02 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.72: +2 -1 lines
Diff to previous 1.72 (colored)

catch up with Jason's changes.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Sep 7 12:40:48 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.71: +1 -131 lines
Diff to previous 1.71 (colored)

Implement poll(2).

Revision 1.71 / (download) - annotate - [select for diffs], Tue Sep 3 03:12:35 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.70: +27 -18 lines
Diff to previous 1.70 (colored)

Define execv() and execve() consistently across emulations.
Do path name translation.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Aug 30 23:07:51 1996 UTC (27 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.69: +29 -1 lines
Diff to previous 1.69 (colored)

add obsolete stime(2)

Revision 1.69 / (download) - annotate - [select for diffs], Mon Aug 26 22:49:43 1996 UTC (27 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.68: +20 -1 lines
Diff to previous 1.68 (colored)

Implement sunos_sys_execve().  The previous code simply called
sys_execve() without doing an alternate patch check, which was
incorrect.  Bug pointed out by Krister Walfridsson <cato@df.lth.se>
on port-sparc@NetBSD.ORG.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Aug 11 03:16:26 1996 UTC (27 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.67: +29 -20 lines
Diff to previous 1.67 (colored)

update sunos_sys_reboot() to actually work again.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Aug 9 10:30:23 1996 UTC (27 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.66: +12 -10 lines
Diff to previous 1.66 (colored)

Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jun 14 22:21:26 1996 UTC (27 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.65: +1 -5 lines
Diff to previous 1.65 (colored)

avoid unnecessary checks of m_get/MGET/etc.'s return values.  When
they're called with M_WAIT, they are defined to never return NULL.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Apr 22 01:44:31 1996 UTC (28 years ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.64: +1 -2 lines
Diff to previous 1.64 (colored)

remove include of <sys/cpu.h>

Revision 1.64 / (download) - annotate - [select for diffs], Thu Mar 14 19:33:47 1996 UTC (28 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.63: +43 -31 lines
Diff to previous 1.63 (colored)

Bring prototypes into scope and fix compiler warnings.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Feb 28 01:41:25 1996 UTC (28 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

dir => dirent

Revision 1.62 / (download) - annotate - [select for diffs], Sun Feb 25 13:27:01 1996 UTC (28 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.61: +5 -1 lines
Diff to previous 1.61 (colored)

If NFS `rsize' is specified, set `readdirsize' too.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Feb 18 14:46:25 1996 UTC (28 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.60: +37 -5 lines
Diff to previous 1.60 (colored)

Adapt compat NFS mount code to NFSv3.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jan 5 16:53:14 1996 UTC (28 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.59: +17 -1 lines
Diff to previous 1.59 (colored)

Implement vhangup(); more or less as suggested in PR#1560 (matthew green).
I'm vrele'ing s_ttyvp here too, so sys_exit() won't have to go over it
again.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Dec 14 18:44:44 1995 UTC (28 years, 4 months ago) by ghudson
Branch: MAIN
Changes since 1.58: +3 -25 lines
Diff to previous 1.58 (colored)

Reverse pk's changes from 1.57; the faked cookies are not valid,
and are no longer necessary now that NFS provides cookies.

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Tue Nov 7 22:34:16 1995 UTC (28 years, 5 months ago) by gwr
Branch: netbsd-1-1
CVS Tags: netbsd-1-1-RELEASE, netbsd-1-1-PATCH001
Changes since 1.56.2.1: +2 -2 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

From Head: ufs ==> ffs

Revision 1.58 / (download) - annotate - [select for diffs], Tue Nov 7 22:27:33 1995 UTC (28 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

ufs ==> ffs

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Fri Oct 13 19:57:44 1995 UTC (28 years, 6 months ago) by pk
Branch: netbsd-1-1
Changes since 1.56: +25 -3 lines
Diff to previous 1.56 (colored)

Update from trunk: fake cookies

Revision 1.57 / (download) - annotate - [select for diffs], Wed Oct 11 12:50:23 1995 UTC (28 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.56: +25 -3 lines
Diff to previous 1.56 (colored)

Gets NFS-mounted /emul/sunos going again by faking readdir cookies if
not supported by VOP_READDIR().

Revision 1.56 / (download) - annotate - [select for diffs], Mon Oct 9 11:24:12 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base
Branch point for: netbsd-1-1
Changes since 1.55: +40 -25 lines
Diff to previous 1.55 (colored)

Use cookies for directory offset, mostly from Greg Hudson.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Oct 7 06:27:33 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.54: +116 -103 lines
Diff to previous 1.54 (colored)

Prefix names of system call implementation functions with `sys_'.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 19 22:42:04 1995 UTC (28 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +106 -68 lines
Diff to previous 1.53 (colored)

Make system calls conform to a standard prototype and bring those
prototypes into scope.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 15 17:28:02 1995 UTC (28 years, 8 months ago) by gwr
Branch: MAIN
Changes since 1.52: +11 -11 lines
Diff to previous 1.52 (colored)

Catch up with renamed SA_DISABLE flag and update
sunos_sigvec to allow the new SA_RESETHAND flag.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jul 5 13:14:09 1995 UTC (28 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Start using sunos_sigvec().

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jun 25 13:11:44 1995 UTC (28 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored)

* Don't include sys/exec.h explicitly--it's not protected against multiple
  inclusions and compat_util.h now includes it.
* Declare struct emul *e=p->p_emul in a couple of places so we can use
  STACKGAPBASE macro (should this macro be modified to take a struct
  emul * or struct proc * parameter?).
* Declare extern struct emul emul_sunos for sunos_sigvec's comparison.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 24 20:22:46 1995 UTC (28 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.49: +75 -17 lines
Diff to previous 1.49 (colored)

Use compat_util.[ch]

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jun 18 14:46:48 1995 UTC (28 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jun 11 22:33:54 1995 UTC (28 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.47: +53 -4 lines
Diff to previous 1.47 (colored)

Go with the flow; use `/emul/sunos' pseudo-root (from Matthew Green).
Note: sunos_stat() and sunos_lstat() were added too.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Apr 27 12:05:40 1995 UTC (28 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.46: +6 -5 lines
Diff to previous 1.46 (colored)

Try to make the reboot system call compile under sun3 with RB_STRING
support [not tested]
Add files.sunos
Rename system call switch table file from sunos_init_sysent.c to sunos_sysent.c
like other emulations.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Apr 26 23:12:02 1995 UTC (28 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.45: +21 -21 lines
Diff to previous 1.45 (colored)

Make sunos_reboot(RB_STRING,"...") work for sun3.
Could be made to work for sparc too.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Apr 23 01:00:46 1995 UTC (29 years ago) by briggs
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Fix compiler error in sunos_reboot().

Revision 1.44 / (download) - annotate - [select for diffs], Sat Apr 22 23:45:29 1995 UTC (29 years ago) by christos
Branch: MAIN
Changes since 1.43: +64 -1 lines
Diff to previous 1.43 (colored)

Added sunos_reboot().

Revision 1.43 / (download) - annotate - [select for diffs], Tue Mar 21 13:34:15 1995 UTC (29 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Update to use timer{add,sub}().

Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 9 12:06:14 1995 UTC (29 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

copy*str() should use size_t.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 17 19:22:16 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

timevaladd -> __timeradd (AGAIN)

Revision 1.40 / (download) - annotate - [select for diffs], Fri Dec 16 19:01:43 1994 UTC (29 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored)

correct ansi glitch

Revision 1.39 / (download) - annotate - [select for diffs], Thu Dec 15 09:41:36 1994 UTC (29 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.38: +6 -5 lines
Diff to previous 1.38 (colored)

mode/flags confusion in sunos_open().

Revision 1.38 / (download) - annotate - [select for diffs], Sun Dec 11 17:56:21 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Use __timeradd(), not timervaladd().

Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 30 09:40:23 1994 UTC (29 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.36: +19 -0 lines
Diff to previous 1.36 (colored)

Convert SunOS IP multicast socket options.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Nov 23 07:05:20 1994 UTC (29 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.35: +9 -1 lines
Diff to previous 1.35 (colored)

m68k does not have PT_{SET,GET}FPREGS

Revision 1.35 / (download) - annotate - [select for diffs], Sun Nov 20 21:31:12 1994 UTC (29 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +163 -1 lines
Diff to previous 1.34 (colored)

ptrace from chs+@CS.cmu.edu, poll from christos

Revision 1.34 / (download) - annotate - [select for diffs], Mon Nov 14 07:33:48 1994 UTC (29 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.33: +18 -11 lines
Diff to previous 1.33 (colored)

fix sunos_mmap

Revision 1.33 / (download) - annotate - [select for diffs], Tue Oct 25 23:03:27 1994 UTC (29 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.32: +221 -384 lines
Diff to previous 1.32 (colored)

rename, new syscall interface, etc.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 20 04:47:46 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.31: +28 -28 lines
Diff to previous 1.31 (colored)

pay a small amount of lip service to the new syscall args mechanism.
In reality, none of these will compile.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Sep 28 00:41:28 1994 UTC (29 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

use STACKGAPBASE

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 29 06:30:20 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 22 08:24:53 1994 UTC (29 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

sun_mount: fill in one more field.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 15 19:38:05 1994 UTC (29 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

async_daemon only if NFSCLIENT

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 10 09:26:18 1994 UTC (29 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.26: +24 -18 lines
Diff to previous 1.26 (colored)

Adapt to 4.4-lite.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jun 8 11:19:04 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Minor change.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jun 6 06:57:59 1994 UTC (29 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

tricky

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 24 02:15:18 1994 UTC (29 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

maxfdescs -> maxfiles

Revision 1.23 / (download) - annotate - [select for diffs], Sat May 21 08:47:25 1994 UTC (29 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.22: +2 -8 lines
Diff to previous 1.22 (colored)

iszerodev

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 19 22:11:54 1994 UTC (29 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +9 -11 lines
Diff to previous 1.21 (colored)

fix uname after sysctl

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 5 09:36:23 1994 UTC (29 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

p->p_sig -> p->p_siglist

Revision 1.20 / (download) - annotate - [select for diffs], Thu May 5 02:46:58 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

fix my forgetfulness; from gwr

Revision 1.19 / (download) - annotate - [select for diffs], Wed May 4 01:38:25 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

expand the rlimit struct, kill last vestiges of off_t bogosity.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Apr 29 04:41:16 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

kill syscall name aliases. no user-visible changes

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 26 19:50:37 1994 UTC (29 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.16: +42 -1 lines
Diff to previous 1.16 (colored)

SunOS's RLIMIT_NOFILE is different: add sun_[gs]rlimit().

Revision 1.16 / (download) - annotate - [select for diffs], Sun Apr 24 11:37:49 1994 UTC (30 years ago) by deraadt
Branch: MAIN
Changes since 1.15: +15 -25 lines
Diff to previous 1.15 (colored)

make sunos mount(2) work again

Revision 1.15 / (download) - annotate - [select for diffs], Sat Apr 2 08:32:56 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

sickness to get SunOS mmap right

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 27 09:08:02 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.13: +12 -55 lines
Diff to previous 1.13 (colored)

expand uid_t/gid_t/off_t

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 3 14:15:25 1994 UTC (30 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.12: +8 -0 lines
Diff to previous 1.12 (colored)

DoH!

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 3 14:08:25 1994 UTC (30 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.11: +49 -1 lines
Diff to previous 1.11 (colored)

first cut at a SUNOS_COMPAT sysconf() system call.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 20 23:24:03 1994 UTC (30 years, 2 months ago) by chopps
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

place conditional around sun_nfssvc.

Revision 1.9.2.10 / (download) - annotate - [select for diffs], Sun Jan 23 00:05:21 1994 UTC (30 years, 3 months ago) by deraadt
Changes since 1.9.2.9: +3 -1 lines
Diff to previous 1.9.2.9 (colored) next main 1.10 (colored)

make sun_misc compile without NFSSERVER. thanks to
Niklas Hallqvist <niklas@appli.se>

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 12 20:43:22 1993 UTC (30 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +267 -4 lines
Diff to previous 1.9 (colored)

m68k/sparc sunos binary compatibility code, pulled down from magnum branch
for consumption by the m68k masses

Revision 1.9.2.9 / (download) - annotate - [select for diffs], Wed Dec 1 15:19:57 1993 UTC (30 years, 4 months ago) by pk
Changes since 1.9.2.8: +24 -1 lines
Diff to previous 1.9.2.8 (colored)

Introduced sun_mknod() which also deals with FIFOs (ie. `mknod xxx p' on SunOS).

Revision 1.9.2.8 / (download) - annotate - [select for diffs], Tue Nov 30 20:20:20 1993 UTC (30 years, 4 months ago) by deraadt
Changes since 1.9.2.7: +65 -42 lines
Diff to previous 1.9.2.7 (colored)

impliment fstatfs() and statfs() better

Revision 1.9.2.7 / (download) - annotate - [select for diffs], Sat Nov 27 08:21:07 1993 UTC (30 years, 4 months ago) by deraadt
Changes since 1.9.2.6: +13 -1 lines
Diff to previous 1.9.2.6 (colored)

very rudimentary exportfs(2) support, ie. "return 0"

Revision 1.9.2.6 / (download) - annotate - [select for diffs], Sat Nov 27 03:10:31 1993 UTC (30 years, 4 months ago) by deraadt
Changes since 1.9.2.5: +70 -1 lines
Diff to previous 1.9.2.5 (colored)

statfs(2) and fstatfs(2) support. `df' now works.

Revision 1.9.2.5 / (download) - annotate - [select for diffs], Sat Nov 27 02:20:41 1993 UTC (30 years, 4 months ago) by deraadt
Changes since 1.9.2.4: +10 -3 lines
Diff to previous 1.9.2.4 (colored)

add vhangup(2)
generalize m68k support for /dev/zero..

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Fri Nov 26 23:51:54 1993 UTC (30 years, 4 months ago) by deraadt
Changes since 1.9.2.3: +15 -1 lines
Diff to previous 1.9.2.3 (colored)

add real wimpy quotactl(2) emulation

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Fri Nov 26 13:38:44 1993 UTC (30 years, 4 months ago) by deraadt
Changes since 1.9.2.2: +27 -0 lines
Diff to previous 1.9.2.2 (colored)

add basically bogus ustat(2) support.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Fri Nov 26 13:29:34 1993 UTC (30 years, 4 months ago) by deraadt
Changes since 1.9.2.1: +36 -0 lines
Diff to previous 1.9.2.1 (colored)

nfssvc(2) system call emulation. might work, might not -- have to
wait for exportfs(2) support for mountd..

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Fri Nov 26 12:07:43 1993 UTC (30 years, 4 months ago) by deraadt
Changes since 1.9: +53 -1 lines
Diff to previous 1.9 (colored)

added mount(2) nfs support

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 22 22:54:48 1993 UTC (30 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

moved from arch/sparc/sunos to compat/sunos

Revision 1.8 / (download) - annotate - [select for diffs], Sat Nov 20 03:08:16 1993 UTC (30 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +97 -3 lines
Diff to previous 1.7 (colored)

new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
some from Markus.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 12 03:23:51 1993 UTC (30 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

specdev.h moves

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 10 11:46:38 1993 UTC (30 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

silly typo

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 10 10:14:19 1993 UTC (30 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

support both sun3 & sparc concepts of minor/major #'s for /dev/zero

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 15 11:28:29 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +65 -67 lines
Diff to previous 1.3 (colored)

fix sun_getdents()
fix sun_mmap()
Note: delete the "struct dirent" in here when sys/dirent.h is created.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 13 02:31:47 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +9 -1 lines
Diff to previous 1.2 (colored)

Add a stub auditsys() system call that does nothing.
SunOS /sbin/fsck calls it..

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 11 02:44:08 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +10 -3 lines
Diff to previous 1.1 (colored)

various changes, suffice to say that 4.4 syscalls do not look like ours

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 2 10:24:40 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN

Chris Torek's sparc port. Missing lots of things.

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>