The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.80.8.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.80.8.1: +10 -2 lines
Diff to previous 1.80.8.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (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.88 / (download) - annotate - [select for diffs], Mon Nov 1 05:07:16 2021 UTC (14 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.87: +6 -6 lines
Diff to previous 1.87 (colored)

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

Revision 1.87 / (download) - annotate - [select for diffs], Wed Oct 27 16:40:05 2021 UTC (15 months ago) by thorpej
Branch: MAIN
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

Use __SIGTRAMP_SIGCODE_VERSION rather than hard-coding 0.

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

add support COMPAT_LINUX for aarch64

Revision 1.85 / (download) - annotate - [select for diffs], Sun Sep 19 17:33:39 2021 UTC (16 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.84: +49 -2 lines
Diff to previous 1.84 (colored)

- LINUX_SIGEV_PAD is incorrect for 64-bit systems, because sigval_t
  contains a pointer.  Correct this.
- Add routines to convert from Linux to native sigevent_t.

Revision 1.84 / (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.83: +10 -2 lines
Diff to previous 1.83 (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.83.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.83: +49 -2 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Add Linux eventfd, timerfd, and POSIX timer calls.

Revision 1.83 / (download) - annotate - [select for diffs], Sat May 23 23:42:41 2020 UTC (2 years, 8 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.82: +5 -5 lines
Diff to previous 1.82 (colored)

Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Apr 29 01:55:52 2020 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.81: +6 -7 lines
Diff to previous 1.81 (colored)

Fix proc lookup by distinguishing between the "tgid" and "tid" cases.

Revision 1.80.4.1 / (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.80: +3 -2 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.75.26.1.6.1 / (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.75.26.1: +3 -2 lines
Diff to previous 1.75.26.1 (colored) next main 1.75.26.2 (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.75.26.2 / (download) - annotate - [select for diffs], Tue Jan 21 19:19:16 2020 UTC (3 years ago) by martin
Branch: netbsd-7
Changes since 1.75.26.1: +3 -2 lines
Diff to previous 1.75.26.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (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.79.6.1 / (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.79: +3 -2 lines
Diff to previous 1.79 (colored) next main 1.80 (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.80.8.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.80: +3 -2 lines
Diff to previous 1.80 (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.81 / (download) - annotate - [select for diffs], Fri Aug 23 08:31:11 2019 UTC (3 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, 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.80: +3 -2 lines
Diff to previous 1.80 (colored)

Fix info leaks in sigaltstack.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Jan 7 21:14:38 2018 UTC (5 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, 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, pgoyette-compat, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, netbsd-9
Changes since 1.79: +11 -2 lines
Diff to previous 1.79 (colored)

Ignore signal 64 for now (go uses it)
XXX: pullup-8

Revision 1.75.10.1 / (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.75: +31 -32 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

update from HEAD

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:59 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.76.2.1: +27 -26 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Sync with HEAD

Revision 1.77.4.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.77: +27 -26 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Sync with HEAD

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

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Mon Feb 20 16:30:41 2017 UTC (5 years, 11 months ago) by rin
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.78: +25 -25 lines
Diff to previous 1.78 (colored)

KNF; no binary changes

Revision 1.78 / (download) - annotate - [select for diffs], Mon Feb 20 16:26:30 2017 UTC (5 years, 11 months ago) by rin
Branch: MAIN
Changes since 1.77: +4 -3 lines
Diff to previous 1.77 (colored)

CID 980928: fix NULL pointer dereferece

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:47 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.76: +8 -9 lines
Diff to previous 1.76 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.77 / (download) - annotate - [select for diffs], Sat Nov 14 13:29:35 2015 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.76: +8 -9 lines
Diff to previous 1.76 (colored)

PR/50428: Rin Okuyama: support SA_RESTORER flag for rt_sigaction(2) in the
ports that support it.

Revision 1.75.26.1 / (download) - annotate - [select for diffs], Sat Jan 17 12:10:54 2015 UTC (8 years ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-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
Branch point for: netbsd-7-1
Changes since 1.75: +2 -3 lines
Diff to previous 1.75 (colored)

Pull up following revision(s) (requested by maxv in ticket #427):
	sys/compat/svr4/svr4_schedctl.c: revision 1.8
	sys/netinet/tcp_timer.c: revision 1.88
	sys/miscfs/genfs/layer_vfsops.c: revision 1.45
	sys/compat/svr4/svr4_ioctl.c: revision 1.37
	sys/ufs/chfs/chfs_vfsops.c: revision 1.14
	sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
	sys/compat/common/kern_time_50.c: revision 1.28
	sys/netinet6/ip6_forward.c: revision 1.74
	sys/miscfs/umapfs/umap_vnops.c: revision 1.57
	sys/compat/svr4/svr4_fcntl.c: revision 1.74
	distrib/sets/lists/comp/mi: revision 1.1931
	sys/netinet6/udp6_output.c: revision 1.46
	sys/fs/puffs/puffs_compat.c: revision 1.3
	sys/fs/udf/udf_rename.c: revision 1.11
	sys/compat/svr4/svr4_filio.c: revision 1.24
	sys/fs/udf/udf_rename.c: revision 1.12
	sys/netinet/tcp_usrreq.c: revision 1.202
	sys/miscfs/umapfs/umap_subr.c: revision 1.29
	sys/compat/linux/common/linux_fadvise64.c: revision 1.3
	sys/netinet/if_atm.c: revision 1.34
	sys/miscfs/procfs/procfs_subr.c: revision 1.106
	sys/miscfs/genfs/layer_subr.c: revision 1.37
	sys/netinet/tcp_sack.c: revision 1.30
	sys/compat/freebsd/freebsd_misc.c: revision 1.33
	sys/compat/freebsd/freebsd_file.c: revision 1.33
	sys/ufs/chfs/chfs_vnode.c: revision 1.12
	sys/compat/svr4/svr4_ttold.c: revision 1.34
	sys/compat/linux/common/linux_file.c: revision 1.114
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
	sys/compat/linux/common/linux_signal.c: revision 1.76
	sys/compat/common/compat_util.c: revision 1.46
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
	sys/compat/svr4/svr4_sockio.c: revision 1.36
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
	sys/compat/svr4/svr4_signal.c: revision 1.66
	sys/kern/kern_exec.c: revision 1.410
	sys/fs/puffs/puffs_vfsops.c: revision 1.115
	sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
	sys/compat/linux32/common/linux32_misc.c: revision 1.24
	sys/netinet/in_pcb.c: revision 1.153
	sys/sys/malloc.h: revision 1.116
	sys/compat/common/if_43.c: revision 1.9
	share/man/man9/Makefile: revision 1.380
	sys/netinet/tcp_vtw.c: revision 1.12
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
	sys/compat/common/uipc_syscalls_43.c: revision 1.46
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
	sys/fs/puffs/puffs_msgif.c: revision 1.97
	sys/compat/svr4/svr4_ipc.c: revision 1.27
	sys/compat/linux/common/linux_exec.c: revision 1.117
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
	sys/netinet/tcp_output.c: revision 1.179
	sys/compat/svr4/svr4_termios.c: revision 1.28
	sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
	sys/fs/puffs/puffs_subr.c: revision 1.67
	sys/fs/puffs/puffs_node.c: revision 1.36
	sys/miscfs/overlay/overlay_vnops.c: revision 1.21
	sys/fs/cd9660/cd9660_node.c: revision 1.34
	sys/netinet/raw_ip.c: revision 1.146
	sys/sys/mallocvar.h: revision 1.13
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
	share/man/man9/malloc.9: revision 1.50
	sys/netinet6/dest6.c: revision 1.18
	sys/compat/linux/common/linux_uselib.c: revision 1.33
	sys/compat/linux/common/linux_socket.c: revision 1.120
	share/man/man9/malloc.9: revision 1.51
	sys/netinet/tcp_subr.c: revision 1.257
	sys/compat/linux/common/linux_socketcall.c: revision 1.45
	sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
	sys/compat/freebsd/freebsd_ipc.c: revision 1.17
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
	sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
	sys/netinet6/in6_pcb.c: revision 1.132
	sys/netinet6/in6_ifattach.c: revision 1.94
	sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
	sys/miscfs/nullfs/null_vfsops.c: revision 1.90
	sys/fs/cd9660/cd9660_util.c: revision 1.12
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
	sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
	sys/compat/linux/common/linux_sched.c: revision 1.67
	sys/compat/linux/common/linux_exec_aout.c: revision 1.67
	sys/compat/linux/common/linux_pipe.c: revision 1.67
	sys/compat/linux/common/linux_llseek.c: revision 1.34
	sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
 - remove struct kmembuckets (dead)
 - correctly deadify MALLOC_XX
 - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
 - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
   and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Nov 9 17:48:08 2014 UTC (8 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.75: +2 -3 lines
Diff to previous 1.75 (colored)

Do not uselessly include <sys/malloc.h>.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:17 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.72: +123 -2 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Fri Nov 18 17:36:06 2011 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7
Changes since 1.74: +3 -4 lines
Diff to previous 1.74 (colored)

remove one more kassert

Revision 1.74 / (download) - annotate - [select for diffs], Fri Nov 18 15:45:47 2011 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.73: +2 -4 lines
Diff to previous 1.73 (colored)

remove incorrect assertions (the len passed is the size of the bsd structure
not the linux one)

Revision 1.73 / (download) - annotate - [select for diffs], Fri Nov 18 04:07:44 2011 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.72: +126 -2 lines
Diff to previous 1.72 (colored)

- add sigtimedwait support.
- merge the siginfo population code.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:39 2011 UTC (11 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

dependant -> dependent

Revision 1.69.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:50 2011 UTC (11 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.69.4.1: +17 -18 lines
Diff to previous 1.69.4.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

sync with head

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:50 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.69: +17 -18 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.61.2.4 / (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.61.2.3: +17 -18 lines
Diff to previous 1.61.2.3 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

sync with head.

Revision 1.71 / (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-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.70: +17 -18 lines
Diff to previous 1.70 (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.69.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:32 2010 UTC (12 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

sync with head

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jul 1 02:38:29 2010 UTC (12 years, 7 months ago) by rmind
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

Remove pfind() and pgfind(), fix locking in various broken uses of these.
Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags
and have consistent behaviour.  Provide proc_find_raw() for special cases.
Fix memory leak in sysctl_proc_corename().

COMPAT_LINUX: rework ptrace() locking, minimise differences between
different versions per-arch.

Note: while this change adds some formal cosmetics for COMPAT_DARWIN and
COMPAT_IRIX - locking there is utterly broken (for ages).

Fixes PR/43176.

Revision 1.66.8.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.66.8.1: +38 -8 lines
Diff to previous 1.66.8.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:16 2009 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.61.2.2: +38 -8 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored)

sync with head

Revision 1.69 / (download) - annotate - [select for diffs], Mon Jun 8 13:23:16 2009 UTC (13 years, 7 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.68: +13 -8 lines
Diff to previous 1.68 (colored)

Small rt_queueinfo(2) update, to require a linux_siginfo structure.
While here, cleanup ifdef out argument types.

Revision 1.68 / (download) - annotate - [select for diffs], Fri May 29 14:19:13 2009 UTC (13 years, 8 months ago) by njoly
Branch: MAIN
Changes since 1.67: +27 -2 lines
Diff to previous 1.67 (colored)

Add native to linux siginfo si_status translation, used on i386 and
amd64.

Revision 1.66.8.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.66: +3 -3 lines
Diff to previous 1.66 (colored)

Sync with HEAD.

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

Revision 1.61.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.61.2.1: +62 -32 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored)

sync with head.

Revision 1.66.2.1 / (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.66: +3 -3 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Feb 18 14:43:22 2009 UTC (13 years, 11 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Do not protect native_to_linux_si_code() under LINUX_NPTL anymore, now
that linux si_code definitions are MI.

Revision 1.58.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:45 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.58.6.2: +57 -27 lines
Diff to previous 1.58.6.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.62.6.2 / (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.62.6.1: +48 -32 lines
Diff to previous 1.62.6.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

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

Revision 1.66 / (download) - annotate - [select for diffs], Tue Oct 21 21:52:29 2008 UTC (14 years, 3 months ago) by njoly
Branch: MAIN
CVS Tags: 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, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Do not use native_to_linux_si_code() outside LINUX_NPTL; until i
figure a better way to handle it.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Oct 21 13:36:28 2008 UTC (14 years, 3 months ago) by njoly
Branch: MAIN
Changes since 1.64: +47 -31 lines
Diff to previous 1.64 (colored)

tkill/tgkill syscalls cleanup.

- Make both syscalls set si_code to SI_LWP (which will be converted to
  Linux SI_TKILL value). Fix thread some cancellation under NPTL
  emulation.
- Merge code in a new linux_do_tkill() function that will do its own
  job, instead of calling linux_sys_kill().
- Do only alter single tasks, by rejecting non positive tid/tgid
  values.

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:14 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.62: +18 -4 lines
Diff to previous 1.62 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Oct 19 09:44:31 2008 UTC (14 years, 3 months ago) by njoly
Branch: MAIN
CVS Tags: haad-dm-base1
Changes since 1.63: +16 -2 lines
Diff to previous 1.63 (colored)

Add native to linux siginfo si_code translation, mostly for negative
values. Adjust amd64 and i386 accordingly, not sure about aother archs
i can't test.

Revision 1.58.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:15 2008 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.58.6.1: +2 -2 lines
Diff to previous 1.58.6.1 (colored) to branchpoint 1.58 (colored)

Sync with HEAD.

Revision 1.62.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.62.2.3: +4 -4 lines
Diff to previous 1.62.2.3 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Thu Jul 31 04:51:01 2008 UTC (14 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jul 30 16:05:26 2008 UTC (14 years, 6 months ago) by njoly
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored)

Fix linux_sigismember/linux_sigaddset to work on amd64 (and other
64bits archs), by ensuring that bit shifts are done on correct type.

Revision 1.58.6.1 / (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.58: +18 -22 lines
Diff to previous 1.58 (colored)

Sync with HEAD.

Revision 1.58.8.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.58: +18 -22 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

sync with head.

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

sync with head.

Revision 1.62.2.3 / (download) - annotate - [select for diffs], Wed May 14 19:54:12 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.62.2.2: +5 -5 lines
Diff to previous 1.62.2.2 (colored) to branchpoint 1.62 (colored)

Per discussion with ad at n dot o, revert signal mask handling
changes.

The l_sigstk changes are most likely totally un-needed as SA will
never use a signal stack - we send an upcall (or will as other
diffs are brought in).

The l_sigmask changes were too controvertial. In all honesty, I
think it's probably best to revert them. The main reason they were
there is the fact that in an SA process, we don't mask signals per
kernel thread, we mask them per user thread. In the kernel, we want
them all to get turned into upcalls. Thus the normal state of
l_sigmask in an SA process is for it to always be empty.

While we are in the process of delivering a signal, we want to
temporarily mask a signal (so we don't recursively exhaust our
upcall stacks). However signal delivery is rare (important, but
rare), and delivering back-to-back signals is even rarer. So rather
than cause every user of a signal mask to be prepared for this very
rare case, we will just add a second check later in the signal
delivery code. Said change is not in this diff.

This also un-compensates all of our compatability code for dealing
with SA. SA is a NetBSD-specific thing, so there's no need for
Irix, Linux, Solaris, SVR4 and so on to cope with it.

As previously, everything other than kern_sa.c compiles in i386
GENERIC as of this checkin. I will switch to ALL soon for compile
testing.

Revision 1.62.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.62.2.1: +2 -3 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (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.62.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.62: +6 -5 lines
Diff to previous 1.62 (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.62 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:44 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl, haad-dm
Changes since 1.61: +2 -9 lines
Diff to previous 1.61 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.61 / (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.60: +8 -8 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:27 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.59: +6 -6 lines
Diff to previous 1.59 (colored)

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 23 13:11:42 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.58: +12 -9 lines
Diff to previous 1.58 (colored)

Tweak locking.

Revision 1.47.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:41:29 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.47.2.6: +47 -87 lines
Diff to previous 1.47.2.6 (colored) next main 1.48 (colored)

sync with head

Revision 1.54.16.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:51:16 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.54.16.1: +49 -89 lines
Diff to previous 1.54.16.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with HEAD

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:52:43 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.57: +34 -34 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:12 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.55.2.1: +47 -87 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:01 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.55.4.1: +47 -87 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:56 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.57: +34 -34 lines
Diff to previous 1.57 (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.54.14.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:05 2007 UTC (15 years, 1 month ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.54.14.1: +21 -61 lines
Diff to previous 1.54.14.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Dec 8 18:36:09 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.56: +19 -59 lines
Diff to previous 1.56 (colored)

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

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

Sync with HEAD.

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

Sync with head.

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

sync with head

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

Remove all the __P

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

sync with HEAD

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

sync with head.

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

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Oct 19 18:52:12 2007 UTC (15 years, 3 months ago) by njoly
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.54: +4 -2 lines
Diff to previous 1.54 (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.47.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:32:25 2007 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.47.2.3: +3 -3 lines
Diff to previous 1.47.2.3 (colored)

sync with head.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:52:28 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:24 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, 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
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

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

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

sync with head.

Revision 1.53 / (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.52: +35 -32 lines
Diff to previous 1.52 (colored)

Merge newlock2 to head.

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

Remove support for SA. Ok core@.

Revision 1.49.20.3 / (download) - annotate - [select for diffs], Fri Jan 19 20:18:46 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.49.20.2: +8 -2 lines
Diff to previous 1.49.20.2 (colored) to branchpoint 1.49 (colored)

Fix Linux compatability for i386, others to follow later.

Revision 1.47.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.47.2.1: +11 -31 lines
Diff to previous 1.47.2.1 (colored)

sync with head.

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:48 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.50.2.1: +9 -9 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

sync with head.

Revision 1.49.20.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:08 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.49.20.1: +12 -31 lines
Diff to previous 1.49.20.1 (colored) to branchpoint 1.49 (colored)

Sync with head.

Revision 1.52 / (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, 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.51: +9 -9 lines
Diff to previous 1.51 (colored)

__unused removal on arguments; approved by core.

Revision 1.49.20.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.49: +28 -31 lines
Diff to previous 1.49 (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.50.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.50: +9 -30 lines
Diff to previous 1.50 (colored)

sync with head

Revision 1.51 / (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.50: +9 -30 lines
Diff to previous 1.50 (colored)

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

Revision 1.49.8.1 / (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.49: +4 -3 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Sep 13 00:52:07 2006 UTC (16 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.49: +4 -3 lines
Diff to previous 1.49 (colored)

avoid empty if body.

Revision 1.47.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.47: +80 -12 lines
Diff to previous 1.47 (colored)

sync with head.

Revision 1.40.2.6 / (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.40.2.5: +62 -2 lines
Diff to previous 1.40.2.5 (colored) next main 1.41 (colored)

Sync with head.

Revision 1.48.6.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.48: +62 -2 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Nov 23 16:14:57 2005 UTC (17 years, 2 months ago) by manu
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-readahead-base3, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, ktrace-lwp-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, newlock2
Changes since 1.48: +62 -2 lines
Diff to previous 1.48 (colored)

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

Revision 1.40.2.5 / (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.40.2.4: +49 -29 lines
Diff to previous 1.40.2.4 (colored)

Sync with HEAD. Here we go again...

Revision 1.48 / (download) - annotate - [select for diffs], Mon Sep 19 02:46:49 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-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.47: +20 -12 lines
Diff to previous 1.47 (colored)

MINSIGSTKSZ on linux is different depending on the platform and usually
smaller than ours.

Revision 1.47 / (download) - annotate - [select for diffs], Fri May 20 01:06:50 2005 UTC (17 years, 8 months ago) by mrg
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

tramp and vers are used unconditionally, make them visible everywhere.

Revision 1.46 / (download) - annotate - [select for diffs], Thu May 19 21:16:29 2005 UTC (17 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.45: +25 -17 lines
Diff to previous 1.45 (colored)

Add support for Linux SA_RESTORER on amd64.

Revision 1.45 / (download) - annotate - [select for diffs], Mon May 16 16:00:31 2005 UTC (17 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)

Include linux_sigevent.h (to be used later).

Revision 1.44 / (download) - annotate - [select for diffs], Mon May 9 19:04:50 2005 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

#endif for LINUX_SS_ONSTACK needs to go after linux_sys_sigaltstack or builds
break on platforms that don't define it (alpha, sparc)

Revision 1.43 / (download) - annotate - [select for diffs], Tue May 3 16:26:29 2005 UTC (17 years, 9 months ago) by manu
Branch: MAIN
Changes since 1.42: +8 -5 lines
Diff to previous 1.42 (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.41.8.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.41: +5 -5 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with -current

Revision 1.41.10.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.41: +5 -5 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

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

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

Sync with HEAD.

Hi Perry!

Revision 1.42 / (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, 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, kent-audio2-base
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

nuke trailing whitespace

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

Fix the sync with head I botched.

Revision 1.40.2.2 / (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.40.2.1: +0 -0 lines
Diff to previous 1.40.2.1 (colored)

Sync with HEAD.

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

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 3 21:22:32 2003 UTC (19 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, 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-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.40: +3 -5 lines
Diff to previous 1.40 (colored)

make the converter of sigaltstack public.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jan 18 21:21:33 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.39: +31 -23 lines
Diff to previous 1.39 (colored)

Merge the nathanw_sa branch.

Revision 1.31.2.9 / (download) - annotate - [select for diffs], Wed Dec 11 06:37:24 2002 UTC (20 years, 1 month ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.31.2.8: +16 -16 lines
Diff to previous 1.31.2.8 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Nov 26 18:43:21 2002 UTC (20 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.38: +18 -18 lines
Diff to previous 1.38 (colored)

rename: s/sa_/<compat>sa/g

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

sync kqueue branch with HEAD

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

Catch up to -current.

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

catch up with -current.

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

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

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:12 2002 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.37: +5 -3 lines
Diff to previous 1.37 (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.31.4.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:44:26 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.31.4.2: +20 -54 lines
Diff to previous 1.31.4.2 (colored) to branchpoint 1.31 (colored)

catch up with -current on kqueue branch

Revision 1.31.2.6 / (download) - annotate - [select for diffs], Wed May 29 21:32:44 2002 UTC (20 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.31.2.5: +3 -2 lines
Diff to previous 1.31.2.5 (colored) to branchpoint 1.31 (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.31.2.5 / (download) - annotate - [select for diffs], Wed Apr 17 00:05:12 2002 UTC (20 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.31.2.4: +7 -79 lines
Diff to previous 1.31.2.4 (colored) to branchpoint 1.31 (colored)

Catch up to -current.

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:44:29 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.31.2.3: +85 -47 lines
Diff to previous 1.31.2.3 (colored) to branchpoint 1.31 (colored)

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

Revision 1.37 / (download) - annotate - [select for diffs], Sun Mar 31 22:22:47 2002 UTC (20 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.36: +9 -81 lines
Diff to previous 1.36 (colored)

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

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

gc debugging printfs.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Mar 19 20:52:00 2002 UTC (20 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.34: +74 -36 lines
Diff to previous 1.34 (colored)

- Now that RT-signals fit, fix the array to deliver them. [i386 only].
- jdk-1.4 works perfectly now. :-)

Revision 1.31.4.2 / (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.31.4.1: +108 -107 lines
Diff to previous 1.31.4.1 (colored) to branchpoint 1.31 (colored)

Catch up with -current.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:12:57 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.31.2.2: +108 -107 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored)

Catch up to -current.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Feb 18 22:24:18 2002 UTC (20 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.33: +57 -46 lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Fri Feb 15 16:48:03 2002 UTC (20 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.32: +97 -107 lines
Diff to previous 1.32 (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.31.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:51:48 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored)

Sync kqueue branch with -current.

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

Catch up to -current.

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

add RCSIDs (including regeneration of files as appropriate)

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Fri Mar 30 21:43:30 2001 UTC (21 years, 10 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.26: +13 -5 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pull up revision 1.29 (via patch, requested by fvdl):
  Add some required Linux emulation bits to support the Linux
  version of VMware.

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

Initial commit of scheduler activations and lightweight process support.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:14:04 2001 UTC (21 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.24.2.1: +2 -2 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 18 20:28:27 2001 UTC (22 years ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, 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: nathanw_sa, kqueue
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

constify

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

Update thorpej_scsipi to -current as of a month ago

Revision 1.30 / (download) - annotate - [select for diffs], Wed Aug 23 17:02:18 2000 UTC (22 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.29: +71 -1 lines
Diff to previous 1.29 (colored)

add support for sigaltstack(2) needed for jvm-1.3 support.
XXX: Only on i386, don't have access to other linuxes...

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 9 20:20:49 2000 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.28: +12 -5 lines
Diff to previous 1.28 (colored)

Pretend to do something useful (just fill in oldsigaction with SIG_IGN and
zeroes) if the mapped signal number comes up zero.  Previously, sigaction1()
would return an error, confusing some linux apps trying to set handlers for
"all" signals.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 28 21:49:09 2000 UTC (22 years, 6 months ago) by tron
Branch: MAIN
Changes since 1.27: +2 -6 lines
Diff to previous 1.27 (colored)

Adoid excessive use of "return" in "excessive()".

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 28 21:38:44 2000 UTC (22 years, 6 months ago) by tron
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Use "NULL" and not "0" for null pointers.

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

Kill register declarations.

Revision 1.24.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.24: +11 -4 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up to last week's -current.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 4 22:26:52 1999 UTC (23 years, 2 months ago) by tron
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.24: +11 -4 lines
Diff to previous 1.24 (colored)

Add bound checks in emulation of kill(2). This fixes the last part of
PR kern/8904 by Dave Sainty.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 4 17:46:37 1999 UTC (23 years, 4 months ago) by fvdl
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.23: +42 -12 lines
Diff to previous 1.23 (colored)

Handle the newer, larger sigset_t Linux now uses.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Sep 30 19:32:53 1999 UTC (23 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

NetBSD's signal number 11 is SIGSYS nog SIGSEGV.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Sep 8 16:52:08 1999 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Use DEBUG_LINUX exclusively. Fixes PR#7684.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Dec 19 16:27:10 1998 UTC (24 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 15 19:31:39 1998 UTC (24 years, 1 month ago) by itohy
Branch: MAIN
Changes since 1.19: +48 -13 lines
Diff to previous 1.19 (colored)

Added linux compat support on m68k ports.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 7 22:50:42 1998 UTC (24 years, 3 months ago) by erh
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Fix typos.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 7 22:45:51 1998 UTC (24 years, 3 months ago) by erh
Branch: MAIN
Changes since 1.17: +3 -9 lines
Diff to previous 1.17 (colored)

Fix types.  Kill old declarations.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 7 22:12:48 1998 UTC (24 years, 3 months ago) by erh
Branch: MAIN
Changes since 1.16: +39 -22 lines
Diff to previous 1.16 (colored)

sigprocmask (non-rt) version doesn't exist on alpha.  rename it to sigprocmask1 for use in linux_sys_sigprocmask and linux_sys_rt_sigprocmask.

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

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

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

Attempt to fix the mess.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 1 02:27:33 1998 UTC (24 years, 4 months ago) by erh
Branch: MAIN
Changes since 1.13: +170 -131 lines
Diff to previous 1.13 (colored)

Split compat/linux/linux_signal.c into i386, common and multi-architecture parts.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 29 14:15:49 1998 UTC (24 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

Bracket stray printf()s by #ifdef DEBUG.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 11 12:50:09 1998 UTC (24 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +115 -169 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Aug 9 20:37:54 1998 UTC (24 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 4 23:51:36 1996 UTC (26 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.9: +13 -5 lines
Diff to previous 1.9 (colored)

- Add missing prototypes
- Fix bugs with reversed arguments that prototyping discovered

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

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

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 19 22:37:34 1995 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +36 -29 lines
Diff to previous 1.7 (colored)

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

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

Move signal types into signal.h.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 13 22:55:28 1995 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +158 -206 lines
Diff to previous 1.5 (colored)

Convert SA_NOMASK and SA_ONESHOT.
Clean up this code a bit.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 24 20:20:30 1995 UTC (27 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored)

Use compat_util.[ch].

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 22 21:34:39 1995 UTC (27 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Fri Mar 10 22:55:04 1995 UTC (27 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.2: +19 -1 lines
Diff to previous 1.2 (colored)

Add the Linux pause() system call. Fix the arguments to sigsuspend().

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 8 15:17:49 1995 UTC (27 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Fix typo in comment.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 28 23:25:12 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>