The NetBSD Project

CVS log for src/sys/compat/linux/common/linux_file64.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.67 / (download) - annotate - [select for diffs], Thu Nov 25 02:27:08 2021 UTC (14 months ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.66: +132 -24 lines
Diff to previous 1.66 (colored)

- Add compat_linux statx(2) syscall.
- The AT_EMPTY_PATH processing from the modification of
  sys/compat/linux/common/linux_file64.c r1.63 has been separated, and made
  common to linux_statat(), so that it can be used not only by
  linux32_sys_fstatat64() but also by other *statat() variants.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Nov 25 02:09:23 2021 UTC (14 months ago) by ryo
Branch: MAIN
Changes since 1.65: +0 -0 lines
Diff to previous 1.65 (colored)

rename bsd_to_linux_stat() to bsd_to_linux_stat64() to avoid confusion.
There is a static function with the same name in linux/common/linux_file.c.

NFC.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Nov 25 02:08:55 2021 UTC (14 months ago) by ryo
Branch: MAIN
Changes since 1.64: +7 -7 lines
Diff to previous 1.64 (colored)

rename bsd_to_linux_stat() to bsd_to_linux_stat64() to avoid confusion.
There is a static function with the same name in linux/common/linux_file.c.

NFC.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Sep 23 06:56:27 2021 UTC (16 months, 1 week ago) by ryo
Branch: MAIN
Changes since 1.63: +4 -2 lines
Diff to previous 1.63 (colored)

add support COMPAT_LINUX for aarch64

Revision 1.63 / (download) - annotate - [select for diffs], Tue Sep 21 09:24:15 2021 UTC (16 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.62: +35 -3 lines
Diff to previous 1.62 (colored)

linux_sys_fstatat64: Add support for AT_EMPTY_PATH flag.

This is required for rtld shipped with glibc 2.33.

Now, userland of Fedora 34 is working fine on NetBSD/amd64.

Revision 1.59.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:15 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.59.4.1: +4 -2 lines
Diff to previous 1.59.4.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.55.14.2 / (download) - annotate - [select for diffs], Tue Jan 21 19:23:37 2020 UTC (3 years ago) by martin
Branch: netbsd-7-1
Changes since 1.55.14.1: +4 -2 lines
Diff to previous 1.55.14.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Pull up the following, requested by christos in ticket #1720:

	sys/compat/common/kern_sig_43.c				1.36
	sys/compat/linux/arch/amd64/linux_machdep.c		1.59
	sys/compat/linux/common/linux_fcntl.h			1.18
	sys/compat/linux/common/linux_file64.c			1.62
	sys/compat/linux/common/linux_ipc.c			1.57
	sys/compat/linux/common/linux_misc.c			1.243
	sys/compat/linux/common/linux_signal.c			1.81
	sys/compat/linux/common/linux_socket.c			1.149 (patch)
	sys/compat/linux/common/linux_socket.h			1.24
	sys/compat/linux/common/linux_statfs.h			1.7
	sys/compat/linux/common/linux_termios.c			1.38
	sys/compat/linux/common/linux_termios.h			1.22
	sys/compat/linux32/common/linux32_dirent.c		1.20
	sys/compat/linux32/common/linux32_ioctl.c		1.14
	sys/compat/linux32/common/linux32_misc.c		1.27
	sys/compat/linux32/common/linux32_signal.c		1.20
	sys/compat/linux32/common/linux32_sysinfo.c		1.8
	sys/compat/linux32/common/linux32_termios.c		1.15
	sys/compat/linux32/common/linux32_utsname.c		1.10
	sys/compat/netbsd32/netbsd32_compat_20.c		1.39
	sys/compat/netbsd32/netbsd32_compat_43.c		1.59
	sys/compat/netbsd32/netbsd32_compat_50.c		1.44
	sys/compat/ossaudio/ossaudio.c				1.75
	sys/kern/sysv_shm.c					1.138
	sys/miscfs/procfs/procfs_linux.c			1.75 (patch)
	sys/sys/shm.h						1.54 (patch)

Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Tue Jan 21 19:19:16 2020 UTC (3 years ago) by martin
Branch: netbsd-7
Changes since 1.55.4.1: +4 -2 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Pull up the following, requested by christos in ticket #1720:

	sys/compat/common/kern_sig_43.c				1.36
	sys/compat/linux/arch/amd64/linux_machdep.c		1.59
	sys/compat/linux/common/linux_fcntl.h			1.18
	sys/compat/linux/common/linux_file64.c			1.62
	sys/compat/linux/common/linux_ipc.c			1.57
	sys/compat/linux/common/linux_misc.c			1.243
	sys/compat/linux/common/linux_signal.c			1.81
	sys/compat/linux/common/linux_socket.c			1.149 (patch)
	sys/compat/linux/common/linux_socket.h			1.24
	sys/compat/linux/common/linux_statfs.h			1.7
	sys/compat/linux/common/linux_termios.c			1.38
	sys/compat/linux/common/linux_termios.h			1.22
	sys/compat/linux32/common/linux32_dirent.c		1.20
	sys/compat/linux32/common/linux32_ioctl.c		1.14
	sys/compat/linux32/common/linux32_misc.c		1.27
	sys/compat/linux32/common/linux32_signal.c		1.20
	sys/compat/linux32/common/linux32_sysinfo.c		1.8
	sys/compat/linux32/common/linux32_termios.c		1.15
	sys/compat/linux32/common/linux32_utsname.c		1.10
	sys/compat/netbsd32/netbsd32_compat_20.c		1.39
	sys/compat/netbsd32/netbsd32_compat_43.c		1.59
	sys/compat/netbsd32/netbsd32_compat_50.c		1.44
	sys/compat/ossaudio/ossaudio.c				1.75
	sys/kern/sysv_shm.c					1.138
	sys/miscfs/procfs/procfs_linux.c			1.75 (patch)
	sys/sys/shm.h						1.54 (patch)

Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.

Revision 1.58.6.2 / (download) - annotate - [select for diffs], Tue Jan 21 18:12:54 2020 UTC (3 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.58.6.1: +4 -2 lines
Diff to previous 1.58.6.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Pull up the following, requested by christos in ticket #1487:

	sys/compat/common/kern_sig_43.c				1.36
	sys/compat/linux/arch/amd64/linux_machdep.c		1.59
	sys/compat/linux/common/linux_fcntl.h			1.18
	sys/compat/linux/common/linux_file64.c			1.62
	sys/compat/linux/common/linux_ipc.c			1.57
	sys/compat/linux/common/linux_misc.c			1.243
	sys/compat/linux/common/linux_signal.c			1.81
	sys/compat/linux/common/linux_socket.c			1.149
	sys/compat/linux/common/linux_socket.h			1.24
	sys/compat/linux/common/linux_statfs.h			1.7
	sys/compat/linux/common/linux_termios.c			1.38
	sys/compat/linux/common/linux_termios.h			1.22
	sys/compat/linux32/common/linux32_dirent.c		1.20
	sys/compat/linux32/common/linux32_ioctl.c		1.14
	sys/compat/linux32/common/linux32_misc.c		1.27
	sys/compat/linux32/common/linux32_signal.c		1.20
	sys/compat/linux32/common/linux32_sysinfo.c		1.8
	sys/compat/linux32/common/linux32_termios.c		1.15
	sys/compat/linux32/common/linux32_utsname.c		1.10
	sys/compat/netbsd32/netbsd32_compat_20.c		1.39
	sys/compat/netbsd32/netbsd32_compat_43.c		1.59
	sys/compat/netbsd32/netbsd32_compat_50.c		1.44
	sys/compat/ossaudio/ossaudio.c				1.75
	sys/kern/sysv_shm.c					1.138
	sys/miscfs/procfs/procfs_linux.c			1.75 (patch)
	sys/sys/shm.h						1.54

Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Fri Sep 13 06:25:25 2019 UTC (3 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.60: +4 -2 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Pull up following revision(s) (requested by maxv in ticket #194):

	sys/compat/linux/common/linux_socket.c: revision 1.146
	sys/compat/linux/common/linux_socket.c: revision 1.147
	sys/compat/linux/common/linux_socket.c: revision 1.148
	sys/compat/linux/common/linux_socket.c: revision 1.149
	sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.59
	sys/compat/linux32/common/linux32_sysinfo.c: revision 1.8
	sys/kern/sysv_shm.c: revision 1.138
	sys/compat/linux/common/linux_file64.c: revision 1.61
	sys/compat/linux/common/linux_file64.c: revision 1.62
	sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.58
	sys/compat/linux32/common/linux32_dirent.c: revision 1.20
	sys/compat/linux32/common/linux32_utsname.c: revision 1.10
	sys/compat/linux/common/linux_termios.h: revision 1.22
	sys/compat/linux32/common/linux32_termios.c: revision 1.15
	sys/compat/linux32/common/linux32_misc.c: revision 1.27
	sys/compat/linux32/common/linux32_ioctl.c: revision 1.14
	sys/compat/linux/common/linux_statfs.h: revision 1.7
	sys/compat/linux/common/linux_ipc.c: revision 1.57
	sys/compat/linux/common/linux_fcntl.h: revision 1.18
	sys/compat/linux/common/linux_socket.h: revision 1.24
	sys/sys/shm.h: revision 1.54
	sys/compat/ossaudio/ossaudio.c: revision 1.75
	sys/compat/linux32/common/linux32_signal.c: revision 1.20
	sys/miscfs/procfs/procfs_linux.c: revision 1.75
	sys/compat/linux/common/linux_signal.c: revision 1.81
	sys/compat/linux/common/linux_termios.c: revision 1.38
	sys/compat/linux/common/linux_misc.c: revision 1.241
	sys/compat/linux/common/linux_misc.c: revision 1.242
	sys/compat/linux/common/linux_misc.c: revision 1.243
	sys/compat/linux/common/linux_misc.c: revision 1.244

Fix info leaks.

Fix stupid bugs in linux_sys_shmctl(): the index could be out of bound
(page fault) and there was no proper locking.
Maybe we should just remove LINUX_SHM_STAT, like compat_linux32.

Remove printf.

When dealing with an unknown value, set -1, to prevent (harmless)
uninitialized accesses later.

Add a default case, don't call sys_ioctl() with an uninitialized 'com'
argument.

Fix error handling, returns an errno, not -1.

Put the printf under DEBUG_LINUX.


Hum, don't forget the 'pid' argument, otherwise we're not gonna go very
far.

Don't read data from userland directly. This simply does not work on any
recent x86 CPU (thanks to SMAP) and all architectures that forbid direct
access to userland from the kernel. But I guess no one noticed because no
one ever uses compat_linux, right?

Hum, don't pass an mbuf to realloc(). Inspired from copyin32_msg_control().

Fix memory leak.

I don't see the point in having this useless printf, but add a '\n' to it,
so that it at least displays useless stuff correctly.

Hum, remove incorrect assignment. Userland could have passed a smaller
namelen, and the uninitialized bytes from sb_data were being used later in
the network stack.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Aug 23 07:53:36 2019 UTC (3 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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.61: +3 -2 lines
Diff to previous 1.61 (colored)

Fix info leaks.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Aug 23 06:54:54 2019 UTC (3 years, 5 months ago) by maxv
Branch: MAIN
Changes since 1.60: +3 -2 lines
Diff to previous 1.60 (colored)

Fix info leak.

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

Sync with HEAD

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:46 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

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

Revision 1.60 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:29 2018 UTC (4 years, 4 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, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (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.53.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:54 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.53.12.1: +6 -3 lines
Diff to previous 1.53.12.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

update from HEAD

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

Sync with HEAD

Revision 1.53.8.1 / (download) - annotate - [select for diffs], Sat Aug 19 04:20:01 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-6
Changes since 1.53: +6 -4 lines
Diff to previous 1.53 (colored) next main 1.54 (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.53.22.1 / (download) - annotate - [select for diffs], Sat Aug 19 04:19:58 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-6-1
Changes since 1.53: +6 -4 lines
Diff to previous 1.53 (colored) next main 1.54 (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.53.14.1 / (download) - annotate - [select for diffs], Sat Aug 19 04:19:55 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-6-0
Changes since 1.53: +6 -4 lines
Diff to previous 1.53 (colored) next main 1.54 (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.55.4.1 / (download) - annotate - [select for diffs], Sat Aug 12 04:18:10 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.55: +6 -4 lines
Diff to previous 1.55 (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.55.14.1 / (download) - annotate - [select for diffs], Sat Aug 12 04:16:52 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-7-1
CVS Tags: netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE
Changes since 1.55: +6 -4 lines
Diff to previous 1.55 (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.55.8.1 / (download) - annotate - [select for diffs], Sat Aug 12 04:16:17 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-7-0
Changes since 1.55: +6 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (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.58.6.1 / (download) - annotate - [select for diffs], Wed Aug 9 05:12:18 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-8
CVS Tags: 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.58: +6 -4 lines
Diff to previous 1.58 (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.59 / (download) - annotate - [select for diffs], Fri Jul 28 15:34:06 2017 UTC (5 years, 6 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.58: +6 -4 lines
Diff to previous 1.58 (colored)

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

Controllable via puffs from userland.

From Ilja Van Sprundel.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:42 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

Revision 1.55.10.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:25 2017 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:25 2017 UTC (5 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jan 28 15:01:01 2017 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

copy the terminating NUL (njoly)

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jan 13 22:46:43 2017 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

fix typo

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jan 13 21:02:05 2017 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored)

convert strcpy to a bounded copy to avoid compiler warnings, although the
reclen test prevents overflow.

Revision 1.53.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:32 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.53: +31 -5 lines
Diff to previous 1.53 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:16 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.53: +31 -5 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.53.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:32 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.53: +31 -5 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head

Revision 1.55 / (download) - annotate - [select for diffs], Fri Dec 27 14:17:11 2013 UTC (9 years, 1 month ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb, netbsd-7-1, netbsd-7-0, netbsd-7
Changes since 1.54: +4 -5 lines
Diff to previous 1.54 (colored)

Add struct linux_stat64 definition for alpha, and enable syscalls that
use it.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Nov 18 01:32:52 2013 UTC (9 years, 2 months ago) by chs
Branch: MAIN
Changes since 1.53: +29 -2 lines
Diff to previous 1.53 (colored)

implement the *at() syscalls.
bring the unimplemented syscall list up to date.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Oct 14 09:23:28 2011 UTC (11 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-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, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.52: +6 -3 lines
Diff to previous 1.52 (colored)

Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock.  Make all calls outside of file systems respect it.

The calls from file systems need review.

No objections from tech-kern.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Sep 1 12:44:10 2011 UTC (11 years, 5 months ago) by njoly
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Make linux_sys_getdents64 fails with ENOTDIR instead of EINVAL, when fd
does not refer to a directory.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:48 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49.2.1: +1 -1 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.46.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:08 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.4: +3 -3 lines
Diff to previous 1.46.4.4 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:31 2010 UTC (12 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with head

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:07 2010 UTC (12 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (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.34.8.1 / (download) - annotate - [select for diffs], Sat Jun 12 18:38:00 2010 UTC (12 years, 7 months ago) by riz
Branch: netbsd-4
Changes since 1.34: +7 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (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.49.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:42:59 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49: +7 -3 lines
Diff to previous 1.49 (colored)

Sync with HEAD.

Revision 1.48.14.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:26 2010 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.48: +7 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync to netbsd-5

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Wed Mar 17 02:59:52 2010 UTC (12 years, 10 months 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.48: +7 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (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.46.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:16 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.3: +7 -3 lines
Diff to previous 1.46.4.3 (colored) to branchpoint 1.46 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Wed Mar 3 08:20:38 2010 UTC (12 years, 11 months ago) by he
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.49: +7 -3 lines
Diff to previous 1.49 (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.48.10.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:41 2009 UTC (13 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.46.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:17 2009 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.2: +4 -4 lines
Diff to previous 1.46.4.2 (colored) to branchpoint 1.46 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Fri May 15 17:02:54 2009 UTC (13 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

pad -> PAD

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:22 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.1: +4 -4 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored)

sync with head.

Revision 1.47.2.3 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:45 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.47.2.2: +4 -4 lines
Diff to previous 1.47.2.2 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.45.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:03 2008 UTC (14 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.45.6.2: +2 -2 lines
Diff to previous 1.45.6.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:19 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with head.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jun 24 11:18:15 2008 UTC (14 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, mjf-devfs2-base, 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, jym-xensuspend-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

Replace references to getsock/getvnode.

Revision 1.45.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:02 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.45.6.1: +0 -7 lines
Diff to previous 1.45.6.1 (colored) to branchpoint 1.45 (colored)

Sync with HEAD.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:19 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.46: +2 -9 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:42 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46: +2 -9 lines
Diff to previous 1.46 (colored)

sync with head.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:05 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.47.2.1: +2 -3 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (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.47.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:55 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (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.47 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:43 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.46: +2 -9 lines
Diff to previous 1.46 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:33 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

Sync with HEAD.

Revision 1.28.2.9 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:41 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.8: +8 -8 lines
Diff to previous 1.28.2.8 (colored) next main 1.29 (colored)

sync with head.

Revision 1.39.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:32 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.39.8.2: +2 -94 lines
Diff to previous 1.39.8.2 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 21 21:54:58 2008 UTC (14 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

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

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:27 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.40.2.2: +2 -94 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.28.2.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:05 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.7: +2 -94 lines
Diff to previous 1.28.2.7 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Feb 2 19:37:53 2008 UTC (15 years ago) by dsl
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: mjf-devfs2
Changes since 1.44: +2 -94 lines
Diff to previous 1.44 (colored)

Extract the fcntl64() suppoort from linux_file64.c into linux_fcntl64.c
Unravel some of the knots that caused linux_file64.c to be compiled twice
for an amd64 kernel (once for linux and once for linux32) with different
parts being skipped each time.

Revision 1.28.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:41:23 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.6: +29 -62 lines
Diff to previous 1.28.2.6 (colored)

sync with head

Revision 1.39.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:51:09 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.39.8.1: +35 -68 lines
Diff to previous 1.39.8.1 (colored) to branchpoint 1.39 (colored)

sync with HEAD

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:52:33 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.43: +26 -28 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with HEAD

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:07 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.40.2.1: +29 -62 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:00 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.41.2.1: +29 -62 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:54 2007 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.43: +26 -28 lines
Diff to previous 1.43 (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.39.6.3 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:59 2007 UTC (15 years, 1 month ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.39.6.2: +19 -50 lines
Diff to previous 1.39.6.2 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Dec 8 18:36:07 2007 UTC (15 years, 1 month ago) by dsl
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.42: +13 -44 lines
Diff to previous 1.42 (colored)

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

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:48 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.40: +9 -9 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:56:48 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.41: +8 -8 lines
Diff to previous 1.41 (colored)

Sync with head.

Revision 1.28.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:28:21 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.5: +9 -9 lines
Diff to previous 1.28.2.5 (colored)

sync with head

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

Remove all the __P

Revision 1.39.6.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:36:45 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.39.6.1: +3 -3 lines
Diff to previous 1.39.6.1 (colored) to branchpoint 1.39 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:31 2007 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:24:56 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

sync with HEAD

Revision 1.28.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:36 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.4: +4 -2 lines
Diff to previous 1.28.2.4 (colored)

sync with head.

Revision 1.39.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:43:57 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (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.39.12.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:36:56 2007 UTC (15 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Oct 19 18:52:11 2007 UTC (15 years, 3 months ago) by njoly
Branch: MAIN
CVS Tags: jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.

Revision 1.28.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:32:22 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.3: +25 -76 lines
Diff to previous 1.28.2.3 (colored)

sync with head.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:14 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.37: +6 -32 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with head.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Sun May 27 14:35:05 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.36.2.1: +6 -32 lines
Diff to previous 1.36.2.1 (colored) next main 1.37 (colored)

Sync with head.

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Thu May 17 13:41:13 2007 UTC (15 years, 8 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.35.2.2: +6 -24 lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Sat May 12 23:02:49 2007 UTC (15 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.38: +6 -24 lines
Diff to previous 1.38 (colored)

Split the fcntl locking code out from its copyin/out.
Use to avoid all the stackgap stuff in compat code.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Mon May 7 10:55:13 2007 UTC (15 years, 8 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.35.2.1: +2 -10 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Apr 22 08:29:57 2007 UTC (15 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.37: +2 -10 lines
Diff to previous 1.37 (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.36.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:18 2007 UTC (15 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.36: +17 -42 lines
Diff to previous 1.36 (colored)

Sync with head.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:52:26 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.35: +25 -50 lines
Diff to previous 1.35 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 10 21:40:24 2007 UTC (15 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.36: +17 -42 lines
Diff to previous 1.36 (colored)

Update all the compat stuff to not use the 'stackgap' for processing
sys_stat() and friends, instead use do_sys_stat() and do_sys_fstat()
that write the answer into a kernel buffer (on stack) that can be
converted to the correct form and written the userspace.
I've test compiled a few kernels, and tested i386 netbsd1.6 ls.
Given I think I've fixed some bugs, it might be 50-50 with new ones.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:23 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.35: +11 -11 lines
Diff to previous 1.35 (colored)

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

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:19 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.2: +2 -3 lines
Diff to previous 1.28.2.2 (colored)

sync with head.

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

Merge newlock2 to head.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:33 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Remove support for SA. Ok core@.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:38 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.1: +4 -5 lines
Diff to previous 1.28.2.1 (colored)

sync with head.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:45:52 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.30: +16 -13 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head

Revision 1.32.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:57:55 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.32.2.2: +3 -19 lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

revert code which was mistakenly slipped in with 1.32.2.1.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:29 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.32.2.1: +4 -5 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:09 2006 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2, netbsd-4
Changes since 1.33: +4 -5 lines
Diff to previous 1.33 (colored)

Use the LWP cached credentials where sane.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:59:12 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28: +23 -19 lines
Diff to previous 1.28 (colored)

sync with head.

Revision 1.30.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:51 2006 UTC (16 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.30.6.1: +3 -3 lines
Diff to previous 1.30.6.1 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:27 2006 UTC (16 years, 8 months ago) by tron
Branch: peter-altq
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

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

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:28 2006 UTC (16 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.32: +20 -4 lines
Diff to previous 1.32 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Sun May 14 21:24:50 2006 UTC (16 years, 8 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

integrate kauth.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:13 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.30: +14 -10 lines
Diff to previous 1.30 (colored)

Sync with head.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:48:38 2006 UTC (16 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Adapt to kernel authorization KPI.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:12 2006 UTC (16 years, 11 months 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.31: +3 -4 lines
Diff to previous 1.31 (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.30.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:59 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.30.2.1: +13 -8 lines
Diff to previous 1.30.2.1 (colored) next main 1.31 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 9 19:18:56 2006 UTC (16 years, 11 months ago) by manu
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Changes since 1.30: +13 -8 lines
Diff to previous 1.30 (colored)

Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sat Dec 31 12:37:20 2005 UTC (17 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.30: +3 -4 lines
Diff to previous 1.30 (colored)

adapt some random parts of kernel to uio_vmspace.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:19 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.29: +7 -7 lines
Diff to previous 1.29 (colored)

merge ktrace-lwp.

Revision 1.21.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:01:07 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.6: +22 -16 lines
Diff to previous 1.21.2.6 (colored) next main 1.22 (colored)

Sync with HEAD. Here we go again...

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat Oct 1 10:39:27 2005 UTC (17 years, 4 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.25: +10 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (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.29 / (download) - annotate - [select for diffs], Fri Aug 19 02:03:57 2005 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.28: +7 -7 lines
Diff to previous 1.28 (colored)

64 bit inode changes.

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 29 22:08:16 2005 UTC (17 years, 8 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.27: +7 -7 lines
Diff to previous 1.27 (colored)

- sprinkle const.
- add XXXUNCONST to the emul_find() pbuf argument free'ing. XXX: this needs
  an api change.
- avoid variable shadowing.

Revision 1.27 / (download) - annotate - [select for diffs], Tue May 3 16:26:28 2005 UTC (17 years, 9 months ago) by manu
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:40 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.23: +16 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with -current

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 19 19:00:25 2005 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.25: +10 -4 lines
Diff to previous 1.25 (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.21.2.6 / (download) - annotate - [select for diffs], Fri Apr 1 14:29:36 2005 UTC (17 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.5: +7 -2 lines
Diff to previous 1.21.2.5 (colored)

Sync with HEAD.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:37 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.23: +8 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

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

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 10 14:12:28 2005 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.24: +7 -2 lines
Diff to previous 1.24 (colored)

Add nanosecond handling on the stat and stat64 code for the i386.

Revision 1.21.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:02 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.4: +3 -3 lines
Diff to previous 1.21.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 26 23:10:19 2005 UTC (17 years, 11 months ago) by perry
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

nuke trailing whitespace

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:25:38 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.3: +7 -7 lines
Diff to previous 1.21.2.3 (colored)

Fix the sync with head I botched.

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:43:42 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.2: +7 -7 lines
Diff to previous 1.21.2.2 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 17 14:11:24 2004 UTC (18 years, 4 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.22: +3 -3 lines
Diff to previous 1.22 (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.21.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:04 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.1: +29 -3 lines
Diff to previous 1.21.2.1 (colored)

Sync with HEAD

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Mon Jun 14 02:36:09 2004 UTC (18 years, 7 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.18.2.1: +3 -3 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Pullup patch (requested by skrll in ticket #1708)

Bring netbsd-1-6 inline with -current sources after the mistakes in ticket #1686

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue May 11 14:30:50 2004 UTC (18 years, 8 months ago) by tron
Branch: netbsd-1-6
Changes since 1.18: +31 -3 lines
Diff to previous 1.18 (colored)

Pull up revision 1.22 via patch (requested by wennmach in ticket #1686):
add Linux compat arg wrapper for ftruncate64(), and change linux compat
truncate64() wrapper to translate args structure
NetBSD truncate() and ftrucate() have hidden 'pad' argument, so we have
to do the argument translation
Problem found and patch supplied in PR kern/22360 by Ales Krenek
This is the last of syscalls with hidden 'pad' arg we didn't have
wrapper for; all the others (lseek, mmap, pwrite, pread) already had
wrapper before.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 10 20:16:27 2003 UTC (19 years, 5 months ago) by jdolecek
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.21: +29 -3 lines
Diff to previous 1.21 (colored)

add Linux compat arg wrapper for ftruncate64(), and change linux compat
truncate64() wrapper to translate args structure
NetBSD truncate() and ftrucate() have hidden 'pad' argument, so we have
to do the argument translation

Problem found and patch supplied in PR kern/22360 by Ales Krenek

This is the last of syscalls with hidden 'pad' arg we didn't have
wrapper for; all the others (lseek, mmap, pwrite, pread) already had
wrapper before.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:47 2003 UTC (19 years, 7 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.21: +7 -7 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:29 2003 UTC (19 years, 7 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:21 2003 UTC (19 years, 7 months ago) by darrenr
Branch: MAIN
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Sat Jan 18 08:02:52 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.18: +32 -26 lines
Diff to previous 1.18 (colored)

Merge the nathanw_sa branch.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:44:22 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.6.2: +254 -31 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

catch up with -current on kqueue branch

Revision 1.2.4.10 / (download) - annotate - [select for diffs], Thu Jun 20 03:43:04 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.4.9: +158 -5 lines
Diff to previous 1.2.4.9 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Catch up to -current.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Thu May 30 14:45:14 2002 UTC (20 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.15: +17 -35 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Catch up with -current.

Revision 1.2.4.9 / (download) - annotate - [select for diffs], Wed May 29 21:32:38 2002 UTC (20 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.8: +3 -2 lines
Diff to previous 1.2.4.8 (colored) to branchpoint 1.2 (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.18 / (download) - annotate - [select for diffs], Mon May 20 06:45:11 2002 UTC (20 years, 8 months ago) by jdolecek
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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: netbsd-1-6
Changes since 1.17: +13 -33 lines
Diff to previous 1.17 (colored)

linux_sys_getdents64(): remove the oldcall bug workaround cruft,
it's not needed for this call, and update comment accordingly

Revision 1.17 / (download) - annotate - [select for diffs], Mon May 20 06:40:37 2002 UTC (20 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

linux_sys_getdents64(): make the d_off member point to next entry, rather
than current one; this is expected (even documented) behaviour of the
new system call
This fixes the endless loop when reading directories on NFS, though
applications won't see all directory entries due to different problem.
Fix by Matthias Scheler and Charles Hannum.

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 19 18:03:17 2002 UTC (20 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored)

On archs with broken linux struct stat64 st_ino, rename linux_stat64's
lst_ino to __lst_ino and lst_ino64 to lst_ino, and define
LINUX_STAT64_HAS_BROKEN_ST_INO. Only assign __lst_ino if this define
is present.

This fixes compile on powerpc archs, and hence port-powerpc/16893.

Revision 1.15 / (download) - annotate - [select for diffs], Mon May 13 05:41:27 2002 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.14: +6 -2 lines
Diff to previous 1.14 (colored)

Make COMPAT_LINUX compile again on Alpha.  linux_getdents64 moved but
files.linux_alpha wasn't updated.  common/linux_file64.c contains a lot
of syscalls which aren't on Linux/alpha so #ifdef them for alpha.

Revision 1.14 / (download) - annotate - [select for diffs], Mon May 13 05:37:58 2002 UTC (20 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.13: +2 -4 lines
Diff to previous 1.13 (colored)

Remove an unreachable "return error;".

Revision 1.13 / (download) - annotate - [select for diffs], Sun May 12 15:04:27 2002 UTC (20 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 (colored)

hook in remaining 64bit fs syscalls
make most of stuff in linux_file64.c available unconditionally,
  with exception of fcntl64, which is not present on Linux m68k

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 10 14:51:26 2002 UTC (20 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.11: +2 -7 lines
Diff to previous 1.11 (colored)

Remove check for size of field "d_off" in Linux "dirent" structure because
this problem cannot happen with the 64Bit version of the getdents().

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 10 14:38:08 2002 UTC (20 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.10: +174 -2 lines
Diff to previous 1.10 (colored)

Move implementation of linux_sys_getdents64() to source file for
Linux 64bit filesystem calls.

Revision 1.2.4.8 / (download) - annotate - [select for diffs], Mon Apr 1 22:17:50 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.7: +4 -4 lines
Diff to previous 1.2.4.7 (colored) to branchpoint 1.2 (colored)

Re-LWPify linux_sys_fcntl64().

Revision 1.2.4.7 / (download) - annotate - [select for diffs], Mon Apr 1 07:44:25 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.6: +103 -31 lines
Diff to previous 1.2.4.6 (colored) to branchpoint 1.2 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 22 17:14:18 2002 UTC (20 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

gc debugging printfs.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 22 14:54:49 2002 UTC (20 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.8: +98 -25 lines
Diff to previous 1.8 (colored)

implement the locking calls for linux_file64.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 16 20:43:53 2002 UTC (20 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.7: +7 -7 lines
Diff to previous 1.7 (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.2.6.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:37 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.6.1: +5 -4 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

Catch up with -current.

Revision 1.2.4.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:12:55 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.5: +5 -4 lines
Diff to previous 1.2.4.5 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 15 16:48:02 2002 UTC (20 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.6: +5 -4 lines
Diff to previous 1.6 (colored)

- add a real linux_sys___sysctl because the mib numbers are different.
  implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
  that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.

tested only on i386.

Status:
	gdb, telnet, work
	jdk-1.4.0 extractor works, jdk still coredumps.

christos

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:51:42 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.2: +45 -2 lines
Diff to previous 1.2 (colored)

Sync kqueue branch with -current.

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Thu Dec 6 09:30:54 2001 UTC (21 years, 1 month ago) by wdk
Branch: nathanw_sa
Changes since 1.2.4.4: +5 -5 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored)

struct proc -> struct lwp changes for COMPAT_LINUX support on Mips
processors.

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:13:10 2001 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.3: +4 -1 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 13 02:08:52 2001 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

add RCSIDs (including regeneration of files as appropriate)

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:13 2001 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.2: +2 -2 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 14 17:15:58 2001 UTC (21 years, 3 months ago) by manu
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Fixed a minor problem so that it builds

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Thu Oct 11 00:01:59 2001 UTC (21 years, 3 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.2.8.1: +1 -1 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Oct 8 20:10:52 2001 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.1: +41 -1 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:43:46 2001 UTC (21 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.2: +41 -1 lines
Diff to previous 1.2 (colored)

Catch up with -current.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 30 20:44:49 2001 UTC (21 years, 4 months ago) by manu
Branch: MAIN
CVS Tags: thorpej-devvp-base3
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Fixes my last commit: only mips really need fcntl64 to work now. i386 and
powerpc could use it later if needed. m68k and alpha should never need it.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 30 16:04:04 2001 UTC (21 years, 4 months ago) by manu
Branch: MAIN
Changes since 1.2: +41 -1 lines
Diff to previous 1.2 (colored)

Added initial support for fcntl64 system call (file locking is not
implemented)

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:25 2001 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2: +21 -18 lines
Diff to previous 1.2 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed Dec 13 15:49:49 2000 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.1: +222 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.2.2.1, Tue Dec 12 22:24:56 2000 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2: +0 -222 lines
FILE REMOVED

file linux_file64.c was added on branch thorpej_scsipi on 2000-12-13 15:49:49 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 12 22:24:56 2000 UTC (22 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej_scsipi, thorpej-devvp, nathanw_sa, kqueue
Changes since 1.1: +18 -1 lines
Diff to previous 1.1 (colored)

add linux_sys_truncate64()

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 12 19:02:00 2000 UTC (22 years, 1 month ago) by jdolecek
Branch: MAIN

add emulation of Linux truncate64(2), ftruncate64(2), *stat64(2)

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>