The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.240.4.2 / (download) - annotate - [select for diffs], Wed Aug 3 11:11:32 2022 UTC (5 months, 3 weeks ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.240.4.1: +5 -2 lines
Diff to previous 1.240.4.1 (colored) to branchpoint 1.240 (colored) next main 1.241 (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.256 / (download) - annotate - [select for diffs], Thu Dec 2 04:29:48 2021 UTC (13 months, 3 weeks ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.255: +44 -2 lines
Diff to previous 1.255 (colored)

add prlimit64(2) syscall to COMPAT_LINUX and COMPAT_LINUX32

Revision 1.255 / (download) - annotate - [select for diffs], Thu Nov 25 03:08:04 2021 UTC (14 months ago) by ryo
Branch: MAIN
Changes since 1.254: +2 -4 lines
Diff to previous 1.254 (colored)

add support COMPAT_LINUX32 for aarch64

Revision 1.254 / (download) - annotate - [select for diffs], Thu Sep 23 06:56:27 2021 UTC (16 months ago) by ryo
Branch: MAIN
Changes since 1.253: +9 -3 lines
Diff to previous 1.253 (colored)

add support COMPAT_LINUX for aarch64

Revision 1.253 / (download) - annotate - [select for diffs], Mon Sep 20 00:09:02 2021 UTC (16 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.252: +54 -2 lines
Diff to previous 1.252 (colored)

Add the eventfd system calls to COMPAT_LINUX and COMPAT_LINUX32.

Revision 1.252 / (download) - annotate - [select for diffs], Tue Sep 7 11:43:04 2021 UTC (16 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.251: +5 -2 lines
Diff to previous 1.251 (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.251.2.1 / (download) - annotate - [select for diffs], Tue Dec 15 14:07:21 2020 UTC (2 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.251: +55 -3 lines
Diff to previous 1.251 (colored) next main 1.252 (colored)

Add Linux eventfd, timerfd, and POSIX timer calls.

Revision 1.251 / (download) - annotate - [select for diffs], Thu Jun 11 22:21:05 2020 UTC (2 years, 7 months ago) by ad
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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-futex
Changes since 1.250: +9 -3 lines
Diff to previous 1.250 (colored)

Counter tweaks:

- Don't need to count anonpages+filepages any more; clean+unknown+dirty for
  each kind of page can be summed to get the totals.

- Track the number of free pages with a counter so that it's one less thing
  for the allocator to do, which opens up further options there.

- Remove cpu_count_sync_one().  It has no users and doesn't save a whole lot.
  For the cheap option, give cpu_count_sync() a boolean parameter indicating
  that a cached value is okay, and rate limit the updates for cached values
  to hz.

Revision 1.250 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:46 2020 UTC (2 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.249: +3 -3 lines
Diff to previous 1.249 (colored)

uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

Revision 1.249 / (download) - annotate - [select for diffs], Sun May 3 01:06:56 2020 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.248: +59 -2 lines
Diff to previous 1.248 (colored)

Always clear FUTEX_PRIVATE_FLAG for Linux processes.  NetBSD-native futexes
exist in different namespace depending on FUTEX_PRIVATE_FLAG.  This appears
not to be the case in Linux, and some futex users will mix private and non-
private ops on the same futex object.  Provide a convenience wrapper that
puts this logic in one place witn a comment explaining why.

While here, move the Linux futex wrapper out of its own file and plop
it in linux_misc.c, which is where it lives in the linux32 module.

Revision 1.239.4.4 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:14 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.239.4.3: +1 -1 lines
Diff to previous 1.239.4.3 (colored) to branchpoint 1.239 (colored) next main 1.240 (colored)

Sync with HEAD

Revision 1.247.6.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:01 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.247: +3 -3 lines
Diff to previous 1.247 (colored) next main 1.248 (colored)

Sync with HEAD

Revision 1.248 / (download) - annotate - [select for diffs], Sun Apr 19 20:31:59 2020 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.247: +3 -3 lines
Diff to previous 1.247 (colored)

- Only increment nprocs when we're creating a new process, not just
  when allocating a PID.
- Per above, proc_free_pid() no longer decrements nprocs.  It's now done
  in proc_free() right after proc_free_pid().
- Ensure nprocs is accessed using atomics everywhere.

Revision 1.239.4.3 / (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.239.4.2: +5 -2 lines
Diff to previous 1.239.4.2 (colored) to branchpoint 1.239 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.239.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:00 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.239.4.1: +3 -3 lines
Diff to previous 1.239.4.1 (colored) to branchpoint 1.239 (colored)

Merge changes from current as of 20200406

Revision 1.229.8.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.229.8.1: +5 -2 lines
Diff to previous 1.229.8.1 (colored) to branchpoint 1.229 (colored) next main 1.230 (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.229.2.3 / (download) - annotate - [select for diffs], Tue Jan 21 19:19:16 2020 UTC (3 years ago) by martin
Branch: netbsd-7
Changes since 1.229.2.2: +5 -2 lines
Diff to previous 1.229.2.2 (colored) to branchpoint 1.229 (colored) next main 1.230 (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.238.2.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.238.2.1: +5 -2 lines
Diff to previous 1.238.2.1 (colored) to branchpoint 1.238 (colored) next main 1.239 (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.247 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:13 2019 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.246: +3 -3 lines
Diff to previous 1.246 (colored)

Rename uvm_free() -> uvm_availmem().

Revision 1.246 / (download) - annotate - [select for diffs], Sat Dec 21 13:00:24 2019 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.245: +3 -3 lines
Diff to previous 1.245 (colored)

uvmexp.free -> uvm_free()

Revision 1.245 / (download) - annotate - [select for diffs], Fri Sep 20 15:25:19 2019 UTC (3 years, 4 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.244: +3 -3 lines
Diff to previous 1.244 (colored)

Avoid signed integer overflow when convering linux timeval to timespec

Linux accepts garbage as timeout and attempts to set it to something
meaningful. Instead of checking for valid ranges of usec, just convert
the type safely, regardless of what is inside it.

Revision 1.240.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-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.240: +6 -3 lines
Diff to previous 1.240 (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.244 / (download) - annotate - [select for diffs], Sat Aug 24 14:21:13 2019 UTC (3 years, 5 months ago) by maxv
Branch: MAIN
Changes since 1.243: +3 -3 lines
Diff to previous 1.243 (colored)

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.

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

Fix info leaks in sysinfo().

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

Fix info leaks.

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

Fix info leaks.

Revision 1.239.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.239: +4 -4 lines
Diff to previous 1.239 (colored)

Sync with HEAD

Revision 1.239.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.239: +4 -4 lines
Diff to previous 1.239 (colored) next main 1.240 (colored)

Sync with HEAD

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

Revision 1.240 / (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.239: +4 -4 lines
Diff to previous 1.239 (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.219.12.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:55 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.219.12.3: +93 -6 lines
Diff to previous 1.219.12.3 (colored) to branchpoint 1.219 (colored) next main 1.220 (colored)

update from HEAD

Revision 1.230.2.5 / (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.230.2.4: +7 -5 lines
Diff to previous 1.230.2.4 (colored) to branchpoint 1.230 (colored) next main 1.231 (colored)

Sync with HEAD

Revision 1.219.8.2 / (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.219.8.1: +6 -4 lines
Diff to previous 1.219.8.1 (colored) to branchpoint 1.219 (colored) next main 1.220 (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.219.16.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.219: +6 -4 lines
Diff to previous 1.219 (colored) next main 1.220 (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.219.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.219: +6 -4 lines
Diff to previous 1.219 (colored) next main 1.220 (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.229.2.2 / (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.229.2.1: +6 -4 lines
Diff to previous 1.229.2.1 (colored) to branchpoint 1.229 (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.229.8.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.229: +6 -4 lines
Diff to previous 1.229 (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.229.4.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.229: +6 -4 lines
Diff to previous 1.229 (colored) next main 1.230 (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.238.2.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.238: +6 -4 lines
Diff to previous 1.238 (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.239 / (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.238: +6 -4 lines
Diff to previous 1.238 (colored)

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

Controllable via puffs from userland.

From Ilja Van Sprundel.

Revision 1.237.4.1 / (download) - annotate - [select for diffs], Thu May 11 02:58:37 2017 UTC (5 years, 8 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.237: +3 -3 lines
Diff to previous 1.237 (colored) next main 1.238 (colored)

Sync with HEAD

Revision 1.238 / (download) - annotate - [select for diffs], Sat May 6 21:34:51 2017 UTC (5 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base
Branch point for: netbsd-8
Changes since 1.237: +3 -3 lines
Diff to previous 1.237 (colored)

Extend the mmap(2) interface to allow requesting protections for later
use with mprotect(2), but without enabling them immediately.

Extend the mremap(2) interface to allow duplicating mappings, i.e.
create a second range of virtual addresses references the same physical
pages. Duplicated mappings can have different effective protections.

Adjust PAX mprotect logic to disallow effective protections of W&X, but
allow one mapping W and another X protections. This obsoletes using
temporary files for purposes like JIT.

Adjust PAX logic for mmap(2) and mprotect(2) to fail if W&X is requested
and not silently drop the X protection.

Improve test cases to ensure correct operation of the changed
interfaces.

Revision 1.236.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.236: +3 -3 lines
Diff to previous 1.236 (colored) next main 1.237 (colored)

Sync with HEAD

Revision 1.229.2.1 / (download) - annotate - [select for diffs], Mon Apr 17 05:19:09 2017 UTC (5 years, 9 months ago) by snj
Branch: netbsd-7
Changes since 1.229: +83 -2 lines
Diff to previous 1.229 (colored)

Pull up following revision(s) (requested by manu in ticket #1354):
	sys/compat/linux/arch/alpha/syscalls.master: revision 1.92 via patch
	sys/compat/linux/arch/amd64/syscalls.master: revision 1.58 via patch
	sys/compat/linux/arch/arm/syscalls.master: revision 1.65 via patch
	sys/compat/linux/arch/i386/syscalls.master: revision 1.122 via patch
	sys/compat/linux/arch/m68k/syscalls.master: revision 1.91 via patch
	sys/compat/linux/arch/mips/syscalls.master: revision 1.61 via patch
	sys/compat/linux/arch/powerpc/syscalls.master: revision 1.70 via patch
	sys/compat/linux/common/linux_misc.c: revision 1.234
	sys/compat/linux/common/linux_signal.h: revision 1.31
Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64

Revision 1.231.2.2 / (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.231.2.1: +4 -3 lines
Diff to previous 1.231.2.1 (colored) to branchpoint 1.231 (colored) next main 1.232 (colored)

Sync with HEAD

Revision 1.230.2.4 / (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.230.2.3: +85 -3 lines
Diff to previous 1.230.2.3 (colored) to branchpoint 1.230 (colored)

Sync with HEAD

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

copy the terminating NUL (njoly)

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

no namlen on linux

Revision 1.235 / (download) - annotate - [select for diffs], Fri Jan 13 20:24:37 2017 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.234: +4 -3 lines
Diff to previous 1.234 (colored)

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

Revision 1.231.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:30 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.231: +84 -3 lines
Diff to previous 1.231 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.234 / (download) - annotate - [select for diffs], Mon Jan 2 16:32:10 2017 UTC (6 years ago) by manu
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.233: +83 -2 lines
Diff to previous 1.233 (colored)

Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64

Revision 1.230.2.3 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:00 2016 UTC (6 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.230.2.2: +3 -3 lines
Diff to previous 1.230.2.2 (colored) to branchpoint 1.230 (colored)

Sync with HEAD

Revision 1.233 / (download) - annotate - [select for diffs], Thu Nov 10 17:00:51 2016 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20161204
Changes since 1.232: +3 -3 lines
Diff to previous 1.232 (colored)

GC WOPTSCHECKED

Revision 1.230.2.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:38 2016 UTC (6 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.230.2.1: +7 -5 lines
Diff to previous 1.230.2.1 (colored) to branchpoint 1.230 (colored)

Sync with HEAD

Revision 1.232 / (download) - annotate - [select for diffs], Wed Aug 31 08:12:44 2016 UTC (6 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.231: +4 -2 lines
Diff to previous 1.231 (colored)

Teach wait4 about WCONTINUED.

Revision 1.230.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:06 2015 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.230: +3 -2 lines
Diff to previous 1.230 (colored)

Sync with HEAD

Revision 1.231 / (download) - annotate - [select for diffs], Sat Mar 14 08:32:08 2015 UTC (7 years, 10 months ago) by njoly
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Branch point for: pgoyette-localcount
Changes since 1.230: +3 -2 lines
Diff to previous 1.230 (colored)

Support Linux MAP_LOCKED mmap flag.

Revision 1.230 / (download) - annotate - [select for diffs], Sat Nov 22 13:18:45 2014 UTC (8 years, 2 months ago) by njoly
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.229: +3 -3 lines
Diff to previous 1.229 (colored)

Fix ppoll signature (int ->u_int)

Revision 1.219.12.3 / (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.219.12.2: +31 -42 lines
Diff to previous 1.219.12.2 (colored) to branchpoint 1.219 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.228.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:33 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.228: +2 -30 lines
Diff to previous 1.228 (colored) next main 1.229 (colored)

Rebase.

Revision 1.229 / (download) - annotate - [select for diffs], Thu May 29 10:35:27 2014 UTC (8 years, 8 months ago) by njoly
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-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
Branch point for: netbsd-7-1, netbsd-7-0, netbsd-7
Changes since 1.228: +2 -30 lines
Diff to previous 1.228 (colored)

For utimes(2), use compat_50_sys_utimes() instead of local version.

Revision 1.219.2.2 / (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.219.2.1: +83 -7 lines
Diff to previous 1.219.2.1 (colored) to branchpoint 1.219 (colored) next main 1.220 (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.223.4.2 / (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.223.4.1: +40 -25 lines
Diff to previous 1.223.4.1 (colored) to branchpoint 1.223 (colored) next main 1.224 (colored)

sync with head

Revision 1.219.8.1 / (download) - annotate - [select for diffs], Sat Dec 14 19:31:17 2013 UTC (9 years, 1 month ago) by bouyer
Branch: netbsd-6
Changes since 1.219: +4 -3 lines
Diff to previous 1.219 (colored)

Pull up following revision(s) (requested by hauke in ticket #993):
	sys/compat/linux/common/linux_misc.c: revision 1.227
On linux_sys_getdents, insert d_type at the end of each record.
Fixes PR kern/47806.

Revision 1.228 / (download) - annotate - [select for diffs], Mon Nov 18 01:32:52 2013 UTC (9 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.227: +22 -49 lines
Diff to previous 1.227 (colored)

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

Revision 1.227 / (download) - annotate - [select for diffs], Sun Nov 10 12:07:52 2013 UTC (9 years, 2 months ago) by slp
Branch: MAIN
Changes since 1.226: +4 -3 lines
Diff to previous 1.226 (colored)

On linux_sys_getdents, insert d_type at the end of each record.
Fixes PR kern/47806.

Revision 1.226 / (download) - annotate - [select for diffs], Tue Sep 24 13:27:50 2013 UTC (9 years, 4 months ago) by njoly
Branch: MAIN
Changes since 1.225: +45 -2 lines
Diff to previous 1.225 (colored)

Add utimensat(2) for compat linux.

Revision 1.225 / (download) - annotate - [select for diffs], Sun Sep 15 12:58:34 2013 UTC (9 years, 4 months ago) by njoly
Branch: MAIN
Changes since 1.224: +2 -4 lines
Diff to previous 1.224 (colored)

Make alpha use linux_sys_utimes() just like other archs.

Revision 1.223.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:24 2013 UTC (9 years, 5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.223: +4 -2 lines
Diff to previous 1.223 (colored)

sync with head

Revision 1.224 / (download) - annotate - [select for diffs], Sun Aug 11 09:07:15 2013 UTC (9 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.223: +4 -2 lines
Diff to previous 1.223 (colored)

Allow to build in envs without USRSTACK (namely, rump kernels on powerpc).
TODO: all of the m*() calls are by definition incompatible with rump
kernels; including them is no great damage, but they're not useful either.

Revision 1.219.12.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:16 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.219.12.1: +61 -2 lines
Diff to previous 1.219.12.1 (colored) to branchpoint 1.219 (colored)

resync from head

Revision 1.223 / (download) - annotate - [select for diffs], Mon Apr 15 19:24:04 2013 UTC (9 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.222: +4 -2 lines
Diff to previous 1.222 (colored)

alpha uses standard utimes.

Revision 1.222 / (download) - annotate - [select for diffs], Tue Apr 9 08:00:20 2013 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.221: +3 -3 lines
Diff to previous 1.221 (colored)

Fix COMPAT_LINUX32.

Revision 1.221 / (download) - annotate - [select for diffs], Mon Apr 8 20:54:49 2013 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.220: +59 -2 lines
Diff to previous 1.220 (colored)

support utimes on non-alpha linux platforms

Revision 1.219.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:56 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.219: +40 -2 lines
Diff to previous 1.219 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.219.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:43 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.219: +40 -2 lines
Diff to previous 1.219 (colored)

sync with head

Revision 1.220 / (download) - annotate - [select for diffs], Wed Sep 19 21:19:15 2012 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Changes since 1.219: +40 -2 lines
Diff to previous 1.219 (colored)

emulate ppoll which is essentially our pollts

Revision 1.219 / (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-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-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, 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
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.218: +6 -3 lines
Diff to previous 1.218 (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.214.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:47 2011 UTC (11 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.214.2.1: +24 -21 lines
Diff to previous 1.214.2.1 (colored) to branchpoint 1.214 (colored) next main 1.215 (colored)

sync with head

Revision 1.213.2.4 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:25 2010 UTC (12 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.213.2.3: +16 -5 lines
Diff to previous 1.213.2.3 (colored) to branchpoint 1.213 (colored) next main 1.214 (colored)

Sync with HEAD.

Revision 1.218 / (download) - annotate - [select for diffs], Tue Nov 2 18:18:07 2010 UTC (12 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: uebayasi-xip-base4, 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.217: +16 -5 lines
Diff to previous 1.217 (colored)

personality() now interprets its parameter as having
the base personality type in the low byte and
various flags in the upper bytes.  for now just mask off
the flags to make sure the base type is one we accept.
store the current personality in the emuldata so that
we can return the expected value for PER_QUERY.

Revision 1.213.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:47 2010 UTC (12 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.213.2.2: +1 -0 lines
Diff to previous 1.213.2.2 (colored) to branchpoint 1.213 (colored)

Sync with HEAD (-D20101022).

Revision 1.197.2.7 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:01 2010 UTC (12 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.197.2.6: +3 -2 lines
Diff to previous 1.197.2.6 (colored) to branchpoint 1.197 (colored) next main 1.198 (colored)

sync with head

Revision 1.217 / (download) - annotate - [select for diffs], Sat Sep 11 20:53:04 2010 UTC (12 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base3
Changes since 1.216: +3 -2 lines
Diff to previous 1.216 (colored)

recent versions of linux (which we now claim to be) supply a BSD-style
d_type value in getdents() results, after the d_name field.
make our emulation do the same.  fixes part of PR 43695.

Revision 1.213.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.213.2.1: +8 -17 lines
Diff to previous 1.213.2.1 (colored) to branchpoint 1.213 (colored)

Sync with HEAD.

Revision 1.197.2.6 / (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.197.2.5: +10 -19 lines
Diff to previous 1.197.2.5 (colored) to branchpoint 1.197 (colored)

sync with head.

Revision 1.216 / (download) - annotate - [select for diffs], Wed Jul 7 01:30:35 2010 UTC (12 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.215: +9 -18 lines
Diff to previous 1.215 (colored)

many changes for COMPAT_LINUX:
 - update the linux syscall table for each platform.
 - support new-style (NPTL) linux pthreads on all platforms.
   clone() with CLONE_THREAD uses 1 process with many LWPs
   instead of separate processes.
 - move the contents of sys__lwp_setprivate() into a new
   lwp_setprivate() and use that everywhere.
 - update linux_release[] and linux32_release[] to "2.6.18".
 - adjust placement of emul fork/exec/exit hooks as needed
   and adjust other emul code to match.
 - convert all struct emul definitions to use named initializers.
 - change the pid allocator to allow multiple pids to refer to the same proc.
 - remove a few fields from struct proc that are no longer needed.
 - disable the non-functional "vdso" code in linux32/amd64,
   glibc works fine without it.
 - fix a race in the futex code where we could miss a wakeup after
   a requeue operation.
 - redo futex locking to be a little more efficient.

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

sync with head

Revision 1.215 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:07 2010 UTC (12 years, 7 months ago) by hannken
Branch: MAIN
Changes since 1.214: +3 -3 lines
Diff to previous 1.214 (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.165.2.3 / (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.165.2.2: +7 -3 lines
Diff to previous 1.165.2.2 (colored) to branchpoint 1.165 (colored) next main 1.166 (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.213.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.213: +7 -3 lines
Diff to previous 1.213 (colored)

Sync with HEAD.

Revision 1.201.10.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.201: +7 -3 lines
Diff to previous 1.201 (colored) next main 1.202 (colored)

sync to netbsd-5

Revision 1.201.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.201: +7 -3 lines
Diff to previous 1.201 (colored) next main 1.202 (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.197.2.5 / (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.197.2.4: +18 -16 lines
Diff to previous 1.197.2.4 (colored) to branchpoint 1.197 (colored)

sync with head

Revision 1.214 / (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.213: +7 -3 lines
Diff to previous 1.213 (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.213 / (download) - annotate - [select for diffs], Sat Dec 5 20:11:17 2009 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.212: +2 -3 lines
Diff to previous 1.212 (colored)

Remove the portalfs kernel file system driver.  Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.

Revision 1.212 / (download) - annotate - [select for diffs], Tue Nov 24 10:42:44 2009 UTC (13 years, 2 months ago) by njoly
Branch: MAIN
Changes since 1.211: +3 -3 lines
Diff to previous 1.211 (colored)

Update personality(2) to match Linux definition where the argument is an
unsigned long.

Revision 1.211 / (download) - annotate - [select for diffs], Wed Nov 11 09:48:50 2009 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.210: +5 -5 lines
Diff to previous 1.210 (colored)

- selcommon/pollcommon: drop redundant l argument.
- Use cached curlwp->l_fd, instead of p->p_fd.
- Inline selscan/pollscan.

Revision 1.210 / (download) - annotate - [select for diffs], Wed Nov 4 21:23:02 2009 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.209: +9 -10 lines
Diff to previous 1.209 (colored)

do_sys_wait(): fix previous by checking for ru != NULL.  Noticed by
Onno van der Linden.  Also, remove redundant arguments (seems that
was_zombie was not used since rev 1.177 ?).

Revision 1.197.2.4 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:59 2009 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.197.2.3: +3 -3 lines
Diff to previous 1.197.2.3 (colored) to branchpoint 1.197 (colored)

sync with head.

Revision 1.205.2.2 / (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.205.2.1: +4 -4 lines
Diff to previous 1.205.2.1 (colored) to branchpoint 1.205 (colored) next main 1.206 (colored)

Sync with HEAD.

Revision 1.209 / (download) - annotate - [select for diffs], Wed Jul 22 15:49:29 2009 UTC (13 years, 6 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.208: +3 -3 lines
Diff to previous 1.208 (colored)

Make compat linux/linux32 getdents(2) fail with ENOTDIR instead of
EINVAL when file descriptor does not refer to a directory.

Revision 1.197.2.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.197.2.2: +3 -3 lines
Diff to previous 1.197.2.2 (colored) to branchpoint 1.197 (colored)

sync with head

Revision 1.208 / (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-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4
Changes since 1.207: +3 -3 lines
Diff to previous 1.207 (colored)

pad -> PAD

Revision 1.205.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:57 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.205: +25 -30 lines
Diff to previous 1.205 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

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

sync with head.

Revision 1.201.4.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:07 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.201.4.2: +25 -30 lines
Diff to previous 1.201.4.2 (colored) to branchpoint 1.201 (colored) next main 1.202 (colored)

Sync with HEAD.

Revision 1.207 / (download) - annotate - [select for diffs], Sun Mar 29 19:21:19 2009 UTC (13 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.206: +24 -24 lines
Diff to previous 1.206 (colored)

Move the internal poll/select related API's to use timespec instead
of timeval (rides the uvm bump).

Revision 1.206 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:18 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.205: +3 -8 lines
Diff to previous 1.205 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.201.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:07 2009 UTC (13 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.201.4.1: +10 -4 lines
Diff to previous 1.201.4.1 (colored) to branchpoint 1.201 (colored)

Sync with HEAD.

Revision 1.205 / (download) - annotate - [select for diffs], Mon Jan 19 13:31:40 2009 UTC (14 years ago) by njoly
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.204: +10 -4 lines
Diff to previous 1.204 (colored)

Small personality(2) update.
- Allow querying current personality.
- Use symbolic names instead of magic values.

Revision 1.201.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:31 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.201: +22 -22 lines
Diff to previous 1.201 (colored)

Sync with HEAD.

Revision 1.204 / (download) - annotate - [select for diffs], Sat Jan 17 22:28:53 2009 UTC (14 years ago) by njoly
Branch: MAIN
Changes since 1.203: +9 -4 lines
Diff to previous 1.203 (colored)

Convert linux/linux32 wait(4) to use a compat50 rusage structure.

Revision 1.193.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:44 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.193.6.3: +13 -18 lines
Diff to previous 1.193.6.3 (colored) to branchpoint 1.193 (colored) next main 1.194 (colored)

Sync with HEAD.

Revision 1.203 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:48 2009 UTC (14 years ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.202: +13 -7 lines
Diff to previous 1.202 (colored)

merge christos-time_t

Revision 1.201.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:56 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.201: +4 -15 lines
Diff to previous 1.201 (colored) next main 1.202 (colored)

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

Revision 1.194.2.3 / (download) - annotate - [select for diffs], Thu Nov 20 20:45:38 2008 UTC (14 years, 2 months ago) by christos
Branch: christos-time_t
Changes since 1.194.2.2: +4 -15 lines
Diff to previous 1.194.2.2 (colored) to branchpoint 1.194 (colored) next main 1.195 (colored)

merge with head.

Revision 1.202 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:10 2008 UTC (14 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.201: +4 -15 lines
Diff to previous 1.201 (colored)

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

Proposed on tech-kern@.

Revision 1.194.2.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:22:26 2008 UTC (14 years, 2 months ago) by christos
Branch: christos-time_t
Changes since 1.194.2.1: +13 -35 lines
Diff to previous 1.194.2.1 (colored) to branchpoint 1.194 (colored)

Sync with head.

Revision 1.198.2.4 / (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.198.2.3: +5 -5 lines
Diff to previous 1.198.2.3 (colored) to branchpoint 1.198 (colored) next main 1.199 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.193.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.193.6.2: +3 -3 lines
Diff to previous 1.193.6.2 (colored) to branchpoint 1.193 (colored)

Sync with HEAD.

Revision 1.199.2.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.199: +5 -5 lines
Diff to previous 1.199 (colored) next main 1.200 (colored)

Sync with head.

Revision 1.201 / (download) - annotate - [select for diffs], Tue Jun 24 11:18:15 2008 UTC (14 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, haad-dm
Changes since 1.200: +4 -4 lines
Diff to previous 1.200 (colored)

Replace references to getsock/getvnode.

Revision 1.200 / (download) - annotate - [select for diffs], Tue Jun 24 10:04:10 2008 UTC (14 years, 7 months ago) by gmcgarry
Branch: MAIN
Changes since 1.199: +3 -3 lines
Diff to previous 1.199 (colored)

ioctl commands are defined unsigned long, so cast cmd to unsigned long before comparison.

Revision 1.198.2.3 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:54 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.198.2.2: +3 -3 lines
Diff to previous 1.198.2.2 (colored) to branchpoint 1.198 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.195.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:04 2008 UTC (14 years, 7 months ago) by yamt
Branch: yamt-pf42
Changes since 1.195.2.1: +3 -3 lines
Diff to previous 1.195.2.1 (colored) to branchpoint 1.195 (colored) next main 1.196 (colored)

sync with head

Revision 1.193.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:03 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.193.6.1: +8 -30 lines
Diff to previous 1.193.6.1 (colored) to branchpoint 1.193 (colored)

Sync with HEAD.

Revision 1.199 / (download) - annotate - [select for diffs], Wed May 28 12:01:10 2008 UTC (14 years, 8 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.198: +3 -3 lines
Diff to previous 1.198 (colored)

Add LINUX_TMPFS_SUPER_MAGIC, and map it to our tmpfs.
This makes sem_open/sem_unlink (POSIX named semaphores) work under
NPTL emulation.

Revision 1.195.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.195: +9 -12 lines
Diff to previous 1.195 (colored)

sync with head.

Revision 1.197.2.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.197: +2 -9 lines
Diff to previous 1.197 (colored)

sync with head.

Revision 1.198.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.198.2.1: +2 -3 lines
Diff to previous 1.198.2.1 (colored) to branchpoint 1.198 (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.198.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:56 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.198: +3 -2 lines
Diff to previous 1.198 (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.198 / (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-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.197: +2 -9 lines
Diff to previous 1.197 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.197 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:22 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.196: +6 -6 lines
Diff to previous 1.196 (colored)

Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

Revision 1.196 / (download) - annotate - [select for diffs], Wed Apr 23 13:05:54 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.195: +7 -3 lines
Diff to previous 1.195 (colored)

Fix locking.

Revision 1.195 / (download) - annotate - [select for diffs], Fri Apr 4 12:38:53 2008 UTC (14 years, 9 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.194: +2 -21 lines
Diff to previous 1.194 (colored)

Cleanup. Kill linux_sys_msync and use sys___msync13 instead.
No functional changes expected.

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

Sync with HEAD.

Revision 1.194.2.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:46:59 2008 UTC (14 years, 10 months ago) by christos
Branch: christos-time_t
Changes since 1.194: +13 -7 lines
Diff to previous 1.194 (colored)

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

Revision 1.139.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.139.2.8: +5 -5 lines
Diff to previous 1.139.2.8 (colored) next main 1.140 (colored)

sync with head.

Revision 1.183.8.4 / (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.183.8.3: +2 -161 lines
Diff to previous 1.183.8.3 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored)

sync with HEAD

Revision 1.194 / (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-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: christos-time_t
Changes since 1.193: +5 -5 lines
Diff to previous 1.193 (colored)

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

Revision 1.184.2.4 / (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.184.2.3: +2 -161 lines
Diff to previous 1.184.2.3 (colored) to branchpoint 1.184 (colored) next main 1.185 (colored)

Sync with HEAD.

Revision 1.139.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:41:25 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.139.2.7: +117 -380 lines
Diff to previous 1.139.2.7 (colored)

sync with head

Revision 1.189.4.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:58 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.189.4.1: +0 -159 lines
Diff to previous 1.189.4.1 (colored) to branchpoint 1.189 (colored) next main 1.190 (colored)

Sync with HEAD

Revision 1.193 / (download) - annotate - [select for diffs], Tue Jan 15 22:38:34 2008 UTC (15 years ago) by njoly
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, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2
Changes since 1.192: +2 -161 lines
Diff to previous 1.192 (colored)

compat linux (and linux32) uid16 functions cleanup and fixes.

- Move uid16 functions to their own file linux_uid16.c, included by
  needed archs (arm, i386 and m68k).
- Add new MI types linux_{u,g}id16_t.
- Add macros to handle linux_uid16_t and uid_t conversions.
- Add linux_sys_getres{uid,gid}16 syscalls, to fix an overflow with
  bad sizes given to copyout when linux_sys_getres{uid,gid} are used.
- Update arm syscall table to use more uid16 functions.

Revision 1.183.8.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:51:12 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.183.8.2: +147 -251 lines
Diff to previous 1.183.8.2 (colored) to branchpoint 1.183 (colored)

sync with HEAD

Revision 1.189.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:52:36 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.189: +136 -153 lines
Diff to previous 1.189 (colored)

Sync with HEAD

Revision 1.184.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:09 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.184.2.2: +137 -241 lines
Diff to previous 1.184.2.2 (colored) to branchpoint 1.184 (colored)

Sync with HEAD.

Revision 1.187.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.187.2.1: +137 -241 lines
Diff to previous 1.187.2.1 (colored) to branchpoint 1.187 (colored) next main 1.188 (colored)

Sync with head.

Revision 1.192 / (download) - annotate - [select for diffs], Mon Dec 24 14:17:18 2007 UTC (15 years, 1 month ago) by njoly
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base
Changes since 1.191: +2 -26 lines
Diff to previous 1.191 (colored)

Kill unneeded linux_sys_getpgid and use native sys_getpgid instead.

Revision 1.191 / (download) - annotate - [select for diffs], Fri Dec 21 22:26:22 2007 UTC (15 years, 1 month ago) by njoly
Branch: MAIN
Changes since 1.190: +17 -9 lines
Diff to previous 1.190 (colored)

- Fix setfsuid to return uid on success.
- Replace getfsuid, which never existed on Linux, by correct setfsgid
  syscall.

ok by christos and dsl.

Revision 1.190 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:55 2007 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.189: +126 -127 lines
Diff to previous 1.189 (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.183.6.4 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:01 2007 UTC (15 years, 1 month ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.183.6.3: +35 -122 lines
Diff to previous 1.183.6.3 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored)

Sync with HEAD.

Revision 1.189 / (download) - annotate - [select for diffs], Sat Dec 8 18:36:08 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.188: +31 -118 lines
Diff to previous 1.188 (colored)

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

Revision 1.184.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:49 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.184.2.1: +7 -7 lines
Diff to previous 1.184.2.1 (colored) to branchpoint 1.184 (colored)

Sync with HEAD.

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

Sync with head.

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

sync with head

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

Remove all the __P

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

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.187 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:32 2007 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.186: +3 -3 lines
Diff to previous 1.186 (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.184.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:28 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.184: +10 -8 lines
Diff to previous 1.184 (colored)

Sync with HEAD.

Revision 1.139.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:51 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.139.2.5: +10 -8 lines
Diff to previous 1.139.2.5 (colored)

sync with head.

Revision 1.183.12.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:36 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.183.12.1: +8 -6 lines
Diff to previous 1.183.12.1 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored)

Sync with HEAD

Revision 1.183.6.2 / (download) - annotate - [select for diffs], Sun Nov 11 16:47:13 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.183.6.1: +10 -8 lines
Diff to previous 1.183.6.1 (colored) to branchpoint 1.183 (colored)

Sync with HEAD.

Revision 1.186 / (download) - annotate - [select for diffs], Thu Nov 8 21:07:23 2007 UTC (15 years, 2 months ago) by njoly
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.185: +8 -8 lines
Diff to previous 1.185 (colored)

Replace strncpy with strlcpy in compat linux and linux32 uname,
old_uname and oldold_uname syscalls to ensure that all *utsname fields
are always NUL terminated.

Revision 1.183.8.2 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:45 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.183.8.1: +4 -2 lines
Diff to previous 1.183.8.1 (colored) to branchpoint 1.183 (colored)

sync with -HEAD

Revision 1.185 / (download) - annotate - [select for diffs], Wed Nov 7 00:24:29 2007 UTC (15 years, 2 months ago) by njoly
Branch: MAIN
Changes since 1.184: +4 -2 lines
Diff to previous 1.184 (colored)

Remove remaining 64-bit compat linux syscalls linux_sys_xxx() (except
for ones without arguments), and replace them by their 32-bit
equivalent linux32_sys_xxxx().

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

sync with HEAD

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

sync with head.

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

Sync with HEAD.

Revision 1.184 / (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
Branch point for: mjf-devfs
Changes since 1.183: +4 -2 lines
Diff to previous 1.183 (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.139.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:32:23 2007 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.139.2.3: +127 -271 lines
Diff to previous 1.139.2.3 (colored)

sync with head.

Revision 1.167.2.5 / (download) - annotate - [select for diffs], Mon Aug 20 21:25:54 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.167.2.4: +4 -4 lines
Diff to previous 1.167.2.4 (colored) next main 1.168 (colored)

Sync with HEAD.

Revision 1.183 / (download) - annotate - [select for diffs], Tue Jul 17 17:42:08 2007 UTC (15 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.182: +4 -4 lines
Diff to previous 1.182 (colored)

Add native mremap system call based on the UVM implementation for
Linux compat. Add code to enforce alignment of the new location.
Special thanks to wizd for helping with the man page.

Revision 1.167.2.4 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:11 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.167.2.3: +52 -78 lines
Diff to previous 1.167.2.3 (colored)

Sync with head.

Revision 1.167.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:16 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.167: +114 -258 lines
Diff to previous 1.167 (colored) next main 1.168 (colored)

Sync with head.

Revision 1.182 / (download) - annotate - [select for diffs], Wed Jul 4 21:59:16 2007 UTC (15 years, 6 months ago) by dsl
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.181: +8 -3 lines
Diff to previous 1.181 (colored)

It seems that min(16,16) isn't a compile time constant.
So don't bother limiting the local arrays to NGROUPS, just use 16.

Revision 1.181 / (download) - annotate - [select for diffs], Sat Jun 30 13:34:19 2007 UTC (15 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.180: +26 -31 lines
Diff to previous 1.180 (colored)

Match updates to kauth_cred_set/getgroups.

Revision 1.180 / (download) - annotate - [select for diffs], Sat Jun 23 15:27:23 2007 UTC (15 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.179: +51 -78 lines
Diff to previous 1.179 (colored)

Simplify code to get/set 16bit group lists.
Cloned from ibcs2 copy (maybe I should have worked out somewhere to put this
as common code...)

Revision 1.179 / (download) - annotate - [select for diffs], Sat Jun 23 09:09:56 2007 UTC (15 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.178: +3 -2 lines
Diff to previous 1.178 (colored)

These now need sys/prot.h

Revision 1.167.2.3 / (download) - annotate - [select for diffs], Sat Jun 9 23:57:42 2007 UTC (15 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.167.2.2: +8 -18 lines
Diff to previous 1.167.2.2 (colored)

Sync with head.

Revision 1.178 / (download) - annotate - [select for diffs], Mon Jun 4 21:02:22 2007 UTC (15 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.177: +5 -4 lines
Diff to previous 1.177 (colored)

Fix select() without a timeout parameter.

Revision 1.177 / (download) - annotate - [select for diffs], Sat Jun 2 11:51:42 2007 UTC (15 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.176: +7 -18 lines
Diff to previous 1.176 (colored)

Call selcommon() directly instead of using the stackgap...

Revision 1.167.2.2 / (download) - annotate - [select for diffs], Sun May 27 14:35:06 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.167.2.1: +59 -159 lines
Diff to previous 1.167.2.1 (colored)

Sync with head.

Revision 1.166.2.5 / (download) - annotate - [select for diffs], Thu May 17 13:41:14 2007 UTC (15 years, 8 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.166.2.4: +40 -60 lines
Diff to previous 1.166.2.4 (colored) to branchpoint 1.166 (colored) next main 1.167 (colored)

sync with head.

Revision 1.176 / (download) - annotate - [select for diffs], Sat May 12 21:07:02 2007 UTC (15 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.175: +15 -26 lines
Diff to previous 1.175 (colored)

There is no need to use the stackgap for get/setrlimit.

Revision 1.175 / (download) - annotate - [select for diffs], Thu May 10 21:30:15 2007 UTC (15 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.174: +3 -3 lines
Diff to previous 1.174 (colored)

- linux uname -m on x86 returns i{3,4,5,6}86 make it so.
- delete the machine sysctl that never worked, and gc linux_machine.

Revision 1.174 / (download) - annotate - [select for diffs], Tue May 8 20:54:15 2007 UTC (15 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.173: +10 -7 lines
Diff to previous 1.173 (colored)

Remember to copy the rusage to the users buffer.

Revision 1.173 / (download) - annotate - [select for diffs], Mon May 7 16:53:18 2007 UTC (15 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.172: +23 -35 lines
Diff to previous 1.172 (colored)

Split sys_wait4() so that compat code can fiddle with the returned 'status'
and 'rusage' without having to copy data to/from stackgap buffers.
The old split (find_stopped_child) could be removed.
amd64 seems to run netbsd32, linux and linux32 emulations. sparc64 compiles.

Revision 1.166.2.4 / (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.166.2.3: +19 -48 lines
Diff to previous 1.166.2.3 (colored) to branchpoint 1.166 (colored)

sync with head.

Revision 1.172 / (download) - annotate - [select for diffs], Mon Apr 30 14:05:47 2007 UTC (15 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.171: +19 -46 lines
Diff to previous 1.171 (colored)

Rework compat stat() and statvfs() code so that it no longer uses the stackgap.

Revision 1.171 / (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.170: +2 -4 lines
Diff to previous 1.170 (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.165.2.2 / (download) - annotate - [select for diffs], Fri Apr 20 20:26:04 2007 UTC (15 years, 9 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.165.2.1: +1 -53 lines
Diff to previous 1.165.2.1 (colored) to branchpoint 1.165 (colored)

Pull up following revision(s) (requested by njoly in ticket #582):
	sys/compat/linux32/common/linux32_types.h: revision 1.4 via patch
	sys/compat/linux32/arch/amd64/syscalls.master: revision 1.14 via patch
	sys/compat/linux/common/linux_statfs.h: revision 1.1 via patch
	sys/compat/linux/common/linux_misc.c: revision 1.170 via patch
	sys/compat/linux32/common/linux32_misc.c: revision 1.5 via patch
	sys/compat/linux32/files.linux32: revision 1.4 via patch
- Add compat amd64 linux32 statfs support, adapted from PR/35956.
- Move bsd_to_linux_statfs() function to its own file to be shared
  between both linux compats.

Revision 1.165.2.1 / (download) - annotate - [select for diffs], Fri Apr 20 20:14:11 2007 UTC (15 years, 9 months ago) by bouyer
Branch: netbsd-4
Changes since 1.165: +2 -6 lines
Diff to previous 1.165 (colored)

Pull up following revision(s) (requested by njoly in ticket #581):
	sys/compat/linux/common/linux_misc.c: revision 1.168
	sys/compat/linux/arch/amd64/syscalls.master: revision 1.18
	sys/compat/linux/common/linux_types.h: revision 1.25
	sys/compat/linux/arch/amd64/linux_machdep.h: revision 1.6
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.87
Fix compat linux statfs/fstatfs syscalls on amd64.
- Do not use statfs64/fstatfs64 as they have an extra size argument.
- Add full 64bit linux struct statfs support.

Revision 1.166.2.3 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:14 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.166.2.2: +4 -55 lines
Diff to previous 1.166.2.2 (colored) to branchpoint 1.166 (colored)

sync with head.

Revision 1.170 / (download) - annotate - [select for diffs], Wed Apr 11 11:45:55 2007 UTC (15 years, 9 months ago) by njoly
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.169: +4 -55 lines
Diff to previous 1.169 (colored)

- Add compat amd64 linux32 statfs support, adapted from PR/35956.
- Move bsd_to_linux_statfs() function to its own file to be shared
  between both linux compats.

ok by manu.

Revision 1.167.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:22 2007 UTC (15 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.167: +3 -11 lines
Diff to previous 1.167 (colored)

Sync with head.

Revision 1.168.2.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:37 2007 UTC (15 years, 10 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.168: +3 -7 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

Pullup to -current

Revision 1.166.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:09 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.166.2.1: +3 -11 lines
Diff to previous 1.166.2.1 (colored) to branchpoint 1.166 (colored)

sync with head.

Revision 1.169 / (download) - annotate - [select for diffs], Fri Mar 23 04:16:13 2007 UTC (15 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.168: +3 -7 lines
Diff to previous 1.168 (colored)

implement emul.linux.kern.machine, which can be set to "i686", like
some applications seem to want.

Revision 1.168 / (download) - annotate - [select for diffs], Wed Mar 14 12:44:39 2007 UTC (15 years, 10 months ago) by njoly
Branch: MAIN
Branch point for: reinoud-bufcleanup
Changes since 1.167: +2 -6 lines
Diff to previous 1.167 (colored)

Fix compat linux statfs/fstatfs syscalls on amd64.
- Do not use statfs64/fstatfs64 as they have an extra size argument.
- Add full 64bit linux struct statfs support.

ok by manu

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

Sync with HEAD.

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

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

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

sync with head.

Revision 1.166 / (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.165: +6 -6 lines
Diff to previous 1.165 (colored)

Merge newlock2 to head.

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

Remove support for SA. Ok core@.

Revision 1.139.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.139.2.1: +36 -49 lines
Diff to previous 1.139.2.1 (colored)

sync with head.

Revision 1.161.2.3 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:43 2006 UTC (16 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.161.2.2: +3 -3 lines
Diff to previous 1.161.2.2 (colored) to branchpoint 1.161 (colored)

Checkpoint work in progress.

Revision 1.162.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:47 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.162.2.1: +13 -13 lines
Diff to previous 1.162.2.1 (colored) to branchpoint 1.162 (colored) next main 1.163 (colored)

sync with head.

Revision 1.161.2.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:07 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.161.2.1: +19 -41 lines
Diff to previous 1.161.2.1 (colored) to branchpoint 1.161 (colored)

Sync with head.

Revision 1.165 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:42 2006 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, newlock2-nbase, newlock2-base, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.164: +11 -11 lines
Diff to previous 1.164 (colored)

__unused removal on arguments; approved by core.

Revision 1.164 / (download) - annotate - [select for diffs], Tue Nov 14 13:34:29 2006 UTC (16 years, 2 months ago) by elad
Branch: MAIN
Changes since 1.163: +4 -4 lines
Diff to previous 1.163 (colored)

Clean some KAUTH_GENERIC_ISSUSER usage in compat code.

Revision 1.161.2.1 / (download) - annotate - [select for diffs], Tue Oct 24 21:10:22 2006 UTC (16 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.161: +6 -5 lines
Diff to previous 1.161 (colored)

- Redo LWP locking slightly and fix some races.
- Fix some locking botches.
- Make signal mask / stack per-proc for SA processes.
- Add _lwp_kill().

Revision 1.162.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:24 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.162: +11 -34 lines
Diff to previous 1.162 (colored)

sync with head

Revision 1.163 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:48 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.162: +11 -34 lines
Diff to previous 1.162 (colored)

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

Revision 1.151.2.6 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:22 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.151.2.5: +8 -7 lines
Diff to previous 1.151.2.5 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored)

sync with head.

Revision 1.162 / (download) - annotate - [select for diffs], Wed Sep 13 19:55:49 2006 UTC (16 years, 4 months ago) by manu
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.161: +8 -7 lines
Diff to previous 1.161 (colored)

Jumbo COMPAT_LINUX/COMPAT_LINUX32 bugfix, with the help of Nicolas Joly
- Fix shmat return value on amd64: it uses no black magic with retval[0]
- Fix integer overflows in sysinfo
- Implement sysinfo, mmap2, sched_getparam, sched_getscheduler, mremap,
  and madvise in COMPAT_LINUX32
- Fix improper types used in setgroups16/getgroups16
- Implement mmap2 for COMPAT_LINUX32
- Ifdef debug messages by DEBUG_LINUX

Revision 1.149.2.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.149: +135 -133 lines
Diff to previous 1.149 (colored) next main 1.150 (colored)

sync with head

Revision 1.151.2.5 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:41 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.151.2.4: +14 -2 lines
Diff to previous 1.151.2.4 (colored) to branchpoint 1.151 (colored)

sync with head.

Revision 1.161 / (download) - annotate - [select for diffs], Fri Sep 1 21:20:47 2006 UTC (16 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.160: +10 -4 lines
Diff to previous 1.160 (colored)

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

Revision 1.160 / (download) - annotate - [select for diffs], Wed Aug 30 17:14:34 2006 UTC (16 years, 5 months ago) by he
Branch: MAIN
Changes since 1.159: +4 -2 lines
Diff to previous 1.159 (colored)

Allow this to build as an LKM by testing for _KERNEL_OPT before
including opt_ptrace.h.

Revision 1.159 / (download) - annotate - [select for diffs], Wed Aug 30 11:14:39 2006 UTC (16 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.158: +6 -2 lines
Diff to previous 1.158 (colored)

Update to deal with options PTRACE

Revision 1.151.2.4 / (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.151.2.3: +9 -12 lines
Diff to previous 1.151.2.3 (colored) to branchpoint 1.151 (colored)

sync with head

Revision 1.158 / (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-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.157: +9 -12 lines
Diff to previous 1.157 (colored)

Use the LWP cached credentials where sane.

Revision 1.151.2.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:46:18 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.151.2.2: +29 -7 lines
Diff to previous 1.151.2.2 (colored) to branchpoint 1.151 (colored)

sync with head.

Revision 1.139.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.139: +210 -150 lines
Diff to previous 1.139 (colored)

sync with head.

Revision 1.154.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:45:52 2006 UTC (16 years, 7 months ago) by chap
Branch: chap-midi
Changes since 1.154: +29 -7 lines
Diff to previous 1.154 (colored) next main 1.155 (colored)

Sync with head.

Revision 1.157 / (download) - annotate - [select for diffs], Tue Jun 13 16:54:56 2006 UTC (16 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Changes since 1.156: +3 -3 lines
Diff to previous 1.156 (colored)

change 20 to NZERO; pointed out by mrg.

Revision 1.156 / (download) - annotate - [select for diffs], Sat Jun 10 21:18:11 2006 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.155: +26 -2 lines
Diff to previous 1.155 (colored)

PR/33671: Nicolas Joly: Add a getpriority syscall to account for the fact
that the linux getpriority is off by 20.

Revision 1.155 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:33 2006 UTC (16 years, 7 months ago) by kardel
Branch: MAIN
Changes since 1.154: +5 -7 lines
Diff to previous 1.154 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.149.4.3 / (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.149.4.2: +42 -30 lines
Diff to previous 1.149.4.2 (colored) next main 1.150 (colored)

Sync with head.

Revision 1.151.6.2 / (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.151.6.1: +42 -30 lines
Diff to previous 1.151.6.1 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored)

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

Revision 1.151.2.2 / (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.151.2.1: +42 -30 lines
Diff to previous 1.151.2.1 (colored) to branchpoint 1.151 (colored)

sync with head.

Revision 1.154 / (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-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.153: +18 -14 lines
Diff to previous 1.153 (colored)

integrate kauth.

Revision 1.151.4.6 / (download) - annotate - [select for diffs], Thu May 11 23:27:31 2006 UTC (16 years, 8 months ago) by elad
Branch: elad-kernelauth
Changes since 1.151.4.5: +26 -18 lines
Diff to previous 1.151.4.5 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored)

sync with head

Revision 1.153 / (download) - annotate - [select for diffs], Wed May 10 11:05:34 2006 UTC (16 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.152: +26 -18 lines
Diff to previous 1.152 (colored)

don't allocate struct statvfs on stack as it's too large.
while i'm here, remove some unnecessary casts.

Revision 1.151.4.5 / (download) - annotate - [select for diffs], Sat May 6 23:31:26 2006 UTC (16 years, 8 months ago) by christos
Branch: elad-kernelauth
Changes since 1.151.4.4: +3 -2 lines
Diff to previous 1.151.4.4 (colored) to branchpoint 1.151 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.149.4.2 / (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.149.4.1: +54 -95 lines
Diff to previous 1.149.4.1 (colored)

Sync with head.

Revision 1.151.4.4 / (download) - annotate - [select for diffs], Wed Apr 19 04:01:21 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.151.4.3: +11 -5 lines
Diff to previous 1.151.4.3 (colored) to branchpoint 1.151 (colored)

sync with head.

Revision 1.151.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:41 2006 UTC (16 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.151: +11 -5 lines
Diff to previous 1.151 (colored)

sync with head.

Revision 1.151.6.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:02 2006 UTC (16 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.151: +11 -5 lines
Diff to previous 1.151 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.152 / (download) - annotate - [select for diffs], Fri Mar 17 06:01:14 2006 UTC (16 years, 10 months ago) by erh
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.151: +11 -5 lines
Diff to previous 1.151 (colored)

Fix Coverity issues 2321 and 2320.  Make sure to free allocated memory.

Revision 1.151.4.3 / (download) - annotate - [select for diffs], Fri Mar 10 14:28:52 2006 UTC (16 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.151.4.2: +3 -3 lines
Diff to previous 1.151.4.2 (colored) to branchpoint 1.151 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.151.4.2 / (download) - annotate - [select for diffs], Wed Mar 8 19:24:07 2006 UTC (16 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.151.4.1: +3 -3 lines
Diff to previous 1.151.4.1 (colored) to branchpoint 1.151 (colored)

Adapt to kernel authorization KPI.

Revision 1.151.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.151: +16 -13 lines
Diff to previous 1.151 (colored)

Adapt to kernel authorization KPI.

Revision 1.151 / (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-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.150: +3 -4 lines
Diff to previous 1.150 (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.147.2.3 / (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.147.2.2: +44 -90 lines
Diff to previous 1.147.2.2 (colored) next main 1.148 (colored)

sync with head.

Revision 1.150 / (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.149: +44 -90 lines
Diff to previous 1.149 (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.149.4.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:03:58 2006 UTC (16 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.149: +5 -7 lines
Diff to previous 1.149 (colored)

Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".

Revision 1.147.2.2 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:48 2006 UTC (17 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.147.2.1: +45 -35 lines
Diff to previous 1.147.2.1 (colored)

sync with head.

Revision 1.149 / (download) - annotate - [select for diffs], Tue Jan 31 14:02:55 2006 UTC (17 years ago) by yamt
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.148: +8 -0 lines
Diff to previous 1.148 (colored)

linux_sys_mremap: validate flags.

Revision 1.148 / (download) - annotate - [select for diffs], Sat Jan 21 13:34:15 2006 UTC (17 years ago) by yamt
Branch: MAIN
Changes since 1.147: +38 -36 lines
Diff to previous 1.147 (colored)

implement compat_linux mremap.

Revision 1.147.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.147: +3 -4 lines
Diff to previous 1.147 (colored)

adapt some random parts of kernel to uio_vmspace.

Revision 1.147 / (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
Changes since 1.146: +6 -6 lines
Diff to previous 1.146 (colored)

merge ktrace-lwp.

Revision 1.121.2.12 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:46 2005 UTC (17 years, 1 month ago) by christos
Branch: ktrace-lwp
Changes since 1.121.2.11: +26 -2 lines
Diff to previous 1.121.2.11 (colored) next main 1.122 (colored)

Sync with head.

Revision 1.146 / (download) - annotate - [select for diffs], Wed Nov 30 11:36:22 2005 UTC (17 years, 2 months ago) by rpaulo
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.145: +3 -3 lines
Diff to previous 1.145 (colored)

Remove the debugging printf left in linux_sys_getrlimit().

Revision 1.143.2.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:05 2005 UTC (17 years, 2 months ago) by yamt
Branch: yamt-readahead
Changes since 1.143: +26 -2 lines
Diff to previous 1.143 (colored) next main 1.144 (colored)

sync with head.

Revision 1.145 / (download) - annotate - [select for diffs], Wed Nov 23 22:23:30 2005 UTC (17 years, 2 months ago) by manu
Branch: MAIN
CVS Tags: yamt-readahead-base3
Changes since 1.144: +2 -3 lines
Diff to previous 1.144 (colored)

Remove a debug printf

Revision 1.144 / (download) - annotate - [select for diffs], Wed Nov 23 16:14:57 2005 UTC (17 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.143: +27 -2 lines
Diff to previous 1.143 (colored)

- Add Linux tkill and tgkill (partial emulation).
- Fix getrlimit on amd64

Revision 1.121.2.11 / (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.121.2.10: +70 -27 lines
Diff to previous 1.121.2.10 (colored)

Sync with HEAD. Here we go again...

Revision 1.143 / (download) - annotate - [select for diffs], Mon Nov 7 14:17:45 2005 UTC (17 years, 2 months ago) by manu
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.142: +3 -2 lines
Diff to previous 1.142 (colored)

Include linux_machdep.h so that LINUX_UNAME_ARCH ges defined (fixes
uname emulation)

Revision 1.142 / (download) - annotate - [select for diffs], Fri Nov 4 16:58:14 2005 UTC (17 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.141: +6 -2 lines
Diff to previous 1.141 (colored)

Fix machine name returned by uname on Linux

Revision 1.140.2.1 / (download) - annotate - [select for diffs], Wed Nov 2 11:57:56 2005 UTC (17 years, 3 months ago) by yamt
Branch: yamt-vop
Changes since 1.140: +37 -10 lines
Diff to previous 1.140 (colored) next main 1.141 (colored)

sync with head.

Revision 1.135.2.2 / (download) - annotate - [select for diffs], Tue Nov 1 22:31:17 2005 UTC (17 years, 3 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.135.2.1: +35 -8 lines
Diff to previous 1.135.2.1 (colored) to branchpoint 1.135 (colored) next main 1.136 (colored)

Pull up following revision(s) (requested by chs in ticket #924):
	sys/compat/linux/common/linux_misc.c: revision 1.141
	sys/compat/linux/common/linux_mmap.h: revision 1.17
add support for the linux PROT_GROWS{DOWN,UP} mprotect() flags.
fixes PR 30008.

Revision 1.141 / (download) - annotate - [select for diffs], Sun Oct 30 16:25:50 2005 UTC (17 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3
Changes since 1.140: +37 -10 lines
Diff to previous 1.140 (colored)

add support for the linux PROT_GROWS{DOWN,UP} mprotect() flags.
fixes PR 30008.

Revision 1.135.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
Changes since 1.135: +10 -4 lines
Diff to previous 1.135 (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.140 / (download) - annotate - [select for diffs], Sat Sep 10 19:20:50 2005 UTC (17 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.139: +4 -3 lines
Diff to previous 1.139 (colored)

Initial addition of tmpfs, an efficient memory file-system.  This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).

Revision 1.139 / (download) - annotate - [select for diffs], Thu Jun 2 13:03:27 2005 UTC (17 years, 8 months ago) by drochner
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.138: +3 -3 lines
Diff to previous 1.138 (colored)

more cast-qual fallout

Revision 1.138 / (download) - annotate - [select for diffs], Sun May 29 22:08:16 2005 UTC (17 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.137: +10 -11 lines
Diff to previous 1.137 (colored)

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

Revision 1.137 / (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.136: +11 -6 lines
Diff to previous 1.136 (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.134.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.134: +22 -16 lines
Diff to previous 1.134 (colored) next main 1.135 (colored)

sync with -current

Revision 1.136 / (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.135: +10 -4 lines
Diff to previous 1.135 (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.134.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.134: +14 -14 lines
Diff to previous 1.134 (colored) next main 1.135 (colored)

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

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

Sync with HEAD.

Hi Perry!

Revision 1.135 / (download) - annotate - [select for diffs], Sat Feb 26 23:10:19 2005 UTC (17 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.134: +14 -14 lines
Diff to previous 1.134 (colored)

nuke trailing whitespace

Revision 1.121.2.9 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:43 2004 UTC (18 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.121.2.8: +4 -3 lines
Diff to previous 1.121.2.8 (colored)

Sync with HEAD.

Revision 1.134 / (download) - annotate - [select for diffs], Sat Nov 13 07:19:27 2004 UTC (18 years, 2 months ago) by christos
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.133: +4 -3 lines
Diff to previous 1.133 (colored)

Add ptyfs magic number and entry.

Revision 1.122.2.4 / (download) - annotate - [select for diffs], Fri Nov 12 06:18:59 2004 UTC (18 years, 2 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.122.2.3: +13 -6 lines
Diff to previous 1.122.2.3 (colored) to branchpoint 1.122 (colored) next main 1.123 (colored)

Pullup rev 1.133 (requested by christos in ticket #950)

Prevent linux processes from losing their children and creating
tons of zombie processes.

Revision 1.121.2.8 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:43 2004 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.121.2.7: +13 -6 lines
Diff to previous 1.121.2.7 (colored)

Sync with HEAD

Revision 1.133 / (download) - annotate - [select for diffs], Thu Oct 7 19:30:28 2004 UTC (18 years, 3 months ago) by erh
Branch: MAIN
Changes since 1.132: +13 -6 lines
Diff to previous 1.132 (colored)

PR kern/27184: Have linux_sys_waitpid() call linux_sys_wait4() so the
  supported options can't get out of sync.  This add support for the
  linux __WCLONE and __WALL options (NetBSD version: WALTSIG and WALLSIG)
Add a diagnostic check to see if the one unhandled option (__WNOTHREAD) is
  specified.
This should prevent linux processes from losing their children and creating
  tons of zombie processes.

Revision 1.121.2.7 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:18 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.121.2.6: +26 -16 lines
Diff to previous 1.121.2.6 (colored)

Sync with HEAD.

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

Fix the sync with head I botched.

Revision 1.132 / (download) - annotate - [select for diffs], Mon Sep 20 18:41:07 2004 UTC (18 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.131: +10 -12 lines
Diff to previous 1.131 (colored)

implement support for Linux statfs64() syscall - 64bit variant of statfs()

Revision 1.131 / (download) - annotate - [select for diffs], Sun Sep 19 16:50:11 2004 UTC (18 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.130: +18 -6 lines
Diff to previous 1.130 (colored)

Adjust struct statfs content to flag that the newer Linux kernel do
provide f_frsize. It cannot be actually used to GNU C statvfs() bug
in f_frsize != f_bsize case, so just keep pretending we don't support it.
Update comments and explain the situation in detail there.

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

Sync with HEAD.

Revision 1.130 / (download) - annotate - [select for diffs], Fri Sep 17 14:11:24 2004 UTC (18 years, 4 months ago) by skrll
Branch: MAIN
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.129 / (download) - annotate - [select for diffs], Mon Sep 13 20:09:44 2004 UTC (18 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.128: +4 -4 lines
Diff to previous 1.128 (colored)

bsd_to_linux_statfs():
- filesystem size is expressed in number of fragments, not blocks;
  this fixes computed filesystem sizes for Linux df(1) and other Linux
  binaries using statfs(2) for filesystems, which use different value
  for frament and block, such as FFS
- use FS f_namemax instead of always using MAXNAMLEN

Revision 1.122.2.3 / (download) - annotate - [select for diffs], Sun Sep 5 10:49:57 2004 UTC (18 years, 4 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1
Changes since 1.122.2.2: +55 -7 lines
Diff to previous 1.122.2.2 (colored) to branchpoint 1.122 (colored)

Pull up revision 1.128 (requested by jdolecek in ticket #810):
handle mmap() request with MAP_GROWSDOWN flag (request for stack-like
grow-down auto extend segment) by allocating segment sized at
current stack size limit, and offsetting requested/returned address
as required
due to how normal virtual memory management work, allocating the
full sized stack memory segment up-front actually requires exactly same
amount of VA space and physical memory as the Linux 'grow' scheme and the
'grow' scheme is quite a lot more difficult to use in applications correctly,
so it's not very apparent why Linux introduced this feature at all
this fixes Thomas Klausner's Heroes3 crash, and might also
fix PR 26687 by Jan Schaumann

Revision 1.121.2.4 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:16 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.121.2.3: +57 -9 lines
Diff to previous 1.121.2.3 (colored)

Sync with HEAD

Revision 1.128 / (download) - annotate - [select for diffs], Sun Aug 29 14:08:06 2004 UTC (18 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.127: +57 -9 lines
Diff to previous 1.127 (colored)

handle mmap() request with MAP_GROWSDOWN flag (request for stack-like
grow-down auto extend segment) by allocating segment sized at
current stack size limit, and offsetting requested/returned address
as required

due to how normal virtual memory management work, allocating the
full sized stack memory segment up-front actually requires exactly same
amount of VA space and physical memory as the Linux 'grow' scheme and the
'grow' scheme is quite a lot more difficult to use in applications correctly,
so it's not very apparent why Linux introduced this feature at all

this fixes Thomas Klausner's Heroes3 crash, and might also
fix PR 26687 by Jan Schaumann

Revision 1.122.2.2 / (download) - annotate - [select for diffs], Sun Aug 15 13:59:07 2004 UTC (18 years, 5 months ago) by tron
Branch: netbsd-2-0
Changes since 1.122.2.1: +4 -4 lines
Diff to previous 1.122.2.1 (colored) to branchpoint 1.122 (colored)

Pull up revision 1.127 (requested by jdolecek in ticket #762):
linux processes sharing VM space (via clone() call) must also
share same 'break' value used for brk()/sbrk(), otherwise application SIGSEGVs
quickly once different threads try to adjust data segment size
this fixes linux Mozilla crashes with SuSE 9.1 libraries, and possibly
other linux applications using real threads

Revision 1.121.2.3 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:14 2004 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.121.2.2: +4 -4 lines
Diff to previous 1.121.2.2 (colored)

Sync with HEAD.

Revision 1.122.2.1 / (download) - annotate - [select for diffs], Wed Aug 11 19:55:46 2004 UTC (18 years, 5 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.122: +3 -3 lines
Diff to previous 1.122 (colored)

Pullup rev 1.126 (requested by jdolecek in ticket #740)

Linux returns ENOMEM (not EFAULT) if the address specified in mprotect()
is not part of process address space.

Revision 1.127 / (download) - annotate - [select for diffs], Sun Aug 8 09:40:50 2004 UTC (18 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.126: +4 -4 lines
Diff to previous 1.126 (colored)

linux processes sharing VM space (via clone() call) must also
share same 'break' value used for brk()/sbrk(), otherwise application SIGSEGVs
quickly once different threads try to adjust data segment size

this fixes linux Mozilla crashes with SuSE 9.1 libraries, and possibly
other linux applications using real threads

Revision 1.121.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:04 2004 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.121.2.1: +22 -22 lines
Diff to previous 1.121.2.1 (colored)

Sync with HEAD

Revision 1.126 / (download) - annotate - [select for diffs], Sun Aug 1 22:44:10 2004 UTC (18 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.125: +3 -3 lines
Diff to previous 1.125 (colored)

Linux returns ENOMEM (not EFAULT) if the address specified in mprotect()
is not part of process address space

this fixes Linux libgcc_s's stack executability setup

Revision 1.125 / (download) - annotate - [select for diffs], Wed Apr 21 02:37:20 2004 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.124: +7 -5 lines
Diff to previous 1.124 (colored)

fix more statvfs1 fallout

Revision 1.124 / (download) - annotate - [select for diffs], Wed Apr 21 02:27:34 2004 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.123: +3 -3 lines
Diff to previous 1.123 (colored)

s/statvfs/statvfs1/

Revision 1.123 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:36 2004 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.122: +15 -14 lines
Diff to previous 1.122 (colored)

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

Revision 1.122 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:23 2003 UTC (19 years, 1 month ago) by atatat
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.121: +7 -10 lines
Diff to previous 1.121 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.109.4.5 / (download) - annotate - [select for diffs], Sun Oct 26 06:36:37 2003 UTC (19 years, 3 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.109.4.4: +3 -3 lines
Diff to previous 1.109.4.4 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

Pullup rev 1.119 (ticket #1428)

Implement MAP_TRYFIXED for linux emulation.

Revision 1.109.4.4 / (download) - annotate - [select for diffs], Wed Oct 22 04:03:51 2003 UTC (19 years, 3 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.109.4.3: +57 -15 lines
Diff to previous 1.109.4.3 (colored) to branchpoint 1.109 (colored)

Pullup rev 1.118 (via patch) (requested by tv in ticket #1427)

Proper support for mmap2

Revision 1.109.4.3 / (download) - annotate - [select for diffs], Wed Oct 22 03:47:43 2003 UTC (19 years, 3 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.109.4.2: +6 -4 lines
Diff to previous 1.109.4.2 (colored) to branchpoint 1.109 (colored)

Pullup rev 115 (requested by tv in ticket #1426)

Don't allow non-page-aligned offsets.

Revision 1.121.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.121: +7 -7 lines
Diff to previous 1.121 (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.121 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:30 2003 UTC (19 years, 7 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.120: +5 -5 lines
Diff to previous 1.120 (colored)

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

Revision 1.120 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:22 2003 UTC (19 years, 7 months ago) by darrenr
Branch: MAIN
Changes since 1.119: +7 -7 lines
Diff to previous 1.119 (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.119 / (download) - annotate - [select for diffs], Mon Jun 23 21:32:36 2003 UTC (19 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored)

PR/21948: Todd Vierling: Implement MAP_TRYFIXED for linux emulation.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Jun 23 21:25:59 2003 UTC (19 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.117: +57 -15 lines
Diff to previous 1.117 (colored)

PR/21937: Todd Vierling: Proper support for mmap2

Revision 1.117 / (download) - annotate - [select for diffs], Wed Mar 5 18:44:46 2003 UTC (19 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.116: +7 -53 lines
Diff to previous 1.116 (colored)

Use do_setresuid() to implement linux_sys_setresuid()

Revision 1.116 / (download) - annotate - [select for diffs], Sat Jan 18 08:02:53 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.115: +115 -97 lines
Diff to previous 1.115 (colored)

Merge the nathanw_sa branch.

Revision 1.83.2.21 / (download) - annotate - [select for diffs], Thu Dec 19 00:42:53 2002 UTC (20 years, 1 month ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.83.2.20: +6 -4 lines
Diff to previous 1.83.2.20 (colored) next main 1.84 (colored)

Sync with HEAD.

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:05:50 2002 UTC (20 years, 1 month ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.115: +26 -28 lines
Diff to previous 1.115 (colored) next main 1.116 (colored)

Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Dec 16 19:37:03 2002 UTC (20 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: gmcgarry_ucred
Changes since 1.114: +6 -4 lines
Diff to previous 1.114 (colored)

Don't allow non-page-aligned offsets! So dumb. From Jason Ish, thanks.

Revision 1.109.4.2 / (download) - annotate - [select for diffs], Thu Dec 12 21:29:13 2002 UTC (20 years, 1 month ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.109.4.1: +14 -11 lines
Diff to previous 1.109.4.1 (colored) to branchpoint 1.109 (colored)

Pull up revision 1.112 (requested by jdolecek in ticket #987):
  Correct linux_sys_times(): if tms is NULL, just return the
  number of ticks since boot instead of returning error; this
  matches what Linux does.  Fixes PR#19027.

Revision 1.83.2.20 / (download) - annotate - [select for diffs], Wed Dec 11 06:37:24 2002 UTC (20 years, 1 month ago) by thorpej
Branch: nathanw_sa
Changes since 1.83.2.19: +17 -13 lines
Diff to previous 1.83.2.19 (colored)

Sync with HEAD.

Revision 1.114 / (download) - annotate - [select for diffs], Mon Nov 25 02:11:23 2002 UTC (20 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.113: +4 -3 lines
Diff to previous 1.113 (colored)

Add ULL to a 64-bit integer constant.

Revision 1.113 / (download) - annotate - [select for diffs], Wed Nov 13 15:20:04 2002 UTC (20 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.112: +5 -5 lines
Diff to previous 1.112 (colored)

we now export information about CLK_TCK via ELF aux args, no need to
hardcode '100' for times(2) anymore; use 'hz' instead

Revision 1.112 / (download) - annotate - [select for diffs], Wed Nov 13 08:27:10 2002 UTC (20 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.111: +14 -11 lines
Diff to previous 1.111 (colored)

linux_sys_times(): if tms is NULL, just return the number of ticks since
  boot, don't error out; this matches what Linux does

Fixes problem reported in kern/19027

Revision 1.83.2.19 / (download) - annotate - [select for diffs], Fri Oct 18 02:41:13 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.18: +1 -1 lines
Diff to previous 1.83.2.18 (colored)

Catch up to -current.

Revision 1.92.2.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:38:04 2002 UTC (20 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.92.2.6: +3 -3 lines
Diff to previous 1.92.2.6 (colored) next main 1.93 (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.111 / (download) - annotate - [select for diffs], Mon Sep 23 05:03:03 2002 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

Put storage class first in "static const" declaration.

Revision 1.92.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:43:19 2002 UTC (20 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.92.2.5: +3 -3 lines
Diff to previous 1.92.2.5 (colored)

sync kqueue branch with HEAD

Revision 1.83.2.18 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:17 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.17: +3 -3 lines
Diff to previous 1.83.2.17 (colored)

Catch up to -current.

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:34:56 2002 UTC (20 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored) next main 1.110 (colored)

catch up with -current.

Revision 1.83.2.17 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:01 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.16: +2 -3 lines
Diff to previous 1.83.2.16 (colored)

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

Revision 1.83.2.16 / (download) - annotate - [select for diffs], Mon Jul 8 21:08:28 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.15: +5 -4 lines
Diff to previous 1.83.2.15 (colored)

Whitespace.

Revision 1.92.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:44:23 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.92.2.4: +90 -82 lines
Diff to previous 1.92.2.4 (colored)

catch up with -current on kqueue branch

Revision 1.109.4.1 / (download) - annotate - [select for diffs], Fri Jun 21 05:25:39 2002 UTC (20 years, 7 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

Pull up revision 1.110 (requested by enami in ticket #331):
Don't copy from destination to destination.

[Fixes setrlimit in linux emulation]

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jun 20 04:01:43 2002 UTC (20 years, 7 months ago) by enami
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

Don't copy from destination to destination.

Revision 1.83.2.15 / (download) - annotate - [select for diffs], Thu Jun 20 03:43:05 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.14: +3 -174 lines
Diff to previous 1.83.2.14 (colored)

Catch up to -current.

Revision 1.83.2.14 / (download) - annotate - [select for diffs], Wed May 29 21:32:40 2002 UTC (20 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.13: +3 -2 lines
Diff to previous 1.83.2.13 (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.109 / (download) - annotate - [select for diffs], Fri May 10 14:49:38 2002 UTC (20 years, 8 months ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.108: +3 -3 lines
Diff to previous 1.108 (colored)

Fix off by one error in check for size of field "d_off" in Linux
"dirent" structure.

Revision 1.108 / (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.107: +2 -172 lines
Diff to previous 1.107 (colored)

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

Revision 1.83.2.13 / (download) - annotate - [select for diffs], Wed Apr 17 02:01:20 2002 UTC (20 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.12: +5 -4 lines
Diff to previous 1.83.2.12 (colored)

LWPify.

Revision 1.83.2.12 / (download) - annotate - [select for diffs], Wed Apr 17 00:05:08 2002 UTC (20 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.11: +180 -9 lines
Diff to previous 1.83.2.11 (colored)

Catch up to -current.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Apr 10 18:19:34 2002 UTC (20 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.106: +176 -6 lines
Diff to previous 1.106 (colored)

implement getdents64; my full java tree builds now.

Revision 1.106 / (download) - annotate - [select for diffs], Wed Apr 3 10:17:01 2002 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

Allocate the right size for the native gid_t array in setgroups16.

Revision 1.83.2.11 / (download) - annotate - [select for diffs], Mon Apr 1 22:14:39 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.10: +5 -5 lines
Diff to previous 1.83.2.10 (colored)

LWPify linux_sys_mprotect().

Revision 1.83.2.10 / (download) - annotate - [select for diffs], Mon Apr 1 07:44:26 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.9: +82 -75 lines
Diff to previous 1.83.2.9 (colored)

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

Revision 1.105 / (download) - annotate - [select for diffs], Sun Mar 31 22:22:47 2002 UTC (20 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.104: +5 -4 lines
Diff to previous 1.104 (colored)

make signal array handling uniform, and put signal arrays in a separate
file. This is simular to errno array handling.

Revision 1.104 / (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.103: +10 -6 lines
Diff to previous 1.103 (colored)

gc debugging printfs.

Revision 1.103 / (download) - annotate - [select for diffs], Fri Mar 22 15:21:28 2002 UTC (20 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.102: +58 -55 lines
Diff to previous 1.102 (colored)

nuke mmap2, cleanup mmap, add mprotect

Revision 1.102 / (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.101: +18 -18 lines
Diff to previous 1.101 (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.92.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:38 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.92.2.3: +202 -32 lines
Diff to previous 1.92.2.3 (colored)

Catch up with -current.

Revision 1.83.2.9 / (download) - annotate - [select for diffs], Thu Feb 28 23:59:32 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.8: +13 -36 lines
Diff to previous 1.83.2.8 (colored)

LWPify linux_{set/get}rlimit(); move and LWPify linux_sysctl().

Revision 1.83.2.8 / (download) - annotate - [select for diffs], Thu Feb 28 04:12:56 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.7: +202 -7 lines
Diff to previous 1.83.2.7 (colored)

Catch up to -current.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Feb 20 17:03:03 2002 UTC (20 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.100: +48 -15 lines
Diff to previous 1.100 (colored)

proper statfs emulation...

Revision 1.100 / (download) - annotate - [select for diffs], Mon Feb 18 22:24:18 2002 UTC (20 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.99: +5 -4 lines
Diff to previous 1.99 (colored)

Resolve alpha compile issues:
- bug with order in args in mask conversion md code.
- flags can be both int and long on the alpha. kludge around that, by not
  passing pointers to the conversion function.
- something is wrong with the toolchain look at the void * cast in copyout().
- sa_restorer is in a different place on the aplha. Deal with that, by not
  initializing it as before. XXX: this should be changed in the MD signal
  definition.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Feb 18 18:51:51 2002 UTC (20 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.98: +12 -4 lines
Diff to previous 1.98 (colored)

Back off previous partially - make linux_release[] back 2.0.38
and linux_version[] "#0 Sun Apr 1 11:11:11 MET 2000";". Add a BIG
WARNING MESSAGE so that people won't break things changing this.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Feb 17 23:56:35 2002 UTC (20 years, 11 months ago) by rafal
Branch: MAIN
Changes since 1.97: +5 -2 lines
Diff to previous 1.97 (colored)

There is no linux_sys_ugetrlimit on mips, so don't try building it (XXX: adds
icky ifdefs)

Revision 1.97 / (download) - annotate - [select for diffs], Fri Feb 15 16:48:02 2002 UTC (20 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.96: +154 -29 lines
Diff to previous 1.96 (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.92.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:51:43 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.92.2.2: +5 -2 lines
Diff to previous 1.92.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.83.2.7 / (download) - annotate - [select for diffs], Tue Jan 8 00:29:05 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.6: +3 -3 lines
Diff to previous 1.83.2.6 (colored)

Catch up to -current.

Revision 1.96 / (download) - annotate - [select for diffs], Sun Dec 9 03:07:43 2001 UTC (21 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names.

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

Catch up to -current.

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

add RCSIDs (including regeneration of files as appropriate)

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:43:47 2001 UTC (21 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Catch up with -current.

Revision 1.83.2.5 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:19 2001 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.4: +3 -3 lines
Diff to previous 1.83.2.4 (colored)

Catch up to -current.

Revision 1.92.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:24 2001 UTC (21 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.92.2.1: +3 -3 lines
Diff to previous 1.92.2.1 (colored)

Update the kqueue branch to HEAD.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Sep 8 07:09:44 2001 UTC (21 years, 4 months ago) by manu
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

Removed a hack to make PowerPC mmap work. This could have side effects on
alpha and i386. It has been tested and works on i386.

Revision 1.83.2.4 / (download) - annotate - [select for diffs], Fri Aug 24 00:08:49 2001 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.3: +5 -2 lines
Diff to previous 1.83.2.3 (colored)

Catch up with -current.

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:44 2001 UTC (21 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.92: +5 -2 lines
Diff to previous 1.92 (colored)

update to -current

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jul 18 19:11:14 2001 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.92: +5 -2 lines
Diff to previous 1.92 (colored)

Add support for the __WALL wait4(2) flag.

Revision 1.83.2.3 / (download) - annotate - [select for diffs], Thu Jun 21 19:59:53 2001 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.2: +20 -10 lines
Diff to previous 1.83.2.2 (colored)

Catch up to -current.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Jun 4 07:44:39 2001 UTC (21 years, 8 months ago) by manu
Branch: MAIN
Branch point for: kqueue
Changes since 1.91: +13 -16 lines
Diff to previous 1.91 (colored)

Fixes by Chuck Silvers to make ptrace PEEKTEXT more 64 bit friendy

Revision 1.91 / (download) - annotate - [select for diffs], Sun Jun 3 18:22:27 2001 UTC (21 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

added a double cast to build on alpha

Revision 1.90 / (download) - annotate - [select for diffs], Sat Jun 2 11:46:09 2001 UTC (21 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.89: +4 -4 lines
Diff to previous 1.89 (colored)

Slighly improve the PTRACE_CONT comment

Revision 1.89 / (download) - annotate - [select for diffs], Sun May 27 21:17:16 2001 UTC (21 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.88: +16 -2 lines
Diff to previous 1.88 (colored)

Fixed the return value of ptrace for PEEKTEXT and PEEKDATA: return value must
be a pointer to data, which holds the result. Linux's glibc undo this odd
operation to bring the standard ptrace behavior to userland.

Revision 1.88 / (download) - annotate - [select for diffs], Sun May 20 09:29:10 2001 UTC (21 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Added powerpc status in a comment

Revision 1.69.4.3 / (download) - annotate - [select for diffs], Tue May 1 08:53:53 2001 UTC (21 years, 9 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.69.4.2: +15 -1 lines
Diff to previous 1.69.4.2 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Pull up revision 1.87 (via patch, requested by jdolecek):
  Make it possible to use a different function for unimplemented
  syscalls than sys_nosys(), so that the Linux emulation can avoid
  posting SIGSYS and instead just return ENOSYS.

Revision 1.61.2.6 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:19 2001 UTC (21 years, 9 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.61.2.5: +15 -1 lines
Diff to previous 1.61.2.5 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.83.2.2 / (download) - annotate - [select for diffs], Mon Apr 9 01:55:42 2001 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.83.2.1: +20 -11 lines
Diff to previous 1.83.2.1 (colored)

Catch up with -current.

Revision 1.69.4.2 / (download) - annotate - [select for diffs], Fri Mar 30 21:41:32 2001 UTC (21 years, 10 months ago) by he
Branch: netbsd-1-5
Changes since 1.69.4.1: +8 -17 lines
Diff to previous 1.69.4.1 (colored) to branchpoint 1.69 (colored)

Pull up revisions 1.82-1.83 (requested by fvdl):
  Add some required Linux emulation bits to support the Linux
  version of VMware.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Mar 30 17:16:34 2001 UTC (21 years, 10 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.86: +15 -1 lines
Diff to previous 1.86 (colored)

Implement linux_sys_nosys() and use it instead of sys_nosys() for
unimplemented syscalls. Difference is that linux_sys_nosys() doesn't
post SIGSYS to the process. Linux doesn't do that and thus glibc (and
probably other Linux code) doesn't deal with SIGSYS, even through it
generally contains fallback code for ENOSYS case.

This also addresses port-i386/12503, though the issue was already discussed
earlier.

Revision 1.61.2.5 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:47 2001 UTC (21 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.61.2.4: +8 -12 lines
Diff to previous 1.61.2.4 (colored) to branchpoint 1.61 (colored)

Sync with HEAD.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Mar 16 07:46:57 2001 UTC (21 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.85: +1 -4 lines
Diff to previous 1.85 (colored)

Removed an unused oldbrk variable in linux_sys_brk()

Revision 1.85 / (download) - annotate - [select for diffs], Thu Mar 15 23:23:26 2001 UTC (21 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.84: +8 -9 lines
Diff to previous 1.84 (colored)

Made linux_sys_brk() cleaner (no functionnality change)

Revision 1.84 / (download) - annotate - [select for diffs], Thu Mar 15 19:18:20 2001 UTC (21 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.83: +10 -10 lines
Diff to previous 1.83 (colored)

Fixed brk() emulation. We now keep track of the processes' idea of the
break value. See http://mail-index.netbsd.org/tech-kern/2001/03/15/0000.html
for more details.

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

Initial commit of scheduler activations and lightweight process support.

Revision 1.61.2.4 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:26 2001 UTC (22 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.61.2.3: +198 -21 lines
Diff to previous 1.61.2.3 (colored) to branchpoint 1.61 (colored)

Sync with HEAD

Revision 1.83 / (download) - annotate - [select for diffs], Fri Jan 5 15:31:15 2001 UTC (22 years ago) by fvdl
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

Set Linux version to 2.0.38 for now, until the clone + "real time signal"
problems are fixed.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Dec 29 21:07:16 2000 UTC (22 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.81: +8 -17 lines
Diff to previous 1.81 (colored)

Hardcode what the linux uname() calls return (Linux 2.2.5 is the current
value). A few major applications check for this (like VMware), and
there is no other way to trick them. Needs a more generic solution
eventually.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Dec 27 22:01:43 2000 UTC (22 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.80: +148 -59 lines
Diff to previous 1.80 (colored)

Use CHECK_ALT_* for chown and lchown, missed in my previous commit.
Get *id16 calls right; most can be passed through directly, but
some need the 16->32 check for -1 values.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Dec 22 22:58:58 2000 UTC (22 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

split off thread specific stuff from struct sigacts to struct sigctx, leaving
    only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Dec 21 20:19:22 2000 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.78: +5 -1 lines
Diff to previous 1.78 (colored)

Only include the 16-bit uid/gid stuff if on i386 or m68k.  This is a
little ugly, but hey, so is Linux.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Dec 18 14:40:03 2000 UTC (22 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.77: +61 -5 lines
Diff to previous 1.77 (colored)

Add seperate entries for 16 bit uid/gid calls, so that border cases
like 0xffff can be handled better (not done yet).

Revision 1.77 / (download) - annotate - [select for diffs], Wed Dec 13 21:41:23 2000 UTC (22 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.76: +38 -1 lines
Diff to previous 1.76 (colored)

Implement sysinfo.

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:08:29 2000 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.61.2.2: +66 -1 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored)

Sync with HEAD.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Dec 2 16:43:51 2000 UTC (22 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.75: +20 -1 lines
Diff to previous 1.75 (colored)

add emulation of linux swapoff(2)

Revision 1.75 / (download) - annotate - [select for diffs], Fri Dec 1 21:14:42 2000 UTC (22 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.74: +47 -1 lines
Diff to previous 1.74 (colored)

implement linux_sys_setdomainname()/linux_sys_swapon(), using code
from compat_09_sys_setdomainname()/compat_12_sys_swapon().

Revision 1.74 / (download) - annotate - [select for diffs], Fri Dec 1 12:28:33 2000 UTC (22 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (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.61.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:02:45 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.61.2.1: +19 -4 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored)

Sync with HEAD.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:08:23 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.61: +142 -9 lines
Diff to previous 1.61 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.73 / (download) - annotate - [select for diffs], Wed Nov 1 20:56:30 2000 UTC (22 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.72: +19 -4 lines
Diff to previous 1.72 (colored)

Linux LINUX_PTRACE_SINGLESTEP operation should have same
semantics as NetBSD's PT_STEP, so support it on archs which have it
under Linux, ptrace(PTRACE_CONT, pid, 0, 0) is used to continue the
traced process where it left off; adjust addr to (caddr_t) 1 so that
the NetBSD syscall code DTRT
some sligh const poisoning

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Mon Sep 11 19:25:35 2000 UTC (22 years, 4 months ago) by fvdl
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

Pull up revision 1.72:
	In the case of MAP_ANON, Linux mmap ignores the fd argument completely.
	So, always pass -1 to the native syscall in that case, to avoid
	errors if a Linux app doesn't specify -1 as the fd (which some do).

approved by thorpej

Revision 1.72 / (download) - annotate - [select for diffs], Thu Sep 7 22:20:45 2000 UTC (22 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

In the case of MAP_ANON, Linux mmap ignores the fd argument completely.
So, always pass -1 to the native syscall in that case, to avoid
errors if a Linux app doesn't specify -1 as the fd (which some do).

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Tue Aug 15 21:33:15 2000 UTC (22 years, 5 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.53: +32 -1 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Pull up revision 1.63 (requested by abs):
  Enable basic versions of Linux fsuid calls.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jun 29 02:40:39 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.70: +1 -3 lines
Diff to previous 1.70 (colored)

remove include of <vm/vm.h>

Revision 1.70 / (download) - annotate - [select for diffs], Mon Jun 26 14:38:57 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.69: +1 -2 lines
Diff to previous 1.69 (colored)

remove redundant vm includes.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Mar 30 11:27:17 2000 UTC (22 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Kill register declarations.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Mar 28 23:57:33 2000 UTC (22 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.67: +1 -4 lines
Diff to previous 1.67 (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.67 / (download) - annotate - [select for diffs], Sat Mar 18 22:23:13 2000 UTC (22 years, 10 months ago) by erh
Branch: MAIN
Changes since 1.66: +55 -1 lines
Diff to previous 1.66 (colored)

Add linux_sys_reboot.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Mar 18 20:42:14 2000 UTC (22 years, 10 months ago) by erh
Branch: MAIN
Changes since 1.65: +14 -9 lines
Diff to previous 1.65 (colored)

Adjust linux_sys_ptrace_args to reflect inconsistencies across ports.  Temporarily ifndef alpha around getfsuid since Linux/alpha doesn't seem to have it.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Mar 13 23:52:35 2000 UTC (22 years, 10 months ago) by soren
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Fix doubled 'the's in comments.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Feb 17 12:34:26 2000 UTC (22 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored)

Update patch from Witold Wnuk in PR 9335 to solve potential security
issue noted by tls.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Feb 3 10:03:01 2000 UTC (23 years ago) by abs
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.62: +32 -1 lines
Diff to previous 1.62 (colored)

Add Linux fsuid system calls - from Witold J. Wnuk in PR kern/9335

Revision 1.61.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:27 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.61: +50 -1 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Pull up to last week's -current.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 16 15:09:49 1999 UTC (23 years, 1 month ago) by tron
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.61: +50 -1 lines
Diff to previous 1.61 (colored)

Move MI parts of ptrace(2) emulation to "linux_misc.c".

Revision 1.61 / (download) - annotate - [select for diffs], Tue Oct 5 09:22:04 1999 UTC (23 years, 3 months ago) by tron
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.60: +1 -2 lines
Diff to previous 1.60 (colored)

After linux_sys_clone() has been moved to "linux_sched.c" we don't need
to include "linux_sched.h" any more.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Oct 4 16:55:56 1999 UTC (23 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.59: +1 -46 lines
Diff to previous 1.59 (colored)

Add emulation for scheduler related syscalls. Although they are dummies
even under Linux the posix thread library for "glibc2" requires them.

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 21:52:20 1999 UTC (23 years, 6 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.53.4.1: +1 -5 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Update from trunk.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jul 15 23:18:41 1999 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.58: +1 -5 lines
Diff to previous 1.58 (colored)

A few things to make the Linux clone(2) emulation work a bit better:
- When the exit signal is specified to be 0, don't just assume they
  meant SIGCHLD.  In the Linux world, this appears to mean "don't deliver
  an exit signal at all".
- Simplify P_EXITSIG(); don't check against initproc here, just change
  the exit signal to SIGCHLD if reparenting to initproc.

A very simple clone(2) test program now works, and the MpegTV package
starts, but doesn't run properly yet (I believe there is a separate
bug which keeps it from working properly).

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:07:37 1999 UTC (23 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.53: +185 -10 lines
Diff to previous 1.53 (colored)

Sync w/ -current.

Revision 1.58 / (download) - annotate - [select for diffs], Mon May 17 19:26:33 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +8 -1 lines
Diff to previous 1.57 (colored)

Oops, completely forgot to translate the exit signal in clone(2).

Revision 1.57 / (download) - annotate - [select for diffs], Fri May 14 18:44:50 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.56: +105 -1 lines
Diff to previous 1.56 (colored)

Emulate the Linux {get,set}resuid(2) system calls.

Revision 1.56 / (download) - annotate - [select for diffs], Thu May 13 23:42:34 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +47 -3 lines
Diff to previous 1.55 (colored)

Emulate the Linux clone(2) system call.

Revision 1.55 / (download) - annotate - [select for diffs], Thu May 13 01:00:50 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +16 -3 lines
Diff to previous 1.54 (colored)

Fully emulate the Linux wait4(2) system call, including the __WCLONE
flag (which is equivalent to our new WALTSIG).

Revision 1.54 / (download) - annotate - [select for diffs], Wed May 5 20:01:03 1999 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +13 -6 lines
Diff to previous 1.53 (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.53 / (download) - annotate - [select for diffs], Tue Feb 9 20:37:19 1999 UTC (23 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: netbsd-1-4, chs-ubc2
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

const poisoning.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Dec 16 10:21:50 1998 UTC (24 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.51: +15 -10 lines
Diff to previous 1.51 (colored)

more defensive signal conversion, and fix a malloc sizeof(int) to sizeof(int *).

Revision 1.51 / (download) - annotate - [select for diffs], Sun Oct 4 10:17:54 1998 UTC (24 years, 4 months ago) by fvdl
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Fix pointer fuckup that made getdents() stop working.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Oct 4 00:02:36 1998 UTC (24 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.49: +3 -34 lines
Diff to previous 1.49 (colored)

Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 3 20:17:42 1998 UTC (24 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.48: +11 -8 lines
Diff to previous 1.48 (colored)

Attempt to fix the mess.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Oct 1 18:53:37 1998 UTC (24 years, 4 months ago) by perry
Branch: MAIN
Changes since 1.47: +5 -3 lines
Diff to previous 1.47 (colored)

Add braces to shut up egcs

Revision 1.47 / (download) - annotate - [select for diffs], Thu Oct 1 04:05:55 1998 UTC (24 years, 4 months ago) by erh
Branch: MAIN
Changes since 1.46: +91 -394 lines
Diff to previous 1.46 (colored)

Wheeee!: 8-way split of compat/linux/linux_misc.c into common code and multi-architechture functions.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Sep 11 12:50:08 1998 UTC (24 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored)

Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
  versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
  sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
  sys_sigpending() and sys_sigsuspend() into separate functions, and call them
  from all the emulations rather than hard-coding everything.  (Avoids uses
  the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
  pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
  bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
  in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified.  Other ports and
emulations need to be updated.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Sep 8 20:02:52 1998 UTC (24 years, 4 months ago) by rvb
Branch: MAIN
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (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.44 / (download) - annotate - [select for diffs], Tue Aug 18 18:30:08 1998 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +13 -7 lines
Diff to previous 1.43 (colored)

Add some braces to make egcs happy.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jul 7 00:40:27 1998 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Oops, fix typo, pointed out by Urban Boquist <boquist@cs.chalmers.se>.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jul 2 23:26:58 1998 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +38 -4 lines
Diff to previous 1.41 (colored)

Implement the shrinking and no-change bits of the Linux mremap(2) system
call, provided by Urban Boquist <boquist@cs.chalmers.se> in PR #5693.

Add a comment about how one might implement the growing bit of mremap(2).

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Fri May 8 08:43:58 1998 UTC (24 years, 8 months ago) by mycroft
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Pull up 1.41, per request of mycroft.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Mar 24 09:47:30 1998 UTC (24 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Fix typo in utime().

Revision 1.40 / (download) - annotate - [select for diffs], Tue Mar 3 13:44:48 1998 UTC (24 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored)

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

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:03 1998 UTC (24 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.38: +5 -10 lines
Diff to previous 1.38 (colored)

Merge with Lite2 + local changes

Revision 1.38 / (download) - annotate - [select for diffs], Fri Feb 20 18:09:04 1998 UTC (24 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +1 -34 lines
Diff to previous 1.37 (colored)

Linux's getsid(2) does in fact return a pid, not a pointer.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Feb 14 01:28:15 1998 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +10 -4 lines
Diff to previous 1.36 (colored)

Add a comment clearly describing that Linux's getsid(2) differs from
the XPG4.2 definition in that it returns the kernel virtual address
of the session structure, rather than the process group ID of the
session leader.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Oct 21 00:57:38 1997 UTC (25 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored)

msync -> __msync13

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Tue Oct 14 10:21:35 1997 UTC (25 years, 3 months ago) by thorpej
Changes since 1.31.2.1: +28 -2 lines
Diff to previous 1.31.2.1 (colored) next main 1.32 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Oct 10 22:16:10 1997 UTC (25 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

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

Revision 1.34 / (download) - annotate - [select for diffs], Fri Oct 10 06:25:34 1997 UTC (25 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.33: +19 -1 lines
Diff to previous 1.33 (colored)

Emulate mremap(2) by returning ENOMEM for now.  This should be sufficient for
realloc(3) and other uses.  From Matthias Scheler in PR 3920.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Oct 10 01:44:01 1997 UTC (25 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.32: +11 -3 lines
Diff to previous 1.32 (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.31.2.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:12:30 1997 UTC (25 years, 5 months ago) by thorpej
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Aug 4 09:48:08 1997 UTC (25 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (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.31 / (download) - annotate - [select for diffs], Sun Jul 27 01:16:39 1997 UTC (25 years, 6 months ago) by augustss
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

Changes to the sudio system:
  - It is now possible to handle devices that want "looping" DMA,
    e.g. the SoundBlaster correctly.  The WSS and SB drivers use this.
    To do this several new methods were introduced in audio_hw_if.
  - Different silence handling (forced by previous change).
  - The audio driver can now be mmap()-ed, but due to problems in
    the VM system only for writing for now.
  - The OSS (Linux) audio emulation takes advantage of some of the
    new features.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 7 14:13:16 1997 UTC (25 years, 9 months ago) by augustss
Branch: MAIN
Changes since 1.29: +18 -1 lines
Diff to previous 1.29 (colored)

Add Linux nice() syscall.

Revision 1.27.4.2 / (download) - annotate - [select for diffs], Tue Dec 10 08:24:49 1996 UTC (26 years, 1 month ago) by mycroft
Changes since 1.27.4.1: +2 -2 lines
Diff to previous 1.27.4.1 (colored) next main 1.28 (colored)

From trunk:
sys/dir.h -> sys/dirent.h

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Tue Dec 10 08:09:37 1996 UTC (26 years, 1 month ago) by mycroft
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

From trunk:
Implement setre[ug]id() for real.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 10 09:09:25 1996 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

sys/dir.h -> sys/dirent.h

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 23 11:13:32 1996 UTC (26 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

Catch up with setre[ug]id() changes.

Revision 1.27 / (download) - annotate - [select for diffs], Mon May 20 01:59:21 1996 UTC (26 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.26: +53 -1 lines
Diff to previous 1.26 (colored)

Update list of Linux syscalls and implement the ones that are likely to be
used and doable.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 4 23:56:01 1996 UTC (26 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.25: +17 -9 lines
Diff to previous 1.25 (colored)

- Prototyping changes
- Fix bug that gcc -Wall found in linux_sys_getpgid()

Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 3 09:02:40 1996 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

Add explicit return types.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Dec 18 14:35:08 1995 UTC (27 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.23: +22 -1 lines
Diff to previous 1.23 (colored)

msync, readv and writev were recently added to the Linux kernel; add them
to the emulation as well.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Dec 9 04:01:42 1995 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.22: +1 -22 lines
Diff to previous 1.22 (colored)

We don't need a private version of fork() here any more.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Oct 9 11:24:05 1995 UTC (27 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +20 -7 lines
Diff to previous 1.21 (colored)

Use cookies for directory offset, mostly from Greg Hudson.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Oct 7 06:27:10 1995 UTC (27 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +89 -89 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Tue Sep 19 22:37:33 1995 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +120 -93 lines
Diff to previous 1.19 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 13 21:51:14 1995 UTC (27 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.18: +3 -4 lines
Diff to previous 1.18 (colored)

Update offset elsewhere in linux_getdents(); still emulate a bug in
Linux, but avoid endless loops.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 7 21:49:01 1995 UTC (27 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.17: +47 -2 lines
Diff to previous 1.17 (colored)

Fix some bugs & typing problems.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 23 20:17:28 1995 UTC (27 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.16: +100 -29 lines
Diff to previous 1.16 (colored)

Emulate some syscalls that appear in Linux 1.3: a select() with normal args,
getdents() and flock().

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 21 23:15:51 1995 UTC (27 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.15: +27 -13 lines
Diff to previous 1.15 (colored)

Check for status NULL argument in wait4 and waitpid. From PR #1392
by Thomas EberHardt.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 21 03:42:09 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +75 -13 lines
Diff to previous 1.14 (colored)

Implement the old and older uname(2) calls.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Aug 16 04:50:17 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored)

If updating the timeval would make it negative, zero it instead.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 16 04:29:49 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +30 -10 lines
Diff to previous 1.12 (colored)

Allow bogus timevals, per Linux.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 14 02:58:29 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Export bsd_to_linux_sig[], and use it.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 14 01:27:53 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Rearrange #includes.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Aug 13 17:51:40 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +10 -2 lines
Diff to previous 1.9 (colored)

Linux doesn't allow select(2) to be restarted.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 24 20:20:26 1995 UTC (27 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.8: +9 -10 lines
Diff to previous 1.8 (colored)

Use compat_util.[ch].

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 22 21:34:38 1995 UTC (27 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.7: +1 -0 lines
Diff to previous 1.7 (colored)

* Changed to use generic ELF code from kern/exec_elf.c (which was taken
  from the svr4 exec code plus the linux compat mods)
* Include file change
* Add multicast sockopts (from John Brezak)

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 11 21:51:38 1995 UTC (27 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +38 -4 lines
Diff to previous 1.6 (colored)

Linux select() returns the amount of time left before a timeout would have
occured in the timeval structure. Emulate this behavior. Reported by
Theo de Raadt.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 11 14:56:59 1995 UTC (27 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +21 -1 lines
Diff to previous 1.5 (colored)

* Make Linux ELF binaries work. Lots of code duplication, but it will have to do
  for now.
* Add a sanity check in linux_uselib

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 10 22:19:14 1995 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +13 -13 lines
Diff to previous 1.4 (colored)

Rename the dirent fields to match Linux.  Make sure the requested buffer
is no larger than MAXBSIZE.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 22 05:24:47 1995 UTC (27 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +5 -3 lines
Diff to previous 1.3 (colored)

Emulate the return value of times() better.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 21 13:34:30 1995 UTC (27 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 5 23:23:41 1995 UTC (27 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +71 -8 lines
Diff to previous 1.1 (colored)

Added a few more system calls.
More consistent alternate root file semantics throughout.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 28 23:25:07 1995 UTC (27 years, 11 months ago) by fvdl
Branch: MAIN

Added Linux compat code.

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>