NetBSD/sys/kern
christos eebee4d7f8 PR/14795: Christos Zoulas: Fix locking problem on MP systems where
ltsleep() is calling CURSIG() which can call issignal() and issignal()
could not deal with being called from a locked context. This happens
when a process receives SIGTTIN, and issignal() calls psignal() to
post SIGCHLD to the parent.

XXX: It is really messy to have issignal() handle the job control
functionality and the whole signal interlocking protocol needs to
be re-designed. For now this fix (provided by enami) does the trick.
I've been running with this fix for weeks, and atatat has stress-tested
the kernel running ~30 make kernels...
2001-12-18 15:51:52 +00:00
..
Make.tags.inc
Makefile
cnmagic.c In cn_get_magic() don't increment i in the for(;;) loop, as it's already 2001-11-27 20:00:36 +00:00
core_elf32.c Cast off_t to (long long) for printing. 2001-12-10 02:07:37 +00:00
core_elf64.c Add support for dumping ELF-cormat core files. 2001-12-09 23:05:56 +00:00
core_netbsd.c Move the code that walks the process's VM map during a coredump 2001-12-10 01:52:26 +00:00
exec_aout.c add RCSIDs 2001-11-12 15:25:01 +00:00
exec_conf.c Make the coredump routine exec-format/emulation specific. Split 2001-12-08 00:35:25 +00:00
exec_ecoff.c add RCSIDs 2001-11-12 15:25:01 +00:00
exec_elf32.c add RCSIDs 2001-11-12 15:25:01 +00:00
exec_elf64.c add RCSIDs 2001-11-12 15:25:01 +00:00
exec_elf_common.c add RCSIDs 2001-11-12 15:25:01 +00:00
exec_macho.c add RCSIDs 2001-11-12 15:25:01 +00:00
exec_script.c add RCSIDs 2001-11-12 15:25:01 +00:00
exec_subr.c add RCSIDs 2001-11-12 15:25:01 +00:00
genassym.awk
genassym.sh Deal with invokers who pass us environment variable settings as part 2001-09-24 00:20:11 +00:00
genlintstub.awk
init_main.c add RCSIDs 2001-11-12 15:25:01 +00:00
init_sysent.c regen (for RCSID) 2001-11-12 15:03:35 +00:00
kern_acct.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_allocsys.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_clock.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_descrip.c Back off previous for now, Jason thinks it's not right. Will discuss 2001-12-07 07:09:29 +00:00
kern_exec.c Make the coredump routine exec-format/emulation specific. Split 2001-12-08 00:35:25 +00:00
kern_exit.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_fork.c Make the coredump routine exec-format/emulation specific. Split 2001-12-08 00:35:25 +00:00
kern_kthread.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_ktrace.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_lkm.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_lock.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_malloc.c Introduce new function malloc_roundup(), suggested by Bill Sommerfeld 2001-12-05 01:29:04 +00:00
kern_malloc_debug.c Add new malloc(9) flag M_ZERO - zeros memory before returning. 2001-11-17 03:50:27 +00:00
kern_ntptime.c Changed clocktl interface to use syscallargs structures 2001-12-09 16:10:43 +00:00
kern_physio.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_proc.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_prot.c remove diagnostic test checking for cr_ref = 0. It will never be, because 2001-12-06 23:11:59 +00:00
kern_resource.c Two changes to setrlimit(2): 2001-11-23 18:56:33 +00:00
kern_sig.c PR/14795: Christos Zoulas: Fix locking problem on MP systems where 2001-12-18 15:51:52 +00:00
kern_subr.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_synch.c asm -> __asm. 2001-11-30 16:21:16 +00:00
kern_sysctl.c add RCSIDs 2001-11-12 15:25:01 +00:00
kern_time.c Changed clocktl interface to use syscallargs structures 2001-12-09 16:10:43 +00:00
kern_xxx.c add RCSIDs 2001-11-12 15:25:01 +00:00
kgdb_stub.c - pull in opt_kgdb.h where necessary 2001-11-20 08:43:19 +00:00
makesyscalls.sh add RCSID to generated .c files 2001-11-12 14:57:02 +00:00
subr_autoconf.c Don't compare an int against NULL. 2001-12-10 00:33:04 +00:00
subr_disk.c Use cached pointer to next buf instead of re-fetching it. GCC actually 2001-11-30 01:31:30 +00:00
subr_extent.c add RCSIDs 2001-11-12 15:25:01 +00:00
subr_log.c add RCSIDs 2001-11-12 15:25:01 +00:00
subr_pool.c Call pr_log(PRLOG_GET) when POOL_DIAGNOSTIC is defined instead of DIAGNOSTIC 2001-11-20 06:57:04 +00:00
subr_prf.c Protect multi statement macro with do {} while (0). This is not cosmetic. 2001-11-21 00:55:39 +00:00
subr_prof.c add RCSIDs 2001-11-12 15:25:01 +00:00
subr_prop.c add RCSIDs 2001-11-12 15:25:01 +00:00
subr_rmap.c add RCSIDs 2001-11-12 15:25:01 +00:00
subr_userconf.c add RCSIDs 2001-11-12 15:25:01 +00:00
subr_xxx.c add RCSIDs 2001-11-12 15:25:01 +00:00
sys_generic.c Make poll(2) ignore negative file descriptors (Bang Jun-Young). 2001-11-14 18:43:58 +00:00
sys_pipe.c unmap loaned pages before dropping the loan. some pmaps aren't 2001-12-18 08:49:40 +00:00
sys_process.c * Allow machine-dependent code to specify hooks for ptrace(2) 2001-12-05 00:58:05 +00:00
sys_socket.c add RCSIDs 2001-11-12 15:25:01 +00:00
syscalls.c regen (for RCSID) 2001-11-12 15:03:35 +00:00
syscalls.conf
syscalls.master
sysv_ipc.c add RCSIDs 2001-11-12 15:25:01 +00:00
sysv_msg.c add RCSIDs 2001-11-12 15:25:01 +00:00
sysv_sem.c add RCSIDs 2001-11-12 15:25:01 +00:00
sysv_shm.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
tty.c add RCSIDs 2001-11-12 15:25:01 +00:00
tty_conf.c Add IRFRAMEDISC line discipline. 2001-12-03 23:30:37 +00:00
tty_pty.c add RCSIDs 2001-11-12 15:25:01 +00:00
tty_subr.c add RCSIDs 2001-11-12 15:25:01 +00:00
tty_tb.c add RCSIDs 2001-11-12 15:25:01 +00:00
tty_tty.c add RCSIDs 2001-11-12 15:25:01 +00:00
uipc_domain.c add RCSIDs 2001-11-12 15:25:01 +00:00
uipc_mbuf.c add RCSIDs 2001-11-12 15:25:01 +00:00
uipc_mbuf2.c add RCSIDs 2001-11-12 15:25:01 +00:00
uipc_proto.c add RCSIDs 2001-11-12 15:25:01 +00:00
uipc_socket.c add RCSIDs 2001-11-12 15:25:01 +00:00
uipc_socket2.c add RCSIDs 2001-11-12 15:25:01 +00:00
uipc_syscalls.c add RCSIDs 2001-11-12 15:25:01 +00:00
uipc_usrreq.c add RCSIDs 2001-11-12 15:25:01 +00:00
vfs_bio.c add RCSIDs 2001-11-12 15:25:01 +00:00
vfs_cache.c KNF. 2001-12-10 01:49:26 +00:00
vfs_getcwd.c add RCSIDs 2001-11-12 15:25:01 +00:00
vfs_init.c add RCSIDs 2001-11-12 15:25:01 +00:00
vfs_lockf.c add RCSIDs 2001-11-12 15:25:01 +00:00
vfs_lookup.c - Implement 2001-12-08 04:09:59 +00:00
vfs_subr.c update vnode flags in ddb vnode-printing function. 2001-12-10 01:38:48 +00:00
vfs_syscalls.c add RCSIDs 2001-11-12 15:25:01 +00:00
vfs_vnops.c replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names. 2001-12-09 03:07:43 +00:00
vnode_if.c regen (for RCSID) 2001-11-12 14:50:28 +00:00
vnode_if.sh add RCSID to generated .c file 2001-11-12 14:34:24 +00:00
vnode_if.src