The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35.4.2 / (download) - annotate - [select for diffs], Wed Aug 3 11:11:31 2022 UTC (6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.35.4.1: +8 -2 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (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.38 / (download) - annotate - [select for diffs], Mon Nov 1 05:07:16 2021 UTC (15 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 (colored)

Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name.  NFC.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Sep 7 11:43:02 2021 UTC (16 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.36: +8 -2 lines
Diff to previous 1.36 (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.34.58.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.34.58.1: +3 -2 lines
Diff to previous 1.34.58.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Merge changes from current as of 20200406

Revision 1.34.44.1 / (download) - annotate - [select for diffs], Tue Jan 21 19:23:36 2020 UTC (3 years ago) by martin
Branch: netbsd-7-1
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (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.34.32.1 / (download) - annotate - [select for diffs], Tue Jan 21 19:19:16 2020 UTC (3 years ago) by martin
Branch: netbsd-7
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (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.34.50.1 / (download) - annotate - [select for diffs], Tue Jan 21 18:12:53 2020 UTC (3 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (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.35.4.1 / (download) - annotate - [select for diffs], Thu Jan 2 09:50:34 2020 UTC (3 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

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

	sys/compat/common/kern_sig_43.c: revision 1.36
	sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.39
	sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.59
	sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.44

Fix sizeof mismatch in copyin. This leads to a user-triggerable stack
overflow. On my test build at least, by luck, the compiler orders the
variables in a way that the overflow hits only local structures which
haven't yet been initialized and used, so the overflow is harmless.

Very easily seeable with kASan - just invoke the syscall from a 32bit
binary.

Fix three stack info leaks, found by kMSan when just invoking all syscalls
with a zero page as argument.

MSan: Uninitialized Stack Memory In copyout() At Offset 0, Variable 'sb32' From compat_20_netbsd32_getfsstat()
MSan: Uninitialized Stack Memory In copyout() At Offset 12, Variable 'oss' From compat_43_sys_sigstack()
MSan: Uninitialized Stack Memory In copyout() At Offset 0, Variable 'sb' From compat_50_netbsd32___fhstat40()

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 1 14:52:38 2020 UTC (3 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

Fix three stack info leaks, found by kMSan when just invoking all syscalls
with a zero page as argument.

MSan: Uninitialized Stack Memory In copyout() At Offset 0, Variable 'sb32' From compat_20_netbsd32_getfsstat()
MSan: Uninitialized Stack Memory In copyout() At Offset 12, Variable 'oss' From compat_43_sys_sigstack()
MSan: Uninitialized Stack Memory In copyout() At Offset 0, Variable 'sb' From compat_50_netbsd32___fhstat40()

Revision 1.34.58.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:58 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.34: +30 -5 lines
Diff to previous 1.34 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:39 2019 UTC (4 years ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.34: +30 -5 lines
Diff to previous 1.34 (colored)

Merge the [pgoyette-compat] branch

Revision 1.34.56.2 / (download) - annotate - [select for diffs], Tue Apr 17 07:24:55 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.34.56.1: +4 -5 lines
Diff to previous 1.34.56.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Finish separating the compat_09 and compat_43 stuff

Revision 1.34.56.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:02:58 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.34: +28 -2 lines
Diff to previous 1.34 (colored)

First pass at compat modules for 4.3BSD, NetBSD-0.9, and NetBSD-1.0

XXX Still need to deal with the sysctl stuff and other code shared
XXX between 09 and 43

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:15 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:38 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jan 19 10:21:16 2011 UTC (12 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: phil-wifi, pgoyette-compat, netbsd-8, netbsd-7-1, netbsd-7
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Remove includes <sys/mount.h> and <sys/sched.h> added for <sys/syscallargs.h>.
Now they are handled by $sysarghdrextra in sys/kern/syscalls.conf.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:12 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.2.1: +2 -4 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Mon Nov 23 00:46:06 2009 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.32: +2 -4 lines
Diff to previous 1.32 (colored)

Use lwp_getpcb() in compat code, clean from struct user.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:56 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.30: +6 -13 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:09 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.30: +6 -13 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head.

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

sync with head.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:01 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32.2.1: +2 -3 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (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.32.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:48 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:41 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: wrstuden-revivesa
Changes since 1.31: +2 -9 lines
Diff to previous 1.31 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.31 / (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.30: +6 -6 lines
Diff to previous 1.30 (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.19.16.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:43 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.16.5: +26 -37 lines
Diff to previous 1.19.16.5 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head

Revision 1.26.20.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:50:31 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.26.20.1: +32 -43 lines
Diff to previous 1.26.20.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with HEAD

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:41 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.29: +20 -19 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:35 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.27.2.1: +26 -37 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.27.4.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:38:51 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.27.4.1: +26 -37 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:44 2007 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.29: +20 -19 lines
Diff to previous 1.29 (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.26.18.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:37 2007 UTC (15 years, 1 month ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.26.18.1: +14 -26 lines
Diff to previous 1.26.18.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Dec 8 18:35:54 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.28: +8 -20 lines
Diff to previous 1.28 (colored)

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

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

Sync with HEAD.

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

Sync with head.

Revision 1.19.16.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:27:37 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.16.4: +8 -8 lines
Diff to previous 1.19.16.4 (colored) to branchpoint 1.19 (colored)

sync with head

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

Remove all the __P

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

sync with HEAD

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

sync with head.

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

Sync with HEAD.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:16:53 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Oct 19 12:16:36 2007 UTC (15 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.19.16.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:00 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.16.2: +10 -9 lines
Diff to previous 1.19.16.2 (colored) to branchpoint 1.19 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:16 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, yamt-idlelwp, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.25: +10 -9 lines
Diff to previous 1.25 (colored)

Merge newlock2 to head.

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

Remove support for SA. Ok core@.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:59 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.23.4.1: +8 -2 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored)

Checkpoint work in progress.

Revision 1.19.16.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:31 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.16.1: +5 -6 lines
Diff to previous 1.19.16.1 (colored) to branchpoint 1.19 (colored)

sync with head.

Revision 1.23.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:44 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.23.6.1: +5 -5 lines
Diff to previous 1.23.6.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:41 2006 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

__unused removal on arguments; approved by core.

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

sync with head

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sat Oct 21 15:20:48 2006 UTC (16 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.23: +6 -10 lines
Diff to previous 1.23 (colored)

Checkpoint work in progress on locking and per-LWP signals. Very much a
a work in progress and there is still a lot to do.

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

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

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

sync with head

Revision 1.21.8.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:19 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.21.8.1: +5 -6 lines
Diff to previous 1.21.8.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:08 2006 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.22: +5 -6 lines
Diff to previous 1.22 (colored)

Use the LWP cached credentials where sane.

Revision 1.19.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:32 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19: +6 -3 lines
Diff to previous 1.19 (colored)

sync with head.

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

Sync with head.

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

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

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

sync with head.

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

integrate kauth.

Revision 1.21.10.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:26 2006 UTC (16 years, 9 months ago) by christos
Branch: elad-kernelauth
Changes since 1.21.10.1: +3 -2 lines
Diff to previous 1.21.10.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (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.21.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:48:37 2006 UTC (16 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Adapt to kernel authorization KPI.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:56 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

merge ktrace-lwp.

Revision 1.18.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:40 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.3: +4 -2 lines
Diff to previous 1.18.2.3 (colored) next main 1.19 (colored)

Sync with HEAD. Here we go again...

Revision 1.20 / (download) - annotate - [select for diffs], Tue Sep 13 01:42:32 2005 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

compat code reorg.

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:24:58 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.2: +2 -2 lines
Diff to previous 1.18.2.2 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:29 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18: +9 -3 lines
Diff to previous 1.18 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 6 22:09:20 2003 UTC (19 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.18: +9 -3 lines
Diff to previous 1.18 (colored)

SA_SIGINFO changes

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 18 07:28:34 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.17: +13 -22 lines
Diff to previous 1.17 (colored)

Merge the nathanw_sa branch.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:43:00 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.2.1: +4 -3 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync kqueue branch with HEAD

Revision 1.14.2.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:10 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.14.2.5: +4 -3 lines
Diff to previous 1.14.2.5 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Catch up to -current.

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

catch up with -current.

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

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

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:09 2002 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

Add kernel support for having userland provide the signal trampoline:

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

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

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Wed May 29 21:32:14 2002 UTC (20 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.14.2.3: +3 -2 lines
Diff to previous 1.14.2.3 (colored) to branchpoint 1.14 (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.15.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:51:00 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)

Sync kqueue branch with -current.

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

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 13 02:08:01 2001 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)

add RCSIDs (including regeneration of files as appropriate)

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:58:58 2001 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.14.2.1: +2 -2 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Wed May 30 11:37:22 2001 UTC (21 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: kqueue
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

use _KERNEL_OPT.

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

Initial commit of scheduler activations and lightweight process support.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:20 2001 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.11.2.1: +3 -1 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 17 15:55:47 2000 UTC (22 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

make LKM safe

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

Update thorpej_scsipi to -current as of a month ago

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 28 15:39:25 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 30 11:27:14 2000 UTC (22 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Kill register declarations.

Revision 1.10.6.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:06:17 1999 UTC (23 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.10.6.1: +0 -0 lines
Diff to previous 1.10.6.1 (colored) next main 1.11 (colored)

Sync w/ -current.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Fri Apr 30 15:29:06 1999 UTC (23 years, 9 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

pullup 1.10->1.11 (christos)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 29 16:09:12 1999 UTC (23 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Make ss_size something reasonable (not 0) so sigaltstack does not fail.
Pull me up plz!

Revision 1.10 / (download) - annotate - [select for diffs], Mon Sep 14 21:03:59 1998 UTC (24 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-4-base, kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Branch point for: netbsd-1-4
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Fix copyout() arguments.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 11 12:50:07 1998 UTC (24 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +150 -90 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Sun Jul 5 08:49:44 1998 UTC (24 years, 7 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.

Revision 1.7.14.1 / (download) - annotate - [select for diffs], Mon Sep 8 23:17:37 1997 UTC (25 years, 5 months ago) by thorpej
Branch: thorpej-signal
Changes since 1.7: +12 -20 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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

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

Make sigacts sharable by adding reference counting.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 14 19:31:47 1996 UTC (26 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-setroot, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: thorpej-signal
Changes since 1.6: +10 -7 lines
Diff to previous 1.6 (colored)

Fix compiler warnings

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 4 22:23:01 1996 UTC (27 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 7 06:26:29 1995 UTC (27 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.4: +11 -11 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 19 22:02:03 1995 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +26 -21 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 17 03:07:47 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +14 -9 lines
Diff to previous 1.2 (colored)

Update for signal handling changes.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 15 16:52:30 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Rename ss_flags bits.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 24 20:16:21 1995 UTC (27 years, 7 months ago) by christos
Branch: MAIN

- Extracted all compat routines from the kern directory and moved here.
- Created compat_util.c and compat_util.h to be used by the compatibility
  modules, so they don't duplicate the same code.
- Added prototypes to the stackgap allocation routines.

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>