Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.316.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:26 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.316: +19 -203
lines
Diff to previous 1.316 (colored) next main 1.317 (colored)
sync with head
Revision 1.289.4.6.2.1 / (download) - annotate - [select for diffs], Sat Mar 17 19:15:12 2012 UTC (2 months, 1 week ago) by bouyer
Branch: netbsd-5-1
Changes since 1.289.4.6: +12 -9
lines
Diff to previous 1.289.4.6 (colored) next main 1.289.4.7 (colored)
Pull up following revision(s) (requested by christos in ticket #1741): sys/kern/kern_sig.c: revision 1.300 kpsignal2: do not make the signal pending twice when tracing the process, also update a comment and add an assert. Fixes PR/42309 by Nicolas Joly.
Revision 1.289.4.5.2.2 / (download) - annotate - [select for diffs], Sat Mar 17 19:14:15 2012 UTC (2 months, 1 week ago) by bouyer
Branch: netbsd-5-0
Changes since 1.289.4.5.2.1: +12 -9
lines
Diff to previous 1.289.4.5.2.1 (colored) to branchpoint 1.289.4.5 (colored) next main 1.289.4.6 (colored)
Pull up following revision(s) (requested by christos in ticket #1741): sys/kern/kern_sig.c: revision 1.300 kpsignal2: do not make the signal pending twice when tracing the process, also update a comment and add an assert. Fixes PR/42309 by Nicolas Joly.
Revision 1.289.4.8 / (download) - annotate - [select for diffs], Sat Mar 17 19:14:08 2012 UTC (2 months, 1 week ago) by bouyer
Branch: netbsd-5
Changes since 1.289.4.7: +14 -11
lines
Diff to previous 1.289.4.7 (colored) to branchpoint 1.289 (colored) next main 1.290 (colored)
Pull up following revision(s) (requested by christos in ticket #1741): sys/kern/kern_sig.c: revision 1.300 kpsignal2: do not make the signal pending twice when tracing the process, also update a comment and add an assert. Fixes PR/42309 by Nicolas Joly.
Revision 1.316.6.1 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:46 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.316: +19 -203
lines
Diff to previous 1.316 (colored) next main 1.317 (colored)
sync to -current.
Revision 1.317 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:53 2012 UTC (3 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
HEAD
Changes since 1.316: +19 -203
lines
Diff to previous 1.316 (colored)
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! Approved by core@.
Revision 1.289.4.7 / (download) - annotate - [select for diffs], Sat Feb 4 16:57:58 2012 UTC (3 months, 2 weeks ago) by bouyer
Branch: netbsd-5
Changes since 1.289.4.6: +59 -37
lines
Diff to previous 1.289.4.6 (colored) to branchpoint 1.289 (colored)
Apply patch, requested by jmcneill in ticket #1668: sys/arch/amd64/amd64/syscall.c patch sys/arch/i386/i386/syscall.c patch sys/arch/i386/i386/trap.c patch sys/kern/kern_sig.c patch sys/kern/kern_sleepq.c patch sys/kern/kern_subr.c patch sys/kern/sys_process.c patch sys/secmodel/bsd44/secmodel_bsd44_suser.c patch sys/sys/proc.h patch sys/sys/ptrace.h patch arch/i386/i386/machdep.c, arch/amd64/amd64/machdep.c (from arch/x86/x86/machdep.c) by christos: Remove code that was used to avoid register spills. setcontext(2) can change the registers, so re-fetching will produce the wrong result for trace_exit(). arch/i386/i386/trap.c by reinoud: Fix the illegal instruction return address. It was using the value of the cpu's %cr2 register but thats not valid: CR2 Contains a value called Page Fault Linear Address (PFLA). When a page fault occurs, the address the program attempted to access is stored in the CR2 register. And this is thus NOT the illegal instruction address! kern/kern_sig.c by christos: PR kern/45327: Jared McNeill: ptrace: siginfo doesn't work with traced processes When saving the signal in p->p_xstat, clear it from the pending mask, but don't remove it from the siginfo queue, so that next time the debugger delivers it, the original information is found. When posting a signal from the debugger l->l_sigpendset is not set, so we use the process pending signal and add it back to the process pending set. Split sigget into sigget() and siggetinfo(). When a signal comes from the debugger (l->l_sigpendset == NULL), using siggetinfo() try to fetch the siginfo information from l->l_sigpend and then from p->p_sigpend if it was not found. This allows us to pass siginfo information for traps from the debugger. don't delete signal from the debugger. kern/kern_sleepq.c by christos: PR kern/40594: Antti Kantee: Don't call issignal() here to determine what errno to set for the interrupted syscall, because issignal() will consume the signal and it will not be delivered to the process afterwards. Instead call sigispending() (which now returns the first pending signal) and does not consume the signal. We need to process SA_STOP signals immediately, and not deliver them to the process. Instead of re-structuring the code to do that, call issignal() like before in that case. (tail -F /file^Zfg should not get interrupted). kern/kern_subr.c by jmcneill, christos: PR kern/45312: ptrace: PT_SETREGS can't alter system calls Add a new PT_SYSCALLEMU request that cancels the current syscall, for use with PT_SYSCALL. For PT_SYSCALLEMU, no need to stop again on syscall exit. ifdef unused variable with -UPTRACE kern/sys_process.c, sys/proc.h, sys/ptrace.h, secmodel/bsd44/secmodel_bsd44_suser.c by jmcneill, christos: PR kern/43681: PT_SYSCALL appears to be broken sys_ptrace: For PT_CONTINUE/PT_SYSCALL/PT_DETACH, modify the p_trace_enabled flag of the target process, not the calling process. Process the signal now, otherwise calling issignal() and ignoring the return will lose the signal if it came from the debugger (issignal() clears p->p_xstat) PR kern/45312: ptrace: PT_SETREGS can't alter system calls Add a new PT_SYSCALLEMU request that cancels the current syscall, for use with PT_SYSCALL. PR kern/45330: ptrace: signals can alter syscall return values process_stoptrace: defer signal processing to userret, ok christos@
Revision 1.316 / (download) - annotate - [select for diffs], Fri Sep 16 22:07:17 2011 UTC (8 months, 1 week ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.315: +3 -3
lines
Diff to previous 1.315 (colored)
Fix sigactsunshare() to do what the manpage and the commit tells it to do! I.e. unshare a process its sigacts by creating a new one BUT maintaining all signal state. The old code would CLEAR all the signal state. It used to work only due to the fact that sigactunshare() is only used in execsigs() and the fact that SIG_DFL was NULL.
Revision 1.315 / (download) - annotate - [select for diffs], Sun Sep 4 23:03:00 2011 UTC (8 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.314: +4 -3
lines
Diff to previous 1.314 (colored)
don't delete signal from the debugger.
Revision 1.314 / (download) - annotate - [select for diffs], Sun Sep 4 13:09:12 2011 UTC (8 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.313: +44 -32
lines
Diff to previous 1.313 (colored)
Split sigget into sigget() and siggetinfo(). When a signal comes from the debugger (l->l_sigpendset == NULL), using siggetinfo() try to fetch the siginfo information from l->l_sigpend and then from p->p_sigpend if it was not found. This allows us to pass siginfo information for traps from the debugger.
Revision 1.313 / (download) - annotate - [select for diffs], Sat Sep 3 19:33:40 2011 UTC (8 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.312: +15 -5
lines
Diff to previous 1.312 (colored)
PR/45327: Jared McNeill: ptrace: siginfo doesn't work with traced processes When saving the signal in p->p_xstat, clear it from the pending mask, but don't remove it from the siginfo queue, so that next time the debugger delivers it, the original information is found. When posting a signal from the debugger l->l_sigpendset is not set, so we use the process pending signal and add it back to the process pending set.
Revision 1.312 / (download) - annotate - [select for diffs], Wed Aug 31 22:43:19 2011 UTC (8 months, 3 weeks ago) by rmind
Branch: MAIN
Changes since 1.311: +5 -8
lines
Diff to previous 1.311 (colored)
sigispending: simplify a little.
Revision 1.311 / (download) - annotate - [select for diffs], Wed Aug 31 16:05:44 2011 UTC (8 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.310: +9 -9
lines
Diff to previous 1.310 (colored)
Make sigispending() return the signal that is pending, or 0. Fix the comment that said that it returns true or false (it returned EINTR or 0 before). Perhaps we should rename the function now?
Revision 1.310 / (download) - annotate - [select for diffs], Wed Jul 27 13:45:49 2011 UTC (9 months, 4 weeks ago) by uebayasi
Branch: MAIN
Changes since 1.309: +2 -3
lines
Diff to previous 1.309 (colored)
Include uvm/uvm_extern.h only once.
Revision 1.309 / (download) - annotate - [select for diffs], Tue Jul 26 13:33:43 2011 UTC (10 months ago) by yamt
Branch: MAIN
Changes since 1.308: +3 -3
lines
Diff to previous 1.308 (colored)
sigpost: don't interfere coredump. PR/45032
Revision 1.306.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:31 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.306: +21 -10
lines
Diff to previous 1.306 (colored) next main 1.307 (colored)
Sync with HEAD.
Revision 1.304.2.4 / (download) - annotate - [select for diffs], Tue May 31 03:05:01 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.304.2.3: +18 -7
lines
Diff to previous 1.304.2.3 (colored) to branchpoint 1.304 (colored) next main 1.305 (colored)
sync with head
Revision 1.308 / (download) - annotate - [select for diffs], Wed Apr 27 00:38:37 2011 UTC (12 months, 4 weeks ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Changes since 1.307: +20 -9
lines
Diff to previous 1.307 (colored)
Make stopsigmask static, sprinkle __cacheline_aligned and __read_mostly.
Revision 1.304.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:15 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.304.2.2: +3 -3
lines
Diff to previous 1.304.2.2 (colored) to branchpoint 1.304 (colored)
sync with head
Revision 1.307 / (download) - annotate - [select for diffs], Mon Jan 17 07:13:31 2011 UTC (16 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.306: +3 -3
lines
Diff to previous 1.306 (colored)
Include internal definitions (uvm/uvm.h) only where necessary.
Revision 1.302.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:28 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.302.2.1: +1 -1
lines
Diff to previous 1.302.2.1 (colored) to branchpoint 1.302 (colored) next main 1.303 (colored)
Sync with HEAD.
Revision 1.279.2.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:40 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.279.2.4: +6 -5
lines
Diff to previous 1.279.2.4 (colored) to branchpoint 1.279 (colored) next main 1.280 (colored)
sync with head.
Revision 1.304.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:54 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.304.2.1: +3 -3
lines
Diff to previous 1.304.2.1 (colored) to branchpoint 1.304 (colored)
sync with head
Revision 1.306 / (download) - annotate - [select for diffs], Thu Jul 1 02:38:30 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.305: +3 -3
lines
Diff to previous 1.305 (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.304.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:57 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.304: +5 -4
lines
Diff to previous 1.304 (colored)
sync with head
Revision 1.302.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:10 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.302: +37 -7
lines
Diff to previous 1.302 (colored)
Sync with HEAD.
Revision 1.289.4.5.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:17 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.289.4.5: +17 -21
lines
Diff to previous 1.289.4.5 (colored) next main 1.289.4.6 (colored)
sync to netbsd-5
Revision 1.305 / (download) - annotate - [select for diffs], Tue Apr 6 13:50:22 2010 UTC (2 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.304: +5 -4
lines
Diff to previous 1.304 (colored)
PR/43128: Paul Koning: Threads support in ptrace() is insufficient for gdb to debug threaded live apps: Add an optional lwpid in PT_STEP and PT_CONTINUE to indicate which lwp to operate on, and implement the glue required to make it work.
Revision 1.279.2.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:17 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.279.2.3: +166 -119
lines
Diff to previous 1.279.2.3 (colored) to branchpoint 1.279 (colored)
sync with head
Revision 1.304 / (download) - annotate - [select for diffs], Wed Mar 3 00:47:31 2010 UTC (2 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.303: +3 -5
lines
Diff to previous 1.303 (colored)
remove redundant checks of PK_MARKER.
Revision 1.303 / (download) - annotate - [select for diffs], Mon Mar 1 21:10:17 2010 UTC (2 years, 2 months ago) by darran
Branch: MAIN
Changes since 1.302: +33 -2
lines
Diff to previous 1.302 (colored)
DTrace: Add an SDT (Statically Defined Tracing) provider framework, and implement most of the proc provider. Adds proc:::create, exec, exec_success, exec_faillure, signal_send, signal_discard, signal_handle, lwp_create, lwp_start, lwp_exit.
Revision 1.289.4.6 / (download) - annotate - [select for diffs], Sat Jan 16 17:32:52 2010 UTC (2 years, 4 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
matt-nb5-pq3-base,
matt-nb5-pq3
Branch point for: netbsd-5-1
Changes since 1.289.4.5: +17 -21
lines
Diff to previous 1.289.4.5 (colored) to branchpoint 1.289 (colored)
Pull up following revision(s) (requested by rmind in ticket #1238): sys/kern/kern_sig.c: revision 1.302 sigactsunshare(): set reference count in a case of new sigacts allocation. Bug (e.g. memory leak) can happen when using clone(2) call.
Revision 1.289.4.5.2.1 / (download) - annotate - [select for diffs], Sat Jan 16 17:32:45 2010 UTC (2 years, 4 months ago) by bouyer
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.289.4.5: +17 -21
lines
Diff to previous 1.289.4.5 (colored)
Pull up following revision(s) (requested by rmind in ticket #1238): sys/kern/kern_sig.c: revision 1.302 sigactsunshare(): set reference count in a case of new sigacts allocation. Bug (e.g. memory leak) can happen when using clone(2) call.
Revision 1.302 / (download) - annotate - [select for diffs], Wed Dec 30 23:31:56 2009 UTC (2 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.301: +17 -21
lines
Diff to previous 1.301 (colored)
sigactsunshare(): set reference count in a case of new sigacts allocation. Bug (e.g. memory leak) can happen when using clone(2) call.
Revision 1.301 / (download) - annotate - [select for diffs], Sun Dec 20 04:49:09 2009 UTC (2 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.300: +81 -88
lines
Diff to previous 1.300 (colored)
signal(9) code: add some comments, improve/fix wrong ones. While here, kill trailing whitespaces, wrap long lines, etc. No functional changes intended.
Revision 1.300 / (download) - annotate - [select for diffs], Sat Nov 14 19:06:54 2009 UTC (2 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.299: +14 -11
lines
Diff to previous 1.299 (colored)
kpsignal2: do not make the signal pending twice when tracing the process, also update a comment and add an assert. Fixes PR/42309 by Nicolas Joly.
Revision 1.299 / (download) - annotate - [select for diffs], Fri Oct 2 23:24:15 2009 UTC (2 years, 7 months ago) by elad
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.298: +28 -2
lines
Diff to previous 1.298 (colored)
Put signal delivery policy back in the subsystem.
Revision 1.295.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:34 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.295.2.1: +6 -4
lines
Diff to previous 1.295.2.1 (colored) to branchpoint 1.295 (colored) next main 1.296 (colored)
Sync with HEAD.
Revision 1.279.2.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:31 2009 UTC (2 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.279.2.2: +6 -4
lines
Diff to previous 1.279.2.2 (colored) to branchpoint 1.279 (colored)
sync with head
Revision 1.298 / (download) - annotate - [select for diffs], Sun May 24 21:41:26 2009 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Changes since 1.297: +6 -4
lines
Diff to previous 1.297 (colored)
More changes to improve kern_descrip.c. - Avoid atomics in more places. - Remove the per-descriptor mutex, and just use filedesc_t::fd_lock. It was only being used to synchronize close, and in any case we needed to take fd_lock to free the descriptor slot. - Optimize certain paths for the <NDFDFILE case. - Sprinkle more comments and assertions. - Cache more stuff in filedesc_t. - Fix numerous minor bugs spotted along the way. - Restructure how the open files array is maintained, for clarity and so that we can eliminate the membar_consumer() call in fd_getfile(). This is mostly syntactic sugar; the main functional change is that fd_nfiles now lives alongside the open file array. Some measurements with libmicro: - simple file syscalls are like close() are between 1 to 10% faster. - some nice improvements, e.g. poll(1000) which is ~50% faster.
Revision 1.295.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:56 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.295: +41 -43
lines
Diff to previous 1.295 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.279.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:47 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.279.2.1: +299 -109
lines
Diff to previous 1.279.2.1 (colored) to branchpoint 1.279 (colored)
sync with head.
Revision 1.289.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:59 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.289.2.2: +41 -43
lines
Diff to previous 1.289.2.2 (colored) to branchpoint 1.289 (colored) next main 1.290 (colored)
Sync with HEAD.
Revision 1.240.2.3 / (download) - annotate - [select for diffs], Fri Apr 10 20:20:45 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-4
Changes since 1.240.2.2: +6 -10
lines
Diff to previous 1.240.2.2 (colored) to branchpoint 1.240 (colored) next main 1.241 (colored)
Pull up following revision(s) (requested by drochner in ticket #1299): sys/kern/kern_sig.c: revision 1.296 via patch In sigput(), save the siginfo no matter whether SA_SIGINFO is set or not. There are also sigtimedwait(2) et al. to catch signals without invoking a signal handler. Fixes PR kern/41076 by Matteo Beccati (the first test case, where the signal is sent before sigwaitinfo(2) gets called).
Revision 1.289.4.5 / (download) - annotate - [select for diffs], Wed Apr 1 21:56:50 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-1-RELEASE,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: netbsd-5-0,
matt-nb5-mips64
Changes since 1.289.4.4: +5 -9
lines
Diff to previous 1.289.4.4 (colored) to branchpoint 1.289 (colored)
Pull up following revision(s) (requested by drochner in ticket #640): sys/kern/kern_sig.c: revision 1.296 In sigput(), save the siginfo no matter whether SA_SIGINFO is set or not. There are also sigtimedwait(2) et al. to catch signals without invoking a signal handler. Fixes PR kern/41076 by Matteo Beccati (the first test case, where the signal is sent before sigwaitinfo(2) gets called).
Revision 1.289.4.4 / (download) - annotate - [select for diffs], Tue Mar 31 23:41:23 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
Changes since 1.289.4.3: +38 -36
lines
Diff to previous 1.289.4.3 (colored) to branchpoint 1.289 (colored)
Pull up following revision(s) (requested by rmind in ticket #620): sys/kern/kern_sig.c: revision 1.297 kpsignal2: do not start process (when it is stopped) for all termination signals (i.e. SA_KILL), just if SIGKILL (or SIGCONT). Improve comments. Make some functions static, remove unused sigrealloc() prototype. Fixes PR/39814. Similar patch reviewed by <ad>.
Revision 1.297 / (download) - annotate - [select for diffs], Sun Mar 29 05:02:46 2009 UTC (3 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Changes since 1.296: +38 -36
lines
Diff to previous 1.296 (colored)
kpsignal2: do not start process (when it is stopped) for all termination signals (i.e. SA_KILL), just if SIGKILL (or SIGCONT). Improve comments. Make some functions static, remove unused sigrealloc() prototype. Fixes PR/39814. Similar patch reviewed by <ad>.
Revision 1.296 / (download) - annotate - [select for diffs], Fri Mar 27 10:58:38 2009 UTC (3 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.295: +5 -9
lines
Diff to previous 1.295 (colored)
In sigput(), save the siginfo no matter whether SA_SIGINFO is set or not. There are also sigtimedwait(2) et al. to catch signals without invoking a signal handler. Fixes PR kern/41076 by Matteo Beccati (the first test case, where the signal is sent before sigwaitinfo(2) gets called).
Revision 1.289.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:56 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.289.2.1: +2 -3
lines
Diff to previous 1.289.2.1 (colored) to branchpoint 1.289 (colored)
Sync with HEAD.
Revision 1.289.4.3 / (download) - annotate - [select for diffs], Mon Feb 2 19:50:20 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC3,
netbsd-5-0-RC2
Changes since 1.289.4.2: +6 -6
lines
Diff to previous 1.289.4.2 (colored) to branchpoint 1.289 (colored)
Pull up following revision(s) (requested by ad in ticket #365): sys/kern/kern_sig.c: revision 1.292 sigchecktrace: process SIGKILL before everything else.
Revision 1.289.4.2 / (download) - annotate - [select for diffs], Mon Feb 2 19:46:11 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.289.4.1: +2 -5
lines
Diff to previous 1.289.4.1 (colored) to branchpoint 1.289 (colored)
Pull up following revision(s) (requested by ad in ticket #364): sys/kern/kern_sig.c: revision 1.294 Fix a comment.
Revision 1.289.4.1 / (download) - annotate - [select for diffs], Mon Feb 2 18:28:23 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.289: +24 -27
lines
Diff to previous 1.289 (colored)
Pull up following revision(s) (requested by ad in ticket #353): sys/kern/kern_sig.c: revision 1.293 sys/kern/kern_synch.c: revision 1.256 PR kern/36183 problem with ptrace and multithreaded processes Fix the famous "gdb + threads = panic" problem. Also, fix another revivesa merge botch.
Revision 1.295 / (download) - annotate - [select for diffs], Thu Jan 22 14:38:35 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.294: +2 -3
lines
Diff to previous 1.294 (colored)
malloc -> kmem_alloc
Revision 1.289.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:38 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.289: +69 -35
lines
Diff to previous 1.289 (colored)
Sync with HEAD.
Revision 1.272.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:19 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.272.6.4: +239 -42
lines
Diff to previous 1.272.6.4 (colored) to branchpoint 1.272 (colored) next main 1.273 (colored)
Sync with HEAD.
Revision 1.294 / (download) - annotate - [select for diffs], Sat Dec 13 20:49:49 2008 UTC (3 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.293: +2 -5
lines
Diff to previous 1.293 (colored)
Fix a comment.
Revision 1.293 / (download) - annotate - [select for diffs], Sat Dec 13 20:43:38 2008 UTC (3 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.292: +24 -27
lines
Diff to previous 1.292 (colored)
PR kern/36183 problem with ptrace and multithreaded processes Fix the famous "gdb + threads = panic" problem. Also, fix another revivesa merge botch.
Revision 1.292 / (download) - annotate - [select for diffs], Sat Dec 13 18:55:01 2008 UTC (3 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.291: +6 -6
lines
Diff to previous 1.291 (colored)
sigchecktrace: process SIGKILL before everything else.
Revision 1.286.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:08 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.286.2.1: +64 -13
lines
Diff to previous 1.286.2.1 (colored) to branchpoint 1.286 (colored) next main 1.287 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.291 / (download) - annotate - [select for diffs], Tue Nov 25 15:05:38 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.290: +3 -2
lines
Diff to previous 1.290 (colored)
vax uses v3 trampoline.
Revision 1.290 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:07 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.289: +42 -3
lines
Diff to previous 1.289 (colored)
Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit: - shuffles header files and ifdefs - splits code out where necessary to be modular - adds module glue for each of the components - adds/replaces hooks for things that can be installed at runtime
Revision 1.289 / (download) - annotate - [select for diffs], Fri Oct 24 18:07:36 2008 UTC (3 years, 7 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-0-RC1,
matt-mips64-base2
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.288: +23 -12
lines
Diff to previous 1.288 (colored)
toall signals really are toall. The fact we're sa doesn't matter. They are start/stop signals, and need to impact more than just blessed lwps.
Revision 1.286.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:27 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.286: +182 -34
lines
Diff to previous 1.286 (colored)
Sync with HEAD.
Revision 1.288 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:20 2008 UTC (3 years, 7 months ago) by wrstuden
Branch: MAIN
CVS Tags: haad-dm-base1
Changes since 1.287: +172 -20
lines
Diff to previous 1.287 (colored)
Merge wrstuden-revivesa into HEAD.
Revision 1.272.6.4 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:52 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.272.6.3: +10 -14
lines
Diff to previous 1.272.6.3 (colored) to branchpoint 1.272 (colored)
Sync with HEAD.
Revision 1.283.2.9 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:56 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283.2.8: +12 -16
lines
Diff to previous 1.283.2.8 (colored) to branchpoint 1.283 (colored) next main 1.284 (colored)
Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
Revision 1.283.2.8 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:16 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283.2.7: +15 -12
lines
Diff to previous 1.283.2.7 (colored) to branchpoint 1.283 (colored)
Sync with wrstuden-revivesa-base-2. contains the one SA-related conflict resolution. :-)
Revision 1.287 / (download) - annotate - [select for diffs], Fri Sep 12 21:33:39 2008 UTC (3 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3
Changes since 1.286: +12 -16
lines
Diff to previous 1.286 (colored)
- remove dup code - make sure that sigput always initializes ksi - initialize si_code with SI_NOINFO instead of lying (SI_USER) - if a process is being ktraced, make siginfo available - always pass the available siginfo to ktrace, even if it has SI_NOINFO
Revision 1.283.2.7 / (download) - annotate - [select for diffs], Mon Jul 21 19:13:45 2008 UTC (3 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283.2.6: +23 -6
lines
Diff to previous 1.283.2.6 (colored) to branchpoint 1.283 (colored)
Add support for compiling SA as an option. Implied by COMPAT_40. i386 kernels both with COMPAT_40 and with no compat options (and thus no SA) compile. No functional changes intended.
Revision 1.283.2.6 / (download) - annotate - [select for diffs], Mon Jun 30 04:55:56 2008 UTC (3 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283.2.5: +6 -9
lines
Diff to previous 1.283.2.5 (colored) to branchpoint 1.283 (colored)
Change how we make SA threads not generate upcalls. Instead of clearing LW_SA, use a private flag, LP_SA_NOBLOCK, that we set when we want to not generate upcalls. This means we do NOT need to lock (l) (ourselves) to set it. Adjust tests that look at LW_SA. Now, we are an upcall-generating lwp if ((l->l_flag & LW_SA) && (~l->l_pflag & LP_SA_NOBLOCK)). Introduce code pattern to set & remember this: f = ~l->l_pflag & LP_SA_NOBLOCK; l->l_pflag |= LP_SA_NOBLOCK; ... /* f is now LP_SA_NOBLOCK if it wasn't set in l_pflag before */ l->l_pflag ^= f; I updated a lot of the trap handlers to do trap handling iff LP_SA_NOBLOCK is not set. I tried to figure out if the trap handler could be triggered for user-based faults as opposed to kernel faults to user addresses, and only look at LP_SA_NOBLOCK for the latter. Above is a result of discussions with rmind at to reduce lock twiddling. Also, per same discussions, add locking to sys_sa_preempt(). p_lock is the lock we want. Also, per same discussions, remove use of LSSUSPENDED as a thread state. We needed to use it when we were emulating the 4.X and previous behavior of hiding cached threads. For the moment, we now have them instead remain visible to all and have them sleeping on the "lwpcache" wait channel. sa_newcachelwp(): sa_putcachelwp() wants savp_mutex held, not p_lock. Tweak some comments.
Revision 1.272.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:14 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.272.6.2: +16 -13
lines
Diff to previous 1.272.6.2 (colored) to branchpoint 1.272 (colored)
Sync with HEAD.
Revision 1.284.2.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:39 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.284.2.1: +15 -12
lines
Diff to previous 1.284.2.1 (colored) to branchpoint 1.284 (colored) next main 1.285 (colored)
Sync with head.
Revision 1.283.2.5 / (download) - annotate - [select for diffs], Fri Jun 27 01:34:26 2008 UTC (3 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283.2.4: +35 -2
lines
Diff to previous 1.283.2.4 (colored) to branchpoint 1.283 (colored)
Add getucontext32_sa() and getucontext_sa(), and use them. They
are sa-specific versions of getucontext{,32}(). The main difference
is that they do NOT require the p_lock be held. We report an empty
signal mask, both to avoid needing p_lock and because the process
signal mask is almost always 0 for SA.
Revision 1.286 / (download) - annotate - [select for diffs], Wed Jun 25 11:05:46 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.285: +15 -12
lines
Diff to previous 1.285 (colored)
Use pool_cache.
Revision 1.283.2.4 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:51 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283.2.3: +5 -8
lines
Diff to previous 1.283.2.3 (colored) to branchpoint 1.283 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.284.2.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:35 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.284: +5 -5
lines
Diff to previous 1.284 (colored)
Sync with head.
Revision 1.275.2.3 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:03 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.275.2.2: +5 -5
lines
Diff to previous 1.275.2.2 (colored) to branchpoint 1.275 (colored) next main 1.276 (colored)
sync with head.
Revision 1.285 / (download) - annotate - [select for diffs], Mon Jun 16 09:51:14 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Changes since 1.284: +5 -5
lines
Diff to previous 1.284 (colored)
- PPWAIT is need only be locked by proc_lock, so move it to proc::p_lflag. - Remove a few needless lock acquires from exec/fork/exit. - Sprinkle branch hints. No functional change.
Revision 1.275.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:39 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.275.2.1: +2 -5
lines
Diff to previous 1.275.2.1 (colored) to branchpoint 1.275 (colored)
sync with head
Revision 1.272.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:09 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.272.6.1: +126 -151
lines
Diff to previous 1.272.6.1 (colored) to branchpoint 1.272 (colored)
Sync with HEAD.
Revision 1.283.2.3 / (download) - annotate - [select for diffs], Tue May 27 05:22:33 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283.2.2: +123 -20
lines
Diff to previous 1.283.2.2 (colored) to branchpoint 1.283 (colored)
Check in merge of signal handling changes. This is a fairly-direct port of what existed before SA was removed. Expicitly add a sigset_t named sa_sigmask to sadata, and use it to note what signals are masked for an SA thread. Clear it out when going SA. Tweak how we clear LW_SA when we're allocating space for delivering a signal - the whole point is we don't want to generate a BLOCKED upcall, so we have to clear it BEFORE we allocate, not after (like the old code seems to have done). While here, tweak indentation in savar.h to improve readability.
Revision 1.284 / (download) - annotate - [select for diffs], Mon May 19 17:06:02 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base3,
hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Changes since 1.283: +2 -5
lines
Diff to previous 1.283 (colored)
Reduce ifdefs due to MULTIPROCESSOR slightly.
Revision 1.275.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:08 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.275: +128 -150
lines
Diff to previous 1.275 (colored)
sync with head.
Revision 1.279.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:25 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.279: +18 -17
lines
Diff to previous 1.279 (colored)
sync with head.
Revision 1.283.2.2 / (download) - annotate - [select for diffs], Wed May 14 19:54:12 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283.2.1: +25 -25
lines
Diff to previous 1.283.2.1 (colored) to branchpoint 1.283 (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.283.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:04 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.283: +27 -25
lines
Diff to previous 1.283 (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.283 / (download) - annotate - [select for diffs], Tue Apr 29 15:55:24 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2,
yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.282: +4 -3
lines
Diff to previous 1.282 (colored)
Ignore processes with PK_MARKER set.
Revision 1.282 / (download) - annotate - [select for diffs], Tue Apr 29 15:51:23 2008 UTC (4 years ago) by ad
Branch: MAIN
Changes since 1.281: +4 -2
lines
Diff to previous 1.281 (colored)
Ignore processes with PK_MARKER set.
Revision 1.281 / (download) - annotate - [select for diffs], Tue Apr 29 14:04:06 2008 UTC (4 years ago) by ad
Branch: MAIN
Changes since 1.280: +14 -9
lines
Diff to previous 1.280 (colored)
Fix a race condition that could cause a deadlock between two threads in the same process simultaneously trying to dump core. Fixes PR kern/37704.
Revision 1.280 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:03 2008 UTC (4 years ago) by martin
Branch: MAIN
Changes since 1.279: +2 -9
lines
Diff to previous 1.279 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.279 / (download) - annotate - [select for diffs], Fri Apr 25 11:24:11 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.278: +12 -21
lines
Diff to previous 1.278 (colored)
Use pool_cache+atomics for sigacts.
Revision 1.278 / (download) - annotate - [select for diffs], Fri Apr 25 00:07:24 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.277: +2 -13
lines
Diff to previous 1.277 (colored)
Remove unneeded kernel_lock/splvm stuff.
Revision 1.277 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:24 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.276: +71 -78
lines
Diff to previous 1.276 (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.276 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:29 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.275: +35 -31
lines
Diff to previous 1.275 (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.272.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:02 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.272: +14 -26
lines
Diff to previous 1.272 (colored)
Sync with HEAD.
Revision 1.275 / (download) - annotate - [select for diffs], Thu Mar 27 19:06:52 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.274: +4 -4
lines
Diff to previous 1.274 (colored)
Make rusage collection per-LWP and collate in the appropriate places. cloned threads need a little bit more work but the locking needs to be fixed first.
Revision 1.207.2.12 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:01 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.11: +13 -9
lines
Diff to previous 1.207.2.11 (colored) next main 1.208 (colored)
sync with head.
Revision 1.272.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:13 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.272: +3 -19
lines
Diff to previous 1.272 (colored) next main 1.273 (colored)
sync with head.
Revision 1.256.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:59 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.256.2.2: +88 -115
lines
Diff to previous 1.256.2.2 (colored) to branchpoint 1.256 (colored) next main 1.257 (colored)
sync with HEAD
Revision 1.274 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
ad-socklock-base1
Changes since 1.273: +13 -9
lines
Diff to previous 1.273 (colored)
Catch up with descriptor handling changes. See kern_descrip.c revision 1.173 for details.
Revision 1.207.2.11 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:33 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.10: +3 -19
lines
Diff to previous 1.207.2.10 (colored)
sync with head.
Revision 1.273 / (download) - annotate - [select for diffs], Sat Mar 8 07:56:53 2008 UTC (4 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Changes since 1.272: +3 -19
lines
Diff to previous 1.272 (colored)
kpsignal2: enqueue SA_STOP signals and let issignal handle it rather than trying to stop the process by ourselves. this fixes SIGTSTP masking. ok'ed by Andrew Doran. PR/37603, PR/38060.
Revision 1.207.2.10 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:55 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.9: +74 -91
lines
Diff to previous 1.207.2.9 (colored)
sync with head.
Revision 1.272 / (download) - annotate - [select for diffs], Wed Feb 20 11:48:46 2008 UTC (4 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
hpcarm-cleanup-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.271: +64 -81
lines
Diff to previous 1.271 (colored)
reduce code duplication. no functional changes are intended.
Revision 1.271 / (download) - annotate - [select for diffs], Tue Feb 19 16:16:06 2008 UTC (4 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.270: +1 -1
lines
Diff to previous 1.270 (colored)
L_PENDSIG -> LW_PENDSIG in a comment.
Revision 1.270 / (download) - annotate - [select for diffs], Tue Feb 19 12:24:34 2008 UTC (4 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.269: +3 -3
lines
Diff to previous 1.269 (colored)
constify
Revision 1.269 / (download) - annotate - [select for diffs], Tue Feb 19 12:22:44 2008 UTC (4 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.268: +2 -2
lines
Diff to previous 1.268 (colored)
update a comment. (L_PENDSIG -> LW_PENDSIG)
Revision 1.268 / (download) - annotate - [select for diffs], Tue Feb 19 12:20:02 2008 UTC (4 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.267: +4 -4
lines
Diff to previous 1.267 (colored)
sigpause -> sigsuspend in comments.
Revision 1.258.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:46 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.258.2.1: +16 -10
lines
Diff to previous 1.258.2.1 (colored) to branchpoint 1.258 (colored) next main 1.259 (colored)
Sync with HEAD.
Revision 1.207.2.9 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:58 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.8: +6 -2
lines
Diff to previous 1.207.2.8 (colored)
sync with head.
Revision 1.267 / (download) - annotate - [select for diffs], Tue Feb 5 13:33:35 2008 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.266: +6 -2
lines
Diff to previous 1.266 (colored)
Lock p->p_klist.
Revision 1.207.2.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:14 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.7: +11 -9
lines
Diff to previous 1.207.2.7 (colored)
sync with head.
Revision 1.266 / (download) - annotate - [select for diffs], Thu Jan 31 00:50:32 2008 UTC (4 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.265: +6 -4
lines
Diff to previous 1.265 (colored)
sigpost: convert to the new, inverted priorities. From <drochner>.
Revision 1.265 / (download) - annotate - [select for diffs], Thu Jan 24 13:57:52 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.264: +3 -3
lines
Diff to previous 1.264 (colored)
Mark some callouts/workqueues/kthreads MPSAFE.
Revision 1.262.4.2 / (download) - annotate - [select for diffs], Wed Jan 23 19:27:40 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.262.4.1: +4 -4
lines
Diff to previous 1.262.4.1 (colored) to branchpoint 1.262 (colored) next main 1.263 (colored)
Sync with HEAD.
Revision 1.264 / (download) - annotate - [select for diffs], Wed Jan 23 17:52:32 2008 UTC (4 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase
Changes since 1.263: +6 -6
lines
Diff to previous 1.263 (colored)
Forgot to commit this in latest commit, spotted by hannken@. Adapt to "CAN" removal...
Revision 1.207.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:11 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.6: +3 -3
lines
Diff to previous 1.207.2.6 (colored)
sync with head
Revision 1.256.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:08 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.256.2.1: +40 -43
lines
Diff to previous 1.256.2.1 (colored) to branchpoint 1.256 (colored)
sync with HEAD
Revision 1.262.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:58 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.262: +3 -3
lines
Diff to previous 1.262 (colored)
Sync with HEAD
Revision 1.263 / (download) - annotate - [select for diffs], Wed Dec 26 22:11:51 2007 UTC (4 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: matt-armv6-base,
bouyer-xeni386-base
Changes since 1.262: +3 -3
lines
Diff to previous 1.262 (colored)
Add PaX ASLR (Address Space Layout Randomization) [from elad and myself]
For regular (non PIE) executables randomization is enabled for:
1. The data segment
2. The stack
For PIE executables(*) randomization is enabled for:
1. The program itself
2. All shared libraries
3. The data segment
4. The stack
(*) To generate a PIE executable:
- compile everything with -fPIC
- link with -shared-libgcc -Wl,-pie
This feature is experimental, and might change. To use selectively add
options PAX_ASLR=0
in your kernel.
Currently we are using 12 bits for the stack, program, and data segment and
16 or 24 bits for mmap, depending on __LP64__.
Revision 1.254.6.7 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:19 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.254.6.6: +8 -4
lines
Diff to previous 1.254.6.6 (colored) to branchpoint 1.254 (colored) next main 1.255 (colored)
Sync with HEAD.
Revision 1.258.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:31 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.258: +39 -42
lines
Diff to previous 1.258 (colored)
Sync with HEAD.
Revision 1.261.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:42 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.261: +6 -4
lines
Diff to previous 1.261 (colored) next main 1.262 (colored)
Sync with head.
Revision 1.207.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:32:48 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.5: +39 -42
lines
Diff to previous 1.207.2.5 (colored)
sync with head
Revision 1.262 / (download) - annotate - [select for diffs], Wed Dec 5 07:06:53 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.261: +6 -4
lines
Diff to previous 1.261 (colored)
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written for Solaris.
Revision 1.261 / (download) - annotate - [select for diffs], Mon Dec 3 20:26:25 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base1
Branch point for: vmlocking2
Changes since 1.260: +4 -2
lines
Diff to previous 1.260 (colored)
Soft interrupts can now take proclist_lock, so there is no need to double-lock alllwp or allproc.
Revision 1.254.6.6 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:53 2007 UTC (4 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.254.6.5: +8 -8
lines
Diff to previous 1.254.6.5 (colored) to branchpoint 1.254 (colored)
Sync with HEAD.
Revision 1.260 / (download) - annotate - [select for diffs], Fri Nov 30 23:05:44 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking-nbase
Changes since 1.259: +8 -8
lines
Diff to previous 1.259 (colored)
Use membar_*().
Revision 1.254.6.5 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:04 2007 UTC (4 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.254.6.4: +29 -36
lines
Diff to previous 1.254.6.4 (colored) to branchpoint 1.254 (colored)
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.259 / (download) - annotate - [select for diffs], Tue Nov 27 01:27:30 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.258: +29 -36
lines
Diff to previous 1.258 (colored)
Tidy up the sigacts locking a bit: sigacts can be shared between multiple processes.
Revision 1.256.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:55 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.256: +7 -7
lines
Diff to previous 1.256 (colored)
sync with HEAD
Revision 1.240.2.1.2.1 / (download) - annotate - [select for diffs], Mon Oct 29 00:45:21 2007 UTC (4 years, 6 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.240.2.1: +14 -7
lines
Diff to previous 1.240.2.1 (colored) next main 1.240.2.2 (colored)
Catch up with 4.0 RC3
Revision 1.207.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:27 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.4: +7 -7
lines
Diff to previous 1.207.2.4 (colored)
sync with head.
Revision 1.254.6.4 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:35 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.254.6.3: +3 -3
lines
Diff to previous 1.254.6.3 (colored) to branchpoint 1.254 (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.257.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:40:01 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.257: +3 -3
lines
Diff to previous 1.257 (colored) next main 1.258 (colored)
Sync with HEAD.
Revision 1.251.2.9 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:11 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.251.2.8: +3 -3
lines
Diff to previous 1.251.2.8 (colored) next main 1.252 (colored)
Sync with head.
Revision 1.258 / (download) - annotate - [select for diffs], Fri Oct 19 12:16:43 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.257: +3 -3
lines
Diff to previous 1.257 (colored)
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.251.2.8 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:20 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.251.2.7: +3 -3
lines
Diff to previous 1.251.2.7 (colored)
Sync with head.
Revision 1.240.2.2 / (download) - annotate - [select for diffs], Sun Oct 7 14:21:11 2007 UTC (4 years, 7 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.240.2.1: +14 -7
lines
Diff to previous 1.240.2.1 (colored) to branchpoint 1.240 (colored)
Apply a patch (requested by ad in ticket #921): sys/kern/kern_sig.c (via patch) Fix two problems with signals that could cause kernel crashes. Should fix PR kern/37004.
Revision 1.256.4.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:28:43 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.256: +6 -6
lines
Diff to previous 1.256 (colored) next main 1.257 (colored)
sync with head.
Revision 1.254.6.3 / (download) - annotate - [select for diffs], Thu Oct 4 15:44:51 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.254.6.2: +6 -6
lines
Diff to previous 1.254.6.2 (colored) to branchpoint 1.254 (colored)
Sync with HEAD.
Revision 1.257 / (download) - annotate - [select for diffs], Wed Oct 3 13:21:22 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.256: +6 -6
lines
Diff to previous 1.256 (colored)
Protect ksiginfo_pool with splvm to be on the safe side.
Revision 1.254.6.2 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:47 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.254.6.1: +3 -5
lines
Diff to previous 1.254.6.1 (colored) to branchpoint 1.254 (colored)
Sync with HEAD.
Revision 1.207.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:54 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.3: +57 -58
lines
Diff to previous 1.207.2.3 (colored)
sync with head.
Revision 1.254.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:23:00 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.254: +7 -15
lines
Diff to previous 1.254 (colored) next main 1.255 (colored)
Sync with HEAD.
Revision 1.251.2.7 / (download) - annotate - [select for diffs], Tue Aug 28 12:53:28 2007 UTC (4 years, 8 months ago) by yamt
Branch: vmlocking
Changes since 1.251.2.6: +3 -3
lines
Diff to previous 1.251.2.6 (colored)
change ksiginfo_pool from IPL_SOFTCLOCK to IPL_TTY, as it can be used from the context of ttyinput.
Revision 1.251.2.6 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:33 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.251.2.5: +7 -15
lines
Diff to previous 1.251.2.5 (colored)
Sync with HEAD.
Revision 1.256 / (download) - annotate - [select for diffs], Fri Aug 17 17:25:14 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap,
matt-armv6
Changes since 1.255: +3 -5
lines
Diff to previous 1.255 (colored)
Fix a couple of comments.
Revision 1.254.6.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:03:32 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.254: +6 -12
lines
Diff to previous 1.254 (colored)
Sync with HEAD.
Revision 1.255 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:33 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.254: +6 -12
lines
Diff to previous 1.254 (colored)
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed on tech-kern.
Revision 1.252.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:55 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.252: +5 -5
lines
Diff to previous 1.252 (colored) next main 1.253 (colored)
Sync with head.
Revision 1.254 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:53 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Changes since 1.253: +4 -4
lines
Diff to previous 1.253 (colored)
Merge some of the less invasive changes from the vmlocking branch: - kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
Revision 1.251.2.5 / (download) - annotate - [select for diffs], Sun Jul 1 21:50:39 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.251.2.4: +4 -4
lines
Diff to previous 1.251.2.4 (colored)
Adapt to callout API change.
Revision 1.251.2.4 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:25 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.251.2.3: +4 -4
lines
Diff to previous 1.251.2.3 (colored)
- Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
Revision 1.251.2.3 / (download) - annotate - [select for diffs], Fri Jun 8 14:17:21 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.251.2.2: +3 -3
lines
Diff to previous 1.251.2.2 (colored)
Sync with head.
Revision 1.253 / (download) - annotate - [select for diffs], Thu May 17 14:51:40 2007 UTC (5 years ago) by yamt
Branch: MAIN
Changes since 1.252: +3 -3
lines
Diff to previous 1.252 (colored)
merge yamt-idlelwp branch. asked by core@. some ports still needs work. from doc/BRANCHES: idle lwp, and some changes depending on it. 1. separate context switching and thread scheduling. (cf. gmcgarry_ctxsw) 2. implement idle lwp. 3. clean up related MD/MI interfaces. 4. make scheduler(s) modular.
Revision 1.245.2.4 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:03 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.245.2.3: +7 -5
lines
Diff to previous 1.245.2.3 (colored) next main 1.246 (colored)
sync with head.
Revision 1.251.2.2 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:56 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.251.2.1: +2 -13
lines
Diff to previous 1.251.2.1 (colored)
Pull in the initial set of changes for the vmlocking branch.
Revision 1.251.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:55 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.251: +7 -5
lines
Diff to previous 1.251 (colored)
Sync with head.
Revision 1.252 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:33 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.251: +7 -5
lines
Diff to previous 1.251 (colored)
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing the pool's lock.
Revision 1.245.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:37 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.245.2.2: +44 -39
lines
Diff to previous 1.245.2.2 (colored)
Sync with HEAD.
Revision 1.245.2.2 / (download) - annotate - [select for diffs], Fri Mar 9 15:16:24 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.245.2.1: +3 -3
lines
Diff to previous 1.245.2.1 (colored)
Checkpoint: - Addition of scheduler-specific pointers in the struct proc, lwp and schedstate_percpu. - Addition of sched_lwp_fork(), sched_lwp_exit() and sched_slept() hooks. - mi_switch() now has only one argument. - sched_nextlwp(void) becomes sched_switch(struct lwp *) and does an enqueueing of LWP. - Addition of general kern.sched sysctl node. - Remove twice called uvmexp.swtch++, other cleanups. Discussed on tech-kern@
Revision 1.251 / (download) - annotate - [select for diffs], Fri Mar 9 14:11:25 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
Branch point for: vmlocking
Changes since 1.250: +2 -2
lines
Diff to previous 1.250 (colored)
- Make the proclist_lock a mutex. The write:read ratio is unfavourable, and mutexes are cheaper use than RW locks. - LOCK_ASSERT -> KASSERT in some places. - Hold proclist_lock/kernel_lock longer in a couple of places.
Revision 1.250 / (download) - annotate - [select for diffs], Mon Mar 5 20:29:14 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.249: +42 -37
lines
Diff to previous 1.249 (colored)
- proc_unstop: adjust p_nrlwps correctly. Should fix PR kern/35657. - LOCK_ASSERT -> KASSERT - Update a couple of comments.
Revision 1.245.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:24 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.245: +35 -28
lines
Diff to previous 1.245 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.207.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:10 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.2: +1539 -1948
lines
Diff to previous 1.207.2.2 (colored)
sync with head.
Revision 1.249 / (download) - annotate - [select for diffs], Thu Feb 22 06:34:44 2007 UTC (5 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.248: +9 -9
lines
Diff to previous 1.248 (colored)
TRUE -> true, FALSE -> false
Revision 1.248 / (download) - annotate - [select for diffs], Wed Feb 21 23:48:14 2007 UTC (5 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.247: +5 -5
lines
Diff to previous 1.247 (colored)
Pick up some additional files that were missed before due to conflicts with newlock2 merge: Replace the Mach-derived boolean_t type with the C99 bool type. A future commit will replace use of TRUE and FALSE with true and false.
Revision 1.247 / (download) - annotate - [select for diffs], Tue Feb 20 17:47:03 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.246: +9 -2
lines
Diff to previous 1.246 (colored)
When sending signals, only boost the priority of the receiving LWP if the process is being killed.
Revision 1.246 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:43 2007 UTC (5 years, 3 months ago) by pavel
Branch: MAIN
Changes since 1.245: +18 -18
lines
Diff to previous 1.245 (colored)
Change the process/lwp flags seen by userland via sysctl back to the P_*/L_* naming convention, and rename the in-kernel flags to avoid conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD constant. Restores source compatibility with pre-newlock2 tools like ps or top. Reviewed by Andrew Doran.
Revision 1.245 / (download) - annotate - [select for diffs], Fri Feb 16 00:35:20 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.244: +7 -4
lines
Diff to previous 1.244 (colored)
sigswitch(): don't blat the kernel_lock count that sleepq_block() saved earlier.
Revision 1.244 / (download) - annotate - [select for diffs], Thu Feb 15 15:10:44 2007 UTC (5 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.243: +3 -3
lines
Diff to previous 1.243 (colored)
sigswitch: fix a deadlock.
Revision 1.243 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:31 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.242: +1529 -1952
lines
Diff to previous 1.242 (colored)
Merge newlock2 to head.
Revision 1.228.2.20 / (download) - annotate - [select for diffs], Fri Feb 9 19:06:05 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.228.2.19: +2 -5
lines
Diff to previous 1.228.2.19 (colored) to branchpoint 1.228 (colored) next main 1.229 (colored)
Call ktrpsig() without the kernel_lock.
Revision 1.228.2.19 / (download) - annotate - [select for diffs], Fri Feb 9 13:00:43 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.228.2.18: +3 -2
lines
Diff to previous 1.228.2.18 (colored) to branchpoint 1.228 (colored)
lwp_wait() and lwp_userret() need to be called without the kernel_lock.
Revision 1.228.2.18 / (download) - annotate - [select for diffs], Tue Feb 6 14:49:15 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.228.2.17: +11 -2
lines
Diff to previous 1.228.2.17 (colored) to branchpoint 1.228 (colored)
Guard ksiginfo_pool with splsoftclock(). From yamt.
Revision 1.228.2.17 / (download) - annotate - [select for diffs], Tue Feb 6 10:35:25 2007 UTC (5 years, 3 months ago) by yamt
Branch: newlock2
Changes since 1.228.2.16: +6 -9
lines
Diff to previous 1.228.2.16 (colored) to branchpoint 1.228 (colored)
sigactsunshare, sigactsfree: don't forget to destroy mutex.
Revision 1.228.2.16 / (download) - annotate - [select for diffs], Tue Feb 6 10:33:45 2007 UTC (5 years, 3 months ago) by yamt
Branch: newlock2
Changes since 1.228.2.15: +5 -4
lines
Diff to previous 1.228.2.15 (colored) to branchpoint 1.228 (colored)
sigactsinit: don't memcpy kmutex_t.
Revision 1.228.2.15 / (download) - annotate - [select for diffs], Mon Feb 5 13:16:49 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.228.2.14: +57 -24
lines
Diff to previous 1.228.2.14 (colored) to branchpoint 1.228 (colored)
- When clearing signals dequeue siginfo first and free later, once outside the lock permiter. - Push kernel_lock back in a a couple of places. - Adjust limcopy() to be MP safe (this needs redoing). - Fix a couple of bugs noticed along the way. - Catch up with condvar changes.
Revision 1.228.2.14 / (download) - annotate - [select for diffs], Sun Feb 4 14:05:18 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.228.2.13: +4 -4
lines
Diff to previous 1.228.2.13 (colored) to branchpoint 1.228 (colored)
o sigtimedwait1(): don't allocate the waitset every time. This gets called often enough to justify stashing it in struct lwp. o Push kernel_lock back in a few places.
Revision 1.228.2.13 / (download) - annotate - [select for diffs], Wed Jan 31 19:56:38 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.228.2.12: +75 -33
lines
Diff to previous 1.228.2.12 (colored) to branchpoint 1.228 (colored)
- Have callers to mi_switch() drop the kernel lock. - Fix a deadlock and some typos. - Unbreak ptrace().
Revision 1.228.2.12 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:41 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.228.2.11: +32 -125
lines
Diff to previous 1.228.2.11 (colored) to branchpoint 1.228 (colored)
Remove support for SA. Ok core@.
Revision 1.228.2.11 / (download) - annotate - [select for diffs], Sat Jan 27 01:29:05 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.228.2.10: +254 -70
lines
Diff to previous 1.228.2.10 (colored) to branchpoint 1.228 (colored)
- Job control shouldn't affect LWPs sleeping interruptably. - Remove another use of mtsleep().
Revision 1.240.2.1 / (download) - annotate - [select for diffs], Sun Jan 21 16:44:23 2007 UTC (5 years, 4 months ago) by bouyer
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC2,
netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Changes since 1.240: +21 -17
lines
Diff to previous 1.240 (colored)
Pull up following revision(s) (requested by enami in ticket #377): sys/kern/kern_sig.c: revisions 1.241 - 1.242 Plug memory leak in __sigtimedwait1(): make sure to free `waitset' on error return path. Plug another memory leak in __sigtimedwait1() which is introduced by rev. 1.208: free `waitset' and ksiginfo on success.
Revision 1.202.2.3 / (download) - annotate - [select for diffs], Fri Jan 19 21:46:54 2007 UTC (5 years, 4 months ago) by bouyer
Branch: netbsd-3
Changes since 1.202.2.2: +11 -10
lines
Diff to previous 1.202.2.2 (colored) to branchpoint 1.202 (colored) next main 1.203 (colored)
Pull up following revision(s) (requested by enami in ticket #1651): sys/kern/kern_sig.c: revision 1.241 Plug memory leak in __sigtimedwait1(): make sure to free `waitset' on error return path.
Revision 1.228.2.10 / (download) - annotate - [select for diffs], Wed Jan 17 00:44:30 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.228.2.9: +4 -9
lines
Diff to previous 1.228.2.9 (colored) to branchpoint 1.228 (colored)
Fix locking error in sigunwait().
Revision 1.228.2.9 / (download) - annotate - [select for diffs], Tue Jan 16 02:17:45 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.228.2.8: +3 -2
lines
Diff to previous 1.228.2.8 (colored) to branchpoint 1.228 (colored)
Fix a race between sigtimedwait()/sigunwait().
Revision 1.228.2.8 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:06 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.228.2.7: +16 -4
lines
Diff to previous 1.228.2.7 (colored) to branchpoint 1.228 (colored)
Sync with head.
Revision 1.228.2.7 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:59 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.228.2.6: +15 -11
lines
Diff to previous 1.228.2.6 (colored) to branchpoint 1.228 (colored)
Checkpoint work in progress.
Revision 1.242 / (download) - annotate - [select for diffs], Wed Jan 10 07:58:27 2007 UTC (5 years, 4 months ago) by enami
Branch: MAIN
CVS Tags: newlock2-nbase,
newlock2-base
Changes since 1.241: +10 -8
lines
Diff to previous 1.241 (colored)
Plug another memory leak in __sigtimedwait1() which is introduced by rev. 1.208: free `waitset' and ksiginfo on success.
Revision 1.241 / (download) - annotate - [select for diffs], Wed Jan 10 07:53:26 2007 UTC (5 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.240: +13 -11
lines
Diff to previous 1.240 (colored)
Plug memory leak in __sigtimedwait1(): make sure to free `waitset' on error return path.
Revision 1.207.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:05 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207.2.1: +168 -109
lines
Diff to previous 1.207.2.1 (colored)
sync with head.
Revision 1.228.2.6 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:44 2006 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.228.2.5: +383 -411
lines
Diff to previous 1.228.2.5 (colored) to branchpoint 1.228 (colored)
Checkpoint work in progress.
Revision 1.228.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:44 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.228.4.1: +143 -106
lines
Diff to previous 1.228.4.1 (colored) to branchpoint 1.228 (colored) next main 1.229 (colored)
sync with head.
Revision 1.240 / (download) - annotate - [select for diffs], Wed Nov 22 02:02:51 2006 UTC (5 years, 6 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
netbsd-4-base
Branch point for: netbsd-4
Changes since 1.239: +10 -2
lines
Diff to previous 1.239 (colored)
Initial implementation of PaX Segvguard (this is still work-in-progress, it's just to get it out of my local tree).
Revision 1.228.2.5 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:22 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.228.2.4: +4 -3
lines
Diff to previous 1.228.2.4 (colored) to branchpoint 1.228 (colored)
Sync with head.
Revision 1.228.2.4 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:36 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.228.2.3: +406 -399
lines
Diff to previous 1.228.2.3 (colored) to branchpoint 1.228 (colored)
Checkpoint work in progress.
Revision 1.239 / (download) - annotate - [select for diffs], Wed Nov 8 20:18:33 2006 UTC (5 years, 6 months ago) by drochner
Branch: MAIN
Changes since 1.238: +9 -6
lines
Diff to previous 1.238 (colored)
-SUS says that a successful call to setcontext(2) does not return. This implies that _UC_CPU must be set in the context passed. Check for this and return EINVAL if not; this gives a cheap test for corrupted ucontexts eg on a signal handler stack which would go unnoticed otherwise. -Don't ckeck for NULL ucontext pointers explicitely. This is an error, except in the swapcontext() case where it can be easily caught in userland.
Revision 1.238 / (download) - annotate - [select for diffs], Fri Nov 3 19:46:03 2006 UTC (5 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.237: +6 -2
lines
Diff to previous 1.237 (colored)
- issignal(): acquire the kernel lock before inspecting signal state - lwp_exit2(): don't drop the kernel lock until after doing wakeup()
Revision 1.237 / (download) - annotate - [select for diffs], Fri Nov 3 12:18:41 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.236: +31 -9
lines
Diff to previous 1.236 (colored)
fix deadlocks due to ksiginfo_pool spl problems.
Revision 1.236 / (download) - annotate - [select for diffs], Fri Nov 3 11:41:07 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.235: +2 -2
lines
Diff to previous 1.235 (colored)
make siginfo_pool and ksiginfo_pool static.
Revision 1.235 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:58 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.234: +15 -15
lines
Diff to previous 1.234 (colored)
remove some __unused from function parameters.
Revision 1.234 / (download) - annotate - [select for diffs], Wed Nov 1 09:46:14 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.233: +31 -59
lines
Diff to previous 1.233 (colored)
kill signal "dolock" hacks. related to PR/32962 and PR/34895. reviewed by matthew green.
Revision 1.233 / (download) - annotate - [select for diffs], Wed Nov 1 09:33:45 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.232: +4 -6
lines
Diff to previous 1.232 (colored)
kill sched_psignal. related to PR/32962 and PR/34895. reviewed by matthew green.
Revision 1.232 / (download) - annotate - [select for diffs], Sat Oct 28 08:09:31 2006 UTC (5 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.231: +17 -10
lines
Diff to previous 1.231 (colored)
avoid allocating from ksiginfo_pool when we know we aren't going to use it. idea partly from yamt. assert SCHED_ASSERT_UNLOCKED() in all the places we call ksiginfo_queue() without a ksiginfo. fixes recent panics detected by LOCKDEBUG.
Revision 1.228.2.3 / (download) - annotate - [select for diffs], Tue Oct 24 21:10:21 2006 UTC (5 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.228.2.2: +86 -54
lines
Diff to previous 1.228.2.2 (colored) to branchpoint 1.228 (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.231 / (download) - annotate - [select for diffs], Sun Oct 22 20:48:45 2006 UTC (5 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.230: +41 -18
lines
Diff to previous 1.230 (colored)
avoid a problem in kpsignal2() holding sched_lock while wanting to call
pool_get(). pre-allocate the ksiginfo_t before taking sched_lock and
use it if necessary, or freeing it if it is unused.
rename ksiginfo_{get,put}() to ksiginfo_{dequeue,queue}() (idea from chuq.)
this fixes PR#32962. thanks to christos, chuq and go for help/ideas.
Revision 1.228.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:10 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.228: +20 -19
lines
Diff to previous 1.228 (colored)
sync with head
Revision 1.228.2.2 / (download) - annotate - [select for diffs], Sat Oct 21 15:20:46 2006 UTC (5 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.228.2.1: +1322 -1898
lines
Diff to previous 1.228.2.1 (colored) to branchpoint 1.228 (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.230 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:17 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.229: +17 -17
lines
Diff to previous 1.229 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.229 / (download) - annotate - [select for diffs], Wed Oct 4 23:10:42 2006 UTC (5 years, 7 months ago) by dogcow
Branch: MAIN
Changes since 1.228: +5 -4
lines
Diff to previous 1.228 (colored)
add braces for if-else statement, in the event that SCHED_ASSERT_LOCKED is an empty statement; shuts gcc up about 'empty statement in if-else'.
Revision 1.228.2.1 / (download) - annotate - [select for diffs], Mon Sep 11 18:07:25 2006 UTC (5 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.228: +4 -4
lines
Diff to previous 1.228 (colored)
- Convert some lockmgr() locks to mutexes and RW locks. - Acquire proclist_lock and p_crmutex in some obvious places.
Revision 1.213.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.213: +115 -79
lines
Diff to previous 1.213 (colored) next main 1.214 (colored)
sync with head
Revision 1.216.2.6 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:22 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.216.2.5: +26 -4
lines
Diff to previous 1.216.2.5 (colored) to branchpoint 1.216 (colored) next main 1.217 (colored)
sync with head.
Revision 1.228 / (download) - annotate - [select for diffs], Sat Sep 2 06:29:13 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.227: +6 -3
lines
Diff to previous 1.227 (colored)
- fix initializer - comment out unused code
Revision 1.227 / (download) - annotate - [select for diffs], Fri Sep 1 21:04:45 2006 UTC (5 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.226: +7 -2
lines
Diff to previous 1.226 (colored)
Regen. (add __weak_alias(sys_ptrace, sys_nosys) when PTRACE is off)
Revision 1.226 / (download) - annotate - [select for diffs], Wed Aug 30 13:55:03 2006 UTC (5 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.225: +10 -3
lines
Diff to previous 1.225 (colored)
Let those compile under "no options COREDUMP".
Revision 1.225 / (download) - annotate - [select for diffs], Tue Aug 29 23:34:48 2006 UTC (5 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.224: +9 -2
lines
Diff to previous 1.224 (colored)
Make PTRACE and COREDUMP optional. Make the default (status quo) by putting them in conf/std.
Revision 1.216.2.5 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:46 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.216.2.4: +18 -19
lines
Diff to previous 1.216.2.4 (colored) to branchpoint 1.216 (colored)
sync with head
Revision 1.224 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:11 2006 UTC (5 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.223: +18 -19
lines
Diff to previous 1.223 (colored)
Use the LWP cached credentials where sane.
Revision 1.216.2.4 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:56 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.216.2.3: +29 -36
lines
Diff to previous 1.216.2.3 (colored) to branchpoint 1.216 (colored)
sync with head.
Revision 1.207.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.207: +125 -99
lines
Diff to previous 1.207 (colored)
sync with head.
Revision 1.220.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:15 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.220: +29 -36
lines
Diff to previous 1.220 (colored) next main 1.221 (colored)
Sync with head.
Revision 1.223 / (download) - annotate - [select for diffs], Tue Jun 13 13:56:50 2006 UTC (5 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Changes since 1.222: +16 -17
lines
Diff to previous 1.222 (colored)
remove unnecessary arguments from kauth_authorize_process. ie. make it similar to the one found in apple TN.
Revision 1.222 / (download) - annotate - [select for diffs], Sun Jun 11 07:32:18 2006 UTC (5 years, 11 months ago) by rjs
Branch: MAIN
Changes since 1.221: +3 -2
lines
Diff to previous 1.221 (colored)
Add includes of opt_multiprocessor.h and opt_lockdebug.h where missing.
Revision 1.221 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:40 2006 UTC (5 years, 11 months ago) by kardel
Branch: MAIN
Changes since 1.220: +14 -21
lines
Diff to previous 1.220 (colored)
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
Revision 1.214.2.4 / (download) - annotate - [select for diffs], Fri Jun 2 00:14:24 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.214.2.3: +3 -3
lines
Diff to previous 1.214.2.3 (colored) next main 1.215 (colored)
- we are now using a struct timespec (merge didn't see that :-()
Revision 1.214.2.3 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:08 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.214.2.2: +24 -25
lines
Diff to previous 1.214.2.2 (colored)
Sync with head.
Revision 1.218.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:41 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.218: +24 -25
lines
Diff to previous 1.218 (colored) next main 1.219 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.216.2.3 / (download) - annotate - [select for diffs], Wed May 24 10:58:41 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.216.2.2: +24 -25
lines
Diff to previous 1.216.2.2 (colored) to branchpoint 1.216 (colored)
sync with head.
Revision 1.220 / (download) - annotate - [select for diffs], Sun May 14 21:15:11 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.219: +22 -25
lines
Diff to previous 1.219 (colored)
integrate kauth.
Revision 1.217.2.5 / (download) - annotate - [select for diffs], Thu May 11 23:30:14 2006 UTC (6 years ago) by elad
Branch: elad-kernelauth
Changes since 1.217.2.4: +4 -2
lines
Diff to previous 1.217.2.4 (colored) next main 1.218 (colored)
sync with head
Revision 1.219 / (download) - annotate - [select for diffs], Wed May 10 21:53:17 2006 UTC (6 years ago) by mrg
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.218: +4 -2
lines
Diff to previous 1.218 (colored)
quell GCC 4.1 uninitialised variable warnings. XXX: we should audit the tree for which old ones are no longer needed after getting the older compilers out of the tree..
Revision 1.217.2.4 / (download) - annotate - [select for diffs], Sat May 6 23:31:30 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.217.2.3: +3 -2
lines
Diff to previous 1.217.2.3 (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.214.2.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:59 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.214.2.1: +32 -21
lines
Diff to previous 1.214.2.1 (colored)
Sync with head.
Revision 1.217.2.3 / (download) - annotate - [select for diffs], Wed Apr 19 05:13:59 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.217.2.2: +13 -19
lines
Diff to previous 1.217.2.2 (colored)
sync with head.
Revision 1.216.2.2 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:32 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.216.2.1: +2584 -0
lines
Diff to previous 1.216.2.1 (colored) to branchpoint 1.216 (colored)
sync with head.
Revision 1.218 / (download) - annotate - [select for diffs], Sun Mar 12 18:36:58 2006 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq
Changes since 1.217: +13 -19
lines
Diff to previous 1.217 (colored)
KNF: brace and parenthesis usage
Revision 1.217.2.2 / (download) - annotate - [select for diffs], Fri Mar 10 11:53:55 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.217.2.1: +11 -8
lines
Diff to previous 1.217.2.1 (colored)
process_authorize() -> kauth_authorize_process(), to be closer to the original and as requested by yamt@ and thorpej@.
Revision 1.217.2.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:53:40 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.217: +18 -25
lines
Diff to previous 1.217 (colored)
Adapt to kernel authorization KPI.
Revision 1.217 / (download) - annotate - [select for diffs], Mon Mar 6 21:53:29 2006 UTC (6 years, 2 months ago) by matt
Branch: MAIN
Branch point for: elad-kernelauth
Changes since 1.216: +8 -3
lines
Diff to previous 1.216 (colored)
Add a diagnostic printf if a write fails during a coredump.
Revision 1.216.2.1, Sun Mar 5 07:21:38 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.216: +0 -2585
lines
FILE REMOVED
file kern_sig.c was added on branch yamt-pdpolicy on 2006-03-13 09:07:32 +0000
Revision 1.216 / (download) - annotate - [select for diffs], Sun Mar 5 07:21:38 2006 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.215: +3 -4
lines
Diff to previous 1.215 (colored)
implement PT_SYSCALL
Revision 1.213.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:18 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.213: +41 -16
lines
Diff to previous 1.213 (colored) next main 1.214 (colored)
sync with head.
Revision 1.214.2.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:30:17 2006 UTC (6 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.214: +13 -20
lines
Diff to previous 1.214 (colored)
Adapt for timecounters: mostly use get*time() and use "time_second" instead of "time.tv_sec".
Revision 1.215 / (download) - annotate - [select for diffs], Sat Feb 4 12:09:50 2006 UTC (6 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Changes since 1.214: +27 -14
lines
Diff to previous 1.214 (colored)
for some random places, use PNBUF_GET/PUT rather than - on-stack buffer - malloc(MAXPATHLEN)
Revision 1.214 / (download) - annotate - [select for diffs], Thu Feb 2 17:48:51 2006 UTC (6 years, 3 months ago) by elad
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.213: +16 -4
lines
Diff to previous 1.213 (colored)
implement a security.setid_core node as discussed on tech-kern@ and tech-security@.
Revision 1.189.2.6.4.1 / (download) - annotate - [select for diffs], Thu Dec 29 01:32:51 2005 UTC (6 years, 4 months ago) by riz
Branch: netbsd-2-1
Changes since 1.189.2.6: +3 -14
lines
Diff to previous 1.189.2.6 (colored) next main 1.189.2.7 (colored)
Pull up following revision(s) (requested by chs in ticket #10206): sys/kern/kern_sig.c: revision 1.211 in kpsignal2(), do not try to wake up a cached LWP for SA processes in the case where we're sending SIGKILL but all LWPs are not signalable. some LWP will wake up soon enough to process the signal, and there may not be any LWPs in the cache to wake up anyway. fixes PR 28886 and PR 26771. also, add a missing "break" pointed out by yamt.
Revision 1.189.2.7 / (download) - annotate - [select for diffs], Thu Dec 29 01:29:55 2005 UTC (6 years, 4 months ago) by riz
Branch: netbsd-2-0
Changes since 1.189.2.6: +3 -14
lines
Diff to previous 1.189.2.6 (colored) to branchpoint 1.189 (colored) next main 1.190 (colored)
Pull up following revision(s) (requested by chs in ticket #10206): sys/kern/kern_sig.c: revision 1.211 in kpsignal2(), do not try to wake up a cached LWP for SA processes in the case where we're sending SIGKILL but all LWPs are not signalable. some LWP will wake up soon enough to process the signal, and there may not be any LWPs in the cache to wake up anyway. fixes PR 28886 and PR 26771. also, add a missing "break" pointed out by yamt.
Revision 1.189.2.6.2.1 / (download) - annotate - [select for diffs], Thu Dec 29 01:21:35 2005 UTC (6 years, 4 months ago) by riz
Branch: netbsd-2
Changes since 1.189.2.6: +3 -14
lines
Diff to previous 1.189.2.6 (colored) next main 1.189.2.7 (colored)
Pull up following revision(s) (requested by chs in ticket #10206): sys/kern/kern_sig.c: revision 1.211 in kpsignal2(), do not try to wake up a cached LWP for SA processes in the case where we're sending SIGKILL but all LWPs are not signalable. some LWP will wake up soon enough to process the signal, and there may not be any LWPs in the cache to wake up anyway. fixes PR 28886 and PR 26771. also, add a missing "break" pointed out by yamt.
Revision 1.213 / (download) - annotate - [select for diffs], Sat Dec 24 19:12:23 2005 UTC (6 years, 5 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace,
rpaulo-netinet-merge-pcb
Changes since 1.212: +4 -4
lines
Diff to previous 1.212 (colored)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.212 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:29 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.211: +14 -14
lines
Diff to previous 1.211 (colored)
merge ktrace-lwp.
Revision 1.143.2.11 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:11 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.143.2.10: +3 -14
lines
Diff to previous 1.143.2.10 (colored) next main 1.144 (colored)
Sync with head.
Revision 1.202.2.2 / (download) - annotate - [select for diffs], Sun Nov 13 13:55:27 2005 UTC (6 years, 6 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Changes since 1.202.2.1: +3 -14
lines
Diff to previous 1.202.2.1 (colored) to branchpoint 1.202 (colored)
Pull up following revision(s) (requested by chs in ticket #954): sys/kern/kern_sig.c: revision 1.211 in kpsignal2(), do not try to wake up a cached LWP for SA processes in the case where we're sending SIGKILL but all LWPs are not signalable. some LWP will wake up soon enough to process the signal, and there may not be any LWPs in the cache to wake up anyway. fixes PR 28886 and PR 26771. also, add a missing "break" pointed out by yamt.
Revision 1.211 / (download) - annotate - [select for diffs], Sat Nov 12 02:27:48 2005 UTC (6 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Changes since 1.210: +3 -14
lines
Diff to previous 1.210 (colored)
in kpsignal2(), do not try to wake up a cached LWP for SA processes in the case where we're sending SIGKILL but all LWPs are not signalable. some LWP will wake up soon enough to process the signal, and there may not be any LWPs in the cache to wake up anyway. fixes PR 28886 and PR 26771. also, add a missing "break" pointed out by yamt.
Revision 1.143.2.10 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.9: +70 -12
lines
Diff to previous 1.143.2.9 (colored)
Sync with HEAD. Here we go again...
Revision 1.209.2.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:51 2005 UTC (6 years, 7 months ago) by yamt
Branch: yamt-vop
Changes since 1.209: +3 -3
lines
Diff to previous 1.209 (colored) next main 1.210 (colored)
sync with head
Revision 1.210 / (download) - annotate - [select for diffs], Sun Oct 23 00:09:14 2005 UTC (6 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Changes since 1.209: +3 -3
lines
Diff to previous 1.209 (colored)
Implement a few changes needed to properly resolve PR#30924, as discussed in the PR. - introduce sys/timevar.h to hold kernel-specific stuff relevant to sys/time.h. Ideally, timevar.h would contain all (or almost) of the #ifdef _KERNEL part of time.h, but that's a pretty big and tedious change to make. For now, it will contain only the prototypes I introduced when working on COMPAT_NETBSD32. - split copyinout_t into copyin_t and copyout_t, it makes prototypes more explicit about the meaning of a given argument. Suggested by yamt@. - move copyinout_t definition in sys/time.h to systm.h as copyin_t and copyout_t - make everything uses the new types and include the proper headers at the proper places.
Revision 1.202.2.1 / (download) - annotate - [select for diffs], Fri Oct 21 17:39:40 2005 UTC (6 years, 7 months ago) by riz
Branch: netbsd-3
Changes since 1.202: +19 -5
lines
Diff to previous 1.202 (colored)
Pull up following revision(s) (requested by chs in ticket #901): sys/kern/kern_time.c: revision 1.94 sys/sys/signalvar.h: revision 1.59 sys/sys/savar.h: revision 1.16 sys/kern/kern_sig.c: revision 1.209 sys/kern/kern_sa.c: revision 1.66 sys/kern/kern_synch.c: revision 1.150 avoid calling into the pool code while holding sched_lock since both pool_get() and pool_put() can call wakeup(). instead, allocate the struct sadata_upcall before taking sched_lock in mi_switch() and free it after releasing sched_lock. clean up some modularity warts by adding a callback to struct sadata_upcall for freeing sa_arg.
Revision 1.209 / (download) - annotate - [select for diffs], Sun Oct 2 17:51:27 2005 UTC (6 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.208: +19 -5
lines
Diff to previous 1.208 (colored)
avoid calling into the pool code while holding sched_lock since both pool_get() and pool_put() can call wakeup(). instead, allocate the struct sadata_upcall before taking sched_lock in mi_switch() and free it after releasing sched_lock. clean up some modularity warts by adding a callback to struct sadata_upcall for freeing sa_arg.
Revision 1.208 / (download) - annotate - [select for diffs], Sat Jul 23 22:02:13 2005 UTC (6 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.207: +13 -5
lines
Diff to previous 1.207 (colored)
Introduce __sigtimedwait1 which will help adding COMPAT_NETBSD32 support for __sigtimedwait(2).
Revision 1.207 / (download) - annotate - [select for diffs], Fri Jun 10 05:10:13 2005 UTC (6 years, 11 months ago) by matt
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.206: +33 -3
lines
Diff to previous 1.206 (colored)
Rework the coredump code to have no explicit knownledge of how coredump
i/o is done. Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o. This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.
Revision 1.206 / (download) - annotate - [select for diffs], Sun May 29 22:24:15 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.205: +4 -4
lines
Diff to previous 1.205 (colored)
- add const. - remove unnecessary casts. - add __UNCONST casts and mark them with XXXUNCONST as necessary.
Revision 1.201.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:23 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.201: +65 -46
lines
Diff to previous 1.201 (colored) next main 1.202 (colored)
sync with -current
Revision 1.205 / (download) - annotate - [select for diffs], Sat Apr 9 16:07:52 2005 UTC (7 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.204: +9 -3
lines
Diff to previous 1.204 (colored)
Reset SIGCHLD handler if it is ignored, and clear the P_CLDSIGIGN bit. It does not make sense to inherit this across execs. From FreeBSD.
Revision 1.143.2.9 / (download) - annotate - [select for diffs], Fri Apr 1 14:30:56 2005 UTC (7 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.8: +19 -6
lines
Diff to previous 1.143.2.8 (colored)
Sync with HEAD.
Revision 1.204 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:37 2005 UTC (7 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.203: +7 -6
lines
Diff to previous 1.203 (colored)
merge yamt-km branch. - don't use managed mappings/backing objects for wired memory allocations. save some resources like pv_entry. also fix (most of) PR/27030. - simplify kernel memory management API. - simplify pmap bootstrap of some ports. - some related cleanups.
Revision 1.203 / (download) - annotate - [select for diffs], Wed Mar 30 17:07:51 2005 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.202: +14 -2
lines
Diff to previous 1.202 (colored)
PR/19837: Stephen Ma: signal(SIGCHLD, SIG_IGN) should not create zombies.
Revision 1.201.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:11 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.201.4.1: +41 -41
lines
Diff to previous 1.201.4.1 (colored) to branchpoint 1.201 (colored) next main 1.202 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.143.2.8 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:58 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.7: +41 -41
lines
Diff to previous 1.143.2.7 (colored)
Sync with HEAD. Hi Perry!
Revision 1.202 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:55 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Changes since 1.201: +41 -41
lines
Diff to previous 1.201 (colored)
nuke trailing whitespace
Revision 1.201.4.1 / (download) - annotate - [select for diffs], Tue Jan 25 12:59:35 2005 UTC (7 years, 4 months ago) by yamt
Branch: yamt-km
Changes since 1.201: +7 -6
lines
Diff to previous 1.201 (colored)
convert to new apis.
Revision 1.143.2.7 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:25 2005 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.6: +16 -13
lines
Diff to previous 1.143.2.6 (colored)
Sync with HEAD.
Revision 1.201 / (download) - annotate - [select for diffs], Sun Jan 9 19:22:55 2005 UTC (7 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Changes since 1.200: +10 -10
lines
Diff to previous 1.200 (colored)
Allow PT_DUMPCORE to specify the core filename.
Revision 1.200 / (download) - annotate - [select for diffs], Thu Jan 6 19:26:41 2005 UTC (7 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.199: +8 -5
lines
Diff to previous 1.199 (colored)
If sa_upcall() fails (which is always going to be due to resource exhaustion), do not leak siginfo structures. Note that in the cases of trap signals and timer events, losing this information could be very bad; right now it will cause us to spin until the process is SIGKILLed. "Needs work."
Revision 1.143.2.6 / (download) - annotate - [select for diffs], Tue Oct 19 15:58:04 2004 UTC (7 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.5: +44 -54
lines
Diff to previous 1.143.2.5 (colored)
Sync with HEAD
Revision 1.199 / (download) - annotate - [select for diffs], Fri Oct 1 16:30:55 2004 UTC (7 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-base,
kent-audio1
Changes since 1.198: +3 -3
lines
Diff to previous 1.198 (colored)
introduce a function, proclist_foreach_call, to iterate all procs on a proclist and call the specified function for each of them. primarily to fix a procfs locking problem, but i think that it's useful for others as well. while i'm here, introduce PROCLIST_FOREACH macro, which is similar to LIST_FOREACH but skips marker entries which are used by proclist_foreach_call.
Revision 1.189.2.6 / (download) - annotate - [select for diffs], Fri Oct 1 03:46:37 2004 UTC (7 years, 7 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-1,
netbsd-2
Changes since 1.189.2.5: +43 -53
lines
Diff to previous 1.189.2.5 (colored) to branchpoint 1.189 (colored)
Pullup rev 1.198 (requested by jdolecek in ticket #881) Adjust the change of rev. 1.190 so that trap signals not matching the reset condition are processed properly. PR#26687
Revision 1.198 / (download) - annotate - [select for diffs], Tue Sep 28 08:59:20 2004 UTC (7 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.197: +43 -53
lines
Diff to previous 1.197 (colored)
adjust the change of rev. 1.190 so that trap signals not matching the reset condition are processed properly; this fixes PR#26687 by Jan Schaumann many thanks to Mark Davies, who tracked the offending change down and helped test patches while here, g/c unused sigtrapmask and rearrange some code to pre-r1.190 form for better readability
Revision 1.143.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:08 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.4: +11 -11
lines
Diff to previous 1.143.2.4 (colored)
Fix the sync with head I botched.
Revision 1.143.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.3: +11 -11
lines
Diff to previous 1.143.2.3 (colored)
Sync with HEAD.
Revision 1.143.2.3 / (download) - annotate - [select for diffs], Wed Aug 18 10:19:08 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.2: +4 -5
lines
Diff to previous 1.143.2.2 (colored)
Revert to passing struct proc for {exit,exec}hook.
Revision 1.143.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:51 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.143.2.1: +732 -289
lines
Diff to previous 1.143.2.1 (colored)
Sync with HEAD
Revision 1.189.2.5 / (download) - annotate - [select for diffs], Sun Jun 13 08:18:05 2004 UTC (7 years, 11 months ago) by jdc
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-RC1
Changes since 1.189.2.4: +32 -3
lines
Diff to previous 1.189.2.4 (colored) to branchpoint 1.189 (colored)
Pull up revision 1.196 (via patch) (requested by skrll in ticket #456). Allow for struct sigacts being greater than PAGE_SIZE on sun2. sun2 -current kernels now work again. Reviewed by Matt Thomas. Thanks.
Revision 1.197 / (download) - annotate - [select for diffs], Tue Jun 8 19:35:30 2004 UTC (7 years, 11 months ago) by he
Branch: MAIN
Changes since 1.196: +5 -3
lines
Diff to previous 1.196 (colored)
PAGE_SIZE is apparently not a constant on the sparc port, so don't use it in a static initializer. Instead, initialize in signal_init().
Revision 1.196 / (download) - annotate - [select for diffs], Fri Jun 4 12:23:50 2004 UTC (7 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.195: +32 -4
lines
Diff to previous 1.195 (colored)
Allow for struct sigacts being greater than PAGE_SIZE on sun2. sun2 -current kernels now work again. Reviewed by Matt Thomas. Thanks.
Revision 1.195 / (download) - annotate - [select for diffs], Tue May 4 21:25:47 2004 UTC (8 years ago) by pk
Branch: MAIN
Changes since 1.194: +3 -5
lines
Diff to previous 1.194 (colored)
Change sigactsfree() to take a `struct sigacts' pointer, to fit the needs of exit1 (its only client).
Revision 1.194 / (download) - annotate - [select for diffs], Sun Apr 25 16:42:41 2004 UTC (8 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.193: +8 -11
lines
Diff to previous 1.193 (colored)
Initialise (most) pools from a link set instead of explicit calls to pool_init. Untouched pools are ones that either in arch-specific code, or aren't initialiased during initial system startup. Convert struct session, ucred and lockf to pools.
Revision 1.189.2.4 / (download) - annotate - [select for diffs], Mon Apr 5 20:39:31 2004 UTC (8 years, 1 month ago) by tron
Branch: netbsd-2-0
Changes since 1.189.2.3: +9 -2
lines
Diff to previous 1.189.2.3 (colored) to branchpoint 1.189 (colored)
Pull up revision 1.193 (requested by matt in ticket #56): When a process is being traced (debugged) and a catchable signal arrives, make sure to save its ksiginfo_t for eventual delivery. This makes debugging SA_SIGINFO signal handlers work.
Revision 1.189.2.3 / (download) - annotate - [select for diffs], Mon Apr 5 20:37:50 2004 UTC (8 years, 1 month ago) by tron
Branch: netbsd-2-0
Changes since 1.189.2.2: +11 -6
lines
Diff to previous 1.189.2.2 (colored) to branchpoint 1.189 (colored)
Pull up revision 1.192 (requested by matt in ticket #56): Add the notion of an "empty" ksiginfo_t (one where on signo is filled in). Add an initializer for them: KSI_INIT_EMPTY Add a predicate for them: KSI_EMPTY_P Don't bother storing empty ksiginfo_t's since they have no information. Change uses of KSI_INIT to KSI_INIT_EMPTY where no other information other than the signo is being filled in.
Revision 1.189.2.2 / (download) - annotate - [select for diffs], Mon Apr 5 20:32:29 2004 UTC (8 years, 1 month ago) by tron
Branch: netbsd-2-0
Changes since 1.189.2.1: +8 -8
lines
Diff to previous 1.189.2.1 (colored) to branchpoint 1.189 (colored)
Pull up revision 1.191 (requested by matt in ticket #56): Replace memset's of ksiginfo_t with KSI_INIT (which is the proper way to initialize ksiginfo_t structures).
Revision 1.193 / (download) - annotate - [select for diffs], Sat Apr 3 19:46:10 2004 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.192: +7 -0
lines
Diff to previous 1.192 (colored)
When a process is being traced (debugged) and a catchable signal arrives, make sure to save its ksiginfo_t for eventual delivery. This makes debugging SA_SIGINFO signal handlers work.
Revision 1.192 / (download) - annotate - [select for diffs], Sat Apr 3 19:43:08 2004 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.191: +11 -6
lines
Diff to previous 1.191 (colored)
Add the notion of an "empty" ksiginfo_t (one where on signo is filled in). Add an initializer for them: KSI_INIT_EMPTY Add a predicate for them: KSI_EMPTY_P Don't bother storing empty ksiginfo_t's since they have no information. Change uses of KSI_INIT to KSI_INIT_EMPTY where no other information other than the signo is being filled in.
Revision 1.191 / (download) - annotate - [select for diffs], Sat Apr 3 19:38:04 2004 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.190: +8 -8
lines
Diff to previous 1.190 (colored)
Replace memset's of ksiginfo_t with KSI_INIT (which is the proper way to initialize ksiginfo_t structures).
Revision 1.189.2.1 / (download) - annotate - [select for diffs], Thu Apr 1 23:28:33 2004 UTC (8 years, 1 month ago) by jmc
Branch: netbsd-2-0
Changes since 1.189: +47 -22
lines
Diff to previous 1.189 (colored)
Pullup rev 1.190 (requested by matt in ticket #43) If a signal is the result of trap, only invoke a supplied handler if it's not blocked. Otherwise (it if it blocked or the handler is set to SIG_IGN) reset the signal back to its default settings so that a coredump can be generated.
Revision 1.190 / (download) - annotate - [select for diffs], Thu Apr 1 16:56:44 2004 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.189: +47 -22
lines
Diff to previous 1.189 (colored)
If a signal is the result of trap, only invoke a supplied handler if it's not blocked. Otherwise (it if it blocked or the hanlder is set to SIG_IGN) reset the signal back to its default settings so that a coredump can be generated.
Revision 1.189 / (download) - annotate - [select for diffs], Fri Mar 26 17:13:37 2004 UTC (8 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.188: +2 -26
lines
Diff to previous 1.188 (colored)
all ports define __HAVE_SIGINFO now, so remove the CPP conditionals
Revision 1.188 / (download) - annotate - [select for diffs], Sun Mar 21 18:41:38 2004 UTC (8 years, 2 months ago) by cl
Branch: MAIN
Changes since 1.187: +14 -2
lines
Diff to previous 1.187 (colored)
On MP, exit postsig() when another LWP has already handled the signal while this LWP was waiting for the kernel lock. Fixes PR kern/24829
Revision 1.187 / (download) - annotate - [select for diffs], Sun Mar 14 01:08:47 2004 UTC (8 years, 2 months ago) by cl
Branch: MAIN
Changes since 1.186: +68 -48
lines
Diff to previous 1.186 (colored)
add kernel part of concurrency support for SA on MP systems - move per VP data into struct sadata_vp referenced from l->l_savp * VP id * lock on VP data * LWP on VP * recently blocked LWP on VP * queue of LWPs woken which ran on this VP before sleep * faultaddr * LWP cache for upcalls * upcall queue - add current concurrency and requested concurrency variables - make process exit run LWP on all VPs - make signal delivery consider all VPs - make timer events consider all VPs - add sa_newsavp to allocate new sadata_vp structure - add sa_increaseconcurrency to prepare new VP - make sys_sa_setconcurrency request new VP or wakeup idle VP - make sa_yield lower current concurrency - set sa_cpu = VP id in upcalls - maintain cached LWPs per VP
Revision 1.186 / (download) - annotate - [select for diffs], Thu Mar 11 22:34:26 2004 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.185: +10 -5
lines
Diff to previous 1.185 (colored)
PR/24750: Frank Kardel: panic when process is signalled during proc initialization.
Revision 1.185 / (download) - annotate - [select for diffs], Thu Mar 4 00:05:58 2004 UTC (8 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.184: +14 -6
lines
Diff to previous 1.184 (colored)
Look at _UC_STACK to decide whether the process' SS_ONSTACK state needs to be updated. (This is needed to be compatible with how pre-SIGINFO signals operated. If you siglongjmp out of a signal handler, the SS_ONSTACK state needs to be cleared. This commit restores that functionality).
Revision 1.184 / (download) - annotate - [select for diffs], Wed Dec 24 22:53:59 2003 UTC (8 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.183: +9 -9
lines
Diff to previous 1.183 (colored)
Move the sigfilter hook to a more adequate location, and rename it to better fit what it does. The softsignal feature is used in Darwin to trace processes. When the traced process gets a signal, this raises an exception. The debugger will receive the exception message, use ptrace with PT_THUPDATE to pass the signal to the child or discard it, and then it will send a reply to the exception message, to resume the child. With the hook at the beginnng of kpsignal2, we are in the context of the signal sender, which can be the kill(1) command, for instance. We cannot afford to sleep until the debugger tells us if the signal should be delivered or not. Therefore, the hook to generate the Mach exception must be in the traced process context. That was we can sleep awaiting for the debugger opinion about the signal, this is not a problem. The hook is hence located into issignal, at the place where normally SIGCHILD is sent to the debugger, whereas the traced process is stopped. If the hook returns 0, we bypass thoses operations, the Mach exception mecanism will take care of notifying the debugger (through a Mach exception), and stop the faulting thread.
Revision 1.183 / (download) - annotate - [select for diffs], Sat Dec 20 19:01:30 2003 UTC (8 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.182: +8 -2
lines
Diff to previous 1.182 (colored)
Put back Emmanuel's sigfilter hooks, as decided by Core.
Revision 1.182 / (download) - annotate - [select for diffs], Fri Dec 5 21:12:43 2003 UTC (8 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.181: +0 -6
lines
Diff to previous 1.181 (colored)
back the sigfilter emulation hook change off
Revision 1.181 / (download) - annotate - [select for diffs], Wed Dec 3 20:24:51 2003 UTC (8 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.180: +8 -2
lines
Diff to previous 1.180 (colored)
Add a sigfilter emulation hook. It is used at the beginning of kpsignal2() so that a specific emulation has the oportunity to filter out some signals. if sigfilter returns 0, then no signal is sent by kpsignal2(). There is another place where signals can be generated: trapsignal. Since this function is already an emulation hook, no call to the sigfilter hook was introduced in trapsignal. This is needed to emulate the softsignal feature in COMPAT_DARWIN (signals sent as Mach exception messages)
Revision 1.180 / (download) - annotate - [select for diffs], Thu Nov 27 23:16:47 2003 UTC (8 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.179: +8 -7
lines
Diff to previous 1.179 (colored)
Make the wakeup optionnal in proc_stop, so that it is possible to stop a process without waking up its parent.
Revision 1.179 / (download) - annotate - [select for diffs], Mon Nov 17 19:21:56 2003 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.178: +3 -4
lines
Diff to previous 1.178 (colored)
expose proc_stop; needed by mach/darwin emulation
Revision 1.178 / (download) - annotate - [select for diffs], Wed Nov 12 21:07:38 2003 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.177: +8 -3
lines
Diff to previous 1.177 (colored)
- Count number of zombies and stopped children and requeue them at the top of the sibling list so that find_stopped_child can be optimised to avoid traversing the entire sibling list - helps when a process has a lot of children. - Modify locking in pfind() and pgfind() to that the caller can rely on the result being valid, allow caller to request that zombies be findable. - Rename pfind() to p_find() to ensure we break binary compatibility. - Remove svr4_pfind since p_find willnow do the job. - Modify some of the SMP locking of the proc lists - signals are still stuffed. Welcome to 1.6ZF
Revision 1.177 / (download) - annotate - [select for diffs], Mon Nov 3 22:34:51 2003 UTC (8 years, 6 months ago) by cl
Branch: MAIN
Changes since 1.176: +5 -4
lines
Diff to previous 1.176 (colored)
Reimplement VP donation such that multiple unblocked upcalls can be combined. Also prepare for adding VP repossession later. - kern_sa.c: sa_yield/sa_switch: detect if there are pending unblocked upcalls. - kern_sa.c: sa_unblock_userret/sa_setwoken: queue LWPs about to invoke an unblocked upcall on the sa_wokenq. put queued LWPs in a state where they can be put in the cache. notify LWP on the VP about pending upcalls. - kern_sa.c: sa_upcall_userret: check sa_wokenq for pending upcalls, generate unblocked upcalls with multiple event sas - kern_sa.c: sa_vp_repossess/sa_vp_donate: g/c, restore original sa_vp_repossess
Revision 1.176 / (download) - annotate - [select for diffs], Sun Nov 2 16:30:55 2003 UTC (8 years, 6 months ago) by cl
Branch: MAIN
Changes since 1.175: +110 -113
lines
Diff to previous 1.175 (colored)
perform indention change left out of previous commit
Revision 1.175 / (download) - annotate - [select for diffs], Sun Nov 2 16:26:10 2003 UTC (8 years, 6 months ago) by cl
Branch: MAIN
Changes since 1.174: +99 -57
lines
Diff to previous 1.174 (colored)
Cleanup signal delivery for SA processes: General idea: only consider the LWP on the VP for signal delivery, all other LWPs are either asleep or running from waking up until repossessing the VP. - in kern_sig.c:kpsignal2: handle all states the LWP on the VP can be in - in kern_sig.c:proc_stop: only try to stop the LWP on the VP. All other LWPs will suspend in sa_vp_repossess() until the VP-LWP donates the VP. Restore original behaviour (before SA-specific hacks were added) for non-SA processes. - in kern_sig.c:proc_unstop: only return the LWP on the VP - handle sa_yield as case 0 in sa_switch instead of clearing L_SA, add an L_SA_YIELD flag - replace sa_idle by L_SA_IDLE flag since it was either NULL or == sa_vp Also don't output itimerfire overrun warning if the process is already exiting. Also g/c sa_woken because it's not used. Also g/c some #if 0 code.
Revision 1.174 / (download) - annotate - [select for diffs], Sat Nov 1 17:59:57 2003 UTC (8 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.173: +3 -4
lines
Diff to previous 1.173 (colored)
add a macro to copy ksiginfo_t, and use it in kern_sig.c:ksiginfo_put() change suggested by Christian Limpach
Revision 1.173 / (download) - annotate - [select for diffs], Sat Nov 1 07:44:14 2003 UTC (8 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.172: +16 -10
lines
Diff to previous 1.172 (colored)
in sigtimedwait(), use malloc(9)ed (and thus wired) memory for the waitset we pass via sigctx, so that it guaranteed that the memory wouldn't be paged out at the time the signal arrives potential problem pointed out by YAMAMOTO Takashi
Revision 1.172 / (download) - annotate - [select for diffs], Thu Oct 30 16:32:58 2003 UTC (8 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.171: +4 -6
lines
Diff to previous 1.171 (colored)
ksiginfo_put(): only copy what's needed of ksiginfo_t, to slightly optimize the operation, and improve code readability at the same time
Revision 1.171 / (download) - annotate - [select for diffs], Sat Oct 25 16:50:37 2003 UTC (8 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.170: +57 -48
lines
Diff to previous 1.170 (colored)
modify sigtimedwait(2) to return full siginfo if available, and pass the wait set using a pointer, to save couple bytes in struct sigctx also fix fallout from recent lwp_wakeup() change, where we failed to properly detect if tsleep() returned as result of lwp_wakeup() or signal outside our wait set; could have caused problems for threaded apps using sigwait(2) et.al.
Revision 1.170 / (download) - annotate - [select for diffs], Sat Oct 25 09:06:51 2003 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.169: +3 -3
lines
Diff to previous 1.169 (colored)
fix uninitialized variable
Revision 1.169 / (download) - annotate - [select for diffs], Wed Oct 15 11:28:59 2003 UTC (8 years, 7 months ago) by hannken
Branch: MAIN
Changes since 1.168: +15 -2
lines
Diff to previous 1.168 (colored)
Add the gating of system calls that cause modifications to the underlying file system. The function vfs_write_suspend stops all new write operations to a file system, allows any file system modifying system calls already in progress to complete, then sync's the file system to disk and returns. The function vfs_write_resume allows the suspended write operations to complete. From FreeBSD with slight modifications. Approved by: Frank van der Linden <fvdl@netbsd.org>
Revision 1.168 / (download) - annotate - [select for diffs], Sun Oct 12 20:09:50 2003 UTC (8 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.167: +12 -5
lines
Diff to previous 1.167 (colored)
ksiginfo_get/exit hook: protect queue operations with splsoftclock() (noted by Christos).
Revision 1.167 / (download) - annotate - [select for diffs], Sun Oct 12 14:32:05 2003 UTC (8 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.166: +8 -5
lines
Diff to previous 1.166 (colored)
ksiginfo_put: protect queue operation with splsoftclock(), since it can be called from timer interrupts.
Revision 1.166 / (download) - annotate - [select for diffs], Wed Oct 8 00:28:42 2003 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.165: +9 -6
lines
Diff to previous 1.165 (colored)
* Shuffle some data structures so, and add a flags word to ksiginfo_t. Right now the only flag is used to indicate if a ksiginfo_t is a result of a trap. Add a predicate macro to test for this flag. * Add initialization macros for ksiginfo_t's. * Add accssor macro for ksi_trap. Expands to 0 if the ksiginfo_t was not the result of a trap. This matches the sigcontext trapcode semantics. * In kpsendsig(), use KSI_TRAP_P() to select the lwp that gets the signal. Inspired by Matthias Drochner's fix to kpsendsig(), but correctly handles the case of non-trap-generated signals that have a > 0 si_code. This patch fixes a signal delivery problem with threaded programs noted by Matthias Drochner on tech-kern. As discussed on tech-kern. Reviewed and OK's by Christos.
Revision 1.165 / (download) - annotate - [select for diffs], Tue Oct 7 00:23:17 2003 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.164: +9 -6
lines
Diff to previous 1.164 (colored)
Whitespace nits.
Revision 1.164 / (download) - annotate - [select for diffs], Sat Oct 4 03:45:49 2003 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.163: +3 -3
lines
Diff to previous 1.163 (colored)
Don't look for file descriptor matches when a process is exiting. From Andrey Petrov.
Revision 1.163 / (download) - annotate - [select for diffs], Fri Oct 3 17:51:13 2003 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.162: +9 -4
lines
Diff to previous 1.162 (colored)
Fix problem with signal trampoline version checking that did not take into account that emulations usually use version 0 and provide their own in kernel trampolines.
Revision 1.162 / (download) - annotate - [select for diffs], Sat Sep 27 00:57:45 2003 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.161: +7 -7
lines
Diff to previous 1.161 (colored)
Deal with signal trampoline being const.
Revision 1.161 / (download) - annotate - [select for diffs], Fri Sep 26 22:14:19 2003 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.160: +5 -2
lines
Diff to previous 1.160 (colored)
Add a machine-dependent SIGTRAMP_VALID macro which is used to test whether a trampoline version is valid or not.
Revision 1.160 / (download) - annotate - [select for diffs], Thu Sep 25 21:59:18 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.159: +34 -29
lines
Diff to previous 1.159 (colored)
constify sendsig/trapsignal
Revision 1.159 / (download) - annotate - [select for diffs], Tue Sep 23 17:59:48 2003 UTC (8 years, 8 months ago) by nathanw
Branch: MAIN
Changes since 1.158: +3 -3
lines
Diff to previous 1.158 (colored)
When the syscall was made a compat syscall and the function name changed to compat_16_sys___sigaction14, the name of the _args structure chaged as well.
Revision 1.158 / (download) - annotate - [select for diffs], Tue Sep 23 14:34:07 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.157: +6 -3
lines
Diff to previous 1.157 (colored)
__sigaction14 should have been COMPAT_16 a while ago. GC it now.
Revision 1.157 / (download) - annotate - [select for diffs], Fri Sep 19 22:51:31 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.156: +23 -8
lines
Diff to previous 1.156 (colored)
- support for siginfo_t in ktrace - make sure allocation for ksiginfo_t worked
Revision 1.156 / (download) - annotate - [select for diffs], Tue Sep 16 15:59:28 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.155: +3 -3
lines
Diff to previous 1.155 (colored)
fix typo (ktr -> ksi)
Revision 1.155 / (download) - annotate - [select for diffs], Tue Sep 16 12:07:11 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.154: +51 -72
lines
Diff to previous 1.154 (colored)
- convert to circleq - add simple lock for the list - make get function remove the item from the list - eliminate superfluous functions thanks to enami and matt for the feedback.
Revision 1.154 / (download) - annotate - [select for diffs], Sun Sep 14 23:45:53 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.153: +3 -3
lines
Diff to previous 1.153 (colored)
remove variable name from prototype.
Revision 1.153 / (download) - annotate - [select for diffs], Sun Sep 14 17:39:03 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.152: +8 -4
lines
Diff to previous 1.152 (colored)
- don't trash the linked list pointers in the ksiginfo_t reuse case [thanks enami] - fix uninitialized variable in the exit hook. [thanks yamt]
Revision 1.152 / (download) - annotate - [select for diffs], Sun Sep 14 06:59:14 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.151: +144 -26
lines
Diff to previous 1.151 (colored)
handle siginfo for deferred signals. Allocate a ksiginfo pool, and store the information there. TODO: 1. since timer stuff gets called from an interrupt context, we could preallocate ksiginfo_t's from the pool, so we don't need a kmem pool. 2. probably the sa signal delivery syscall can be changed to take a ksiginfo_t so we can use only one pool. 3. maybe when we add realtime signal support, add a resource limit on the number of ksiginfo_t's a process can allocate.
Revision 1.151 / (download) - annotate - [select for diffs], Sat Sep 13 15:32:41 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.150: +26 -6
lines
Diff to previous 1.150 (colored)
provide siginfo_t in for SIGCHLD
Revision 1.150 / (download) - annotate - [select for diffs], Thu Sep 11 01:32:09 2003 UTC (8 years, 8 months ago) by cl
Branch: MAIN
Changes since 1.149: +6 -5
lines
Diff to previous 1.149 (colored)
KNF and use f instead of s to temporarily save l_flag
Revision 1.149 / (download) - annotate - [select for diffs], Wed Sep 10 16:41:26 2003 UTC (8 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.148: +7 -2
lines
Diff to previous 1.148 (colored)
sigaction1(): if SA_SIGINFO is set but not supported, fail early. As discussed with Christos.
Revision 1.148 / (download) - annotate - [select for diffs], Sat Sep 6 22:03:09 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.147: +110 -37
lines
Diff to previous 1.147 (colored)
SA_SIGINFO changes.
Revision 1.147 / (download) - annotate - [select for diffs], Mon Aug 11 21:18:19 2003 UTC (8 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.146: +5 -5
lines
Diff to previous 1.146 (colored)
SA fixes from Stephan Uphoff. Quoting him: The patch below (hopefully) improves some signaling problems found by Nathan. It also contains some cleanup of the sa_upcall_userret() function removing any sleep calls using PCATCH. Unblocked threads now only use an upcall stack after they acquire the virtual CPU. This prevents unblocked threads from stealing all available upcall stacks. Tested by Nick Hudson.
Revision 1.146 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:48 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.145: +3 -7
lines
Diff to previous 1.145 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.145 / (download) - annotate - [select for diffs], Mon Jul 21 22:57:46 2003 UTC (8 years, 10 months ago) by nathanw
Branch: MAIN
Changes since 1.144: +3 -15
lines
Diff to previous 1.144 (colored)
Whitespace.
Revision 1.144 / (download) - annotate - [select for diffs], Thu Jul 17 18:16:58 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.143: +61 -9
lines
Diff to previous 1.143 (colored)
Changes from Stephan Uphoff to patch problems with LWPs blocking when they shouldn't, and MP.
Revision 1.143.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:38 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.143: +9 -9
lines
Diff to previous 1.143 (colored)
Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
Revision 1.143 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:22 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.142: +7 -7
lines
Diff to previous 1.142 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.142 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:54 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.141: +9 -9
lines
Diff to previous 1.141 (colored)
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed. Bump the kernel rev up to 1.6V
Revision 1.141 / (download) - annotate - [select for diffs], Tue May 20 17:42:51 2003 UTC (9 years ago) by nathanw
Branch: MAIN
Changes since 1.140: +4 -2
lines
Diff to previous 1.140 (colored)
Track the LWP ID of a synchronous (trap) signal, and report it in core dumps.
Revision 1.140 / (download) - annotate - [select for diffs], Wed Apr 23 21:32:10 2003 UTC (9 years, 1 month ago) by nathanw
Branch: MAIN
Changes since 1.139: +18 -9
lines
Diff to previous 1.139 (colored)
Patch from Nick Hudson to clean up a couple of cases in proc_unstop(), as well as improving the comments a bit. Addresses PR kern/20159.
Revision 1.139 / (download) - annotate - [select for diffs], Tue Apr 15 12:11:25 2003 UTC (9 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.138: +3 -4
lines
Diff to previous 1.138 (colored)
ANSIfy proc_unstop
Revision 1.138 / (download) - annotate - [select for diffs], Sat Mar 29 22:48:39 2003 UTC (9 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.137: +3 -3
lines
Diff to previous 1.137 (colored)
Consistently spell occurrence with two rs.
Revision 1.137 / (download) - annotate - [select for diffs], Thu Mar 6 15:31:14 2003 UTC (9 years, 2 months ago) by darrenr
Branch: MAIN
Changes since 1.136: +4 -3
lines
Diff to previous 1.136 (colored)
When unblocking threads, do not call setrunnable() on the thread we will be returning because the code path that calls is will very likely call setrunnable() again on the returned thread, leading to a panic because the thread returned is already at LSRUN. This fixes a problem where netbsd would panic when using gdb (5.3) on a process with multiple lwp's like this: % gdb program (gdb) run ^C (gdb) quit
Revision 1.136 / (download) - annotate - [select for diffs], Mon Feb 17 23:45:00 2003 UTC (9 years, 3 months ago) by nathanw
Branch: MAIN
Changes since 1.135: +9 -5
lines
Diff to previous 1.135 (colored)
Clear L_SA from all LWPs in sigexit() to prevent any upcalls or sa_switch() invocations while exiting. Test P_SA instead of L_SA, out of paranoia. Avoids a possible remrunqueue panic reported by Havard Eidnes. Release the kernel lock before calling the userret function to exit in sigexit(). Problem noted by Paul Kranenburg.
Revision 1.135 / (download) - annotate - [select for diffs], Sat Feb 15 20:54:39 2003 UTC (9 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.134: +179 -2
lines
Diff to previous 1.134 (colored)
add __sigtimedwait(2) - wait for specified set of signals, with optional timeout the semantics of 'timeout' parameter differ to POSIX for the syscall (not const, may be modified by kernel if interrupted from the wait) - libc will provide appropriate wrapper since sigwaitinfo(2) will be implemented as wrapper around sigtimedwait() too, remove it's reserved slot and move sigqueue slot 'up', freeing slot #246
Revision 1.134 / (download) - annotate - [select for diffs], Sat Feb 15 18:10:16 2003 UTC (9 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.133: +4 -3
lines
Diff to previous 1.133 (colored)
Fix support of 15 and 16 character lognames. Warn if the logname is changed within a session - usually a missing setsid. (approved by christos)
Revision 1.133 / (download) - annotate - [select for diffs], Fri Feb 7 21:43:18 2003 UTC (9 years, 3 months ago) by nathanw
Branch: MAIN
Changes since 1.132: +32 -33
lines
Diff to previous 1.132 (colored)
Two fixes: * Change the semantics of proc_unstop() slightly, so that it is responsible for making all stopped LWPs runnable, instead of all-but-one. Return value is a LWP that can be interrupted if doing so is necessary to take a signal. Adjust callers of proc_stop() to the new, simpler semantics. * When a non-continue signal is delivered to a stopped process and there is a LWP sleeping interruptably, call setrunnable() (by way of the 'out:' target in psignal1) instead of calling unsleep() so that it becomes LSSTOP in issignal() and continuable by proc_unstop(). Addresses PR kern/19990 by Martin Husemann, with suggestions from enami tsugutomo.
Revision 1.132 / (download) - annotate - [select for diffs], Fri Feb 7 09:02:14 2003 UTC (9 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.131: +15 -15
lines
Diff to previous 1.131 (colored)
use LIST_FOREACH() macro in proc_stop()/proc_unstop() rewrite contents of the loop in proc_unstop to be a bit more easily comprehensible
Revision 1.131 / (download) - annotate - [select for diffs], Mon Feb 3 22:56:23 2003 UTC (9 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.130: +5 -6
lines
Diff to previous 1.130 (colored)
use LIST_FOREACH() for iteration over p_lwps when panniccing with 'Invalid process state', print the state too
Revision 1.130 / (download) - annotate - [select for diffs], Sat Jan 18 10:06:29 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.129: +481 -160
lines
Diff to previous 1.129 (colored)
Merge the nathanw_sa branch.
Revision 1.112.2.38 / (download) - annotate - [select for diffs], Fri Jan 10 00:04:37 2003 UTC (9 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.112.2.37: +6 -5
lines
Diff to previous 1.112.2.37 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)
When a LWP stops in issignal() because the process state has already been set to SSTOP, jump into the appropriate section so that a traced, PT_KILL'd process does not stop again. Clear p_xstat after reading it in issignal() so that signals are not taken multiple times.
Revision 1.112.2.37 / (download) - annotate - [select for diffs], Thu Jan 9 23:02:03 2003 UTC (9 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.36: +3 -3
lines
Diff to previous 1.112.2.36 (colored) to branchpoint 1.112 (colored)
Fix previous kludge to deal with the case where proc_unstop() returns NULL.
Revision 1.112.2.36 / (download) - annotate - [select for diffs], Fri Jan 3 21:42:50 2003 UTC (9 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.35: +17 -2
lines
Diff to previous 1.112.2.35 (colored) to branchpoint 1.112 (colored)
Klugdging proc_unstop() for the benefit of SIGKILL had unfortunate effects on SIGCONT. Add another kludge for SIGCONT. Fixes the phenomenon of programs in sawait silently exiting after reciving a stop/continue sequence (such as ^Z/fg).
Revision 1.129.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:06:12 2002 UTC (9 years, 5 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.129: +20 -24
lines
Diff to previous 1.129 (colored) next main 1.130 (colored)
Merge pcred and ucred, and poolify. TBD: check backward compatibility and factor-out some higher-level functionality.
Revision 1.112.2.35 / (download) - annotate - [select for diffs], Wed Dec 11 06:43:05 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.112.2.34: +11 -14
lines
Diff to previous 1.112.2.34 (colored) to branchpoint 1.112 (colored)
Sync with HEAD.
Revision 1.129 / (download) - annotate - [select for diffs], Fri Dec 6 22:44:49 2002 UTC (9 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: gmcgarry_ucred
Changes since 1.128: +3 -3
lines
Diff to previous 1.128 (colored)
s/NOSYMLINK/O_NOFOLLOW/
Revision 1.128 / (download) - annotate - [select for diffs], Thu Nov 28 21:00:27 2002 UTC (9 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.127: +4 -2
lines
Diff to previous 1.127 (colored)
issignal(): put apparently long-forgotten (at least since 4.4BSD) debug printf inside #ifdef DEBUG_ISSIGNAL This adresses kern/16760 by Love.
Revision 1.112.2.34 / (download) - annotate - [select for diffs], Mon Nov 25 21:46:35 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.33: +3 -2
lines
Diff to previous 1.112.2.33 (colored) to branchpoint 1.112 (colored)
Get the kernel lock in lwp_coredump_hook().
Revision 1.127 / (download) - annotate - [select for diffs], Sun Nov 24 11:37:55 2002 UTC (9 years, 6 months ago) by scw
Branch: MAIN
Changes since 1.126: +4 -4
lines
Diff to previous 1.126 (colored)
Quell uninitialised variable warnings.
Revision 1.112.2.33 / (download) - annotate - [select for diffs], Mon Nov 11 22:13:47 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.32: +50 -2
lines
Diff to previous 1.112.2.32 (colored) to branchpoint 1.112 (colored)
Catch up to -current
Revision 1.126 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:20 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.125: +51 -2
lines
Diff to previous 1.125 (colored)
merge kqueue branch into -current kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2) based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
Revision 1.112.2.32 / (download) - annotate - [select for diffs], Tue Oct 22 17:19:09 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.31: +3 -2
lines
Diff to previous 1.112.2.31 (colored) to branchpoint 1.112 (colored)
Add a missing splx(s) in lwp_coredump_hook(). Pointed out by Simon Burge.
Revision 1.112.2.31 / (download) - annotate - [select for diffs], Fri Oct 11 22:30:47 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.30: +10 -8
lines
Diff to previous 1.112.2.30 (colored) to branchpoint 1.112 (colored)
In sigexit(), call the userret hook instead of assuming it's our coredump hook; calling the coredump hook when the process has made it to exit1() is counterproductive. Clear P_SA in p->p_flag as well as L_SA in l_flag to avoid problems with the signal code when we're exiting.
Revision 1.114.2.8 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:10 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.114.2.7: +7 -10
lines
Diff to previous 1.114.2.7 (colored) next main 1.115 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.112.2.30 / (download) - annotate - [select for diffs], Thu Sep 26 19:46:53 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.29: +3 -3
lines
Diff to previous 1.112.2.29 (colored) to branchpoint 1.112 (colored)
Pass SA_UPCALL_DEFER to sa_upcall() in psendsig().
Revision 1.125 / (download) - annotate - [select for diffs], Sun Sep 22 05:36:48 2002 UTC (9 years, 8 months ago) by gmcgarry
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base
Changes since 1.124: +2 -2
lines
Diff to previous 1.124 (colored)
Separate the scheduler from the context switching code. This is done by adding an extra argument to mi_switch() and cpu_switch() which specifies the new process. If NULL is passed, then the new function chooseproc() is invoked to wait for a new process to appear on the run queue. Also provides an opportunity for optimisations if "switching to self". Also added are C versions of the setrunqueue() and remrunqueue() low-level primitives if __HAVE_MD_RUNQUEUE is not defined by MD code. All these changes are contingent upon the __HAVE_CHOOSEPROC flag being defined by MD code to indicate that cpu_switch() supports the changes.
Revision 1.112.2.29 / (download) - annotate - [select for diffs], Thu Sep 19 20:56:43 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.28: +35 -18
lines
Diff to previous 1.112.2.28 (colored) to branchpoint 1.112 (colored)
Alter the handling of stopping multi-LWP processes: Instead of setting the state of LSSLEEP lwps to LSSTOP, arrange for them to notice the process state in issignal(), so that LWPs only stop at the user/kernel boundary. This avoids some sticky situations, for example, with the NFS recieve lock, and is conceptually cleaner.
Revision 1.112.2.28 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:09 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.27: +5 -8
lines
Diff to previous 1.112.2.27 (colored) to branchpoint 1.112 (colored)
Catch up to -current.
Revision 1.112.2.27 / (download) - annotate - [select for diffs], Fri Sep 6 20:40:07 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.26: +5 -6
lines
Diff to previous 1.112.2.26 (colored) to branchpoint 1.112 (colored)
Restore use of psendsig() instead of directly calling p->p_emul->e_sendsig; it's necessary for handling signal upcalls. But while we're at it, eliminate an unused parameter of psendsig()
Revision 1.114.2.7 / (download) - annotate - [select for diffs], Fri Sep 6 08:47:56 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.114.2.6: +55 -10
lines
Diff to previous 1.114.2.6 (colored)
sync kqueue branch with HEAD
Revision 1.124 / (download) - annotate - [select for diffs], Wed Sep 4 01:32:35 2002 UTC (9 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.123: +5 -8
lines
Diff to previous 1.123 (colored)
Use the queue macros from <sys/queue.h> instead of referring to the queue members directly. Use *_FOREACH whenever possible.
Revision 1.112.2.26 / (download) - annotate - [select for diffs], Thu Aug 29 17:16:23 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.25: +3 -3
lines
Diff to previous 1.112.2.25 (colored) to branchpoint 1.112 (colored)
Pass two args to lwp_coredump_hook().
Revision 1.112.2.25 / (download) - annotate - [select for diffs], Thu Aug 29 16:58:55 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.24: +6 -6
lines
Diff to previous 1.112.2.24 (colored) to branchpoint 1.112 (colored)
If more than one LWP in a process calls sigexit(), make the second and later LWPs call lwp_coredump_hook() directly to suspend themselves, rather than calling lwp_exit() and losing the trapframe state that coredump() wants to save.
Revision 1.120.6.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:08 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.120.6.1: +5 -5
lines
Diff to previous 1.120.6.1 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored)
catch up with -current.
Revision 1.112.2.24 / (download) - annotate - [select for diffs], Tue Aug 27 23:47:26 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.23: +4 -3
lines
Diff to previous 1.112.2.23 (colored) to branchpoint 1.112 (colored)
Catch up to -current.
Revision 1.123 / (download) - annotate - [select for diffs], Sun Aug 25 21:47:50 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.122: +4 -3
lines
Diff to previous 1.122 (colored)
Fix signed/unsigned conditional expression warning from GCC 3.3.
Revision 1.112.2.23 / (download) - annotate - [select for diffs], Thu Aug 1 03:25:26 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.22: +5 -4
lines
Diff to previous 1.112.2.22 (colored) to branchpoint 1.112 (colored)
Adapt to sigtramp/sendsig changes.
Revision 1.112.2.22 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:20 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.21: +53 -9
lines
Diff to previous 1.112.2.21 (colored) to branchpoint 1.112 (colored)
Catch up to -current.
Revision 1.112.2.21 / (download) - annotate - [select for diffs], Thu Aug 1 02:03:58 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.20: +8 -6
lines
Diff to previous 1.112.2.20 (colored) to branchpoint 1.112 (colored)
Remove an assertion that may not be true if a SA process is stopped while active; replace it with a slightly more complicated assertion elsewhere. Make proc_unstop() return the idle LWP, if any, to get a stopped process moving again.
Revision 1.122 / (download) - annotate - [select for diffs], Sun Jul 28 22:18:51 2002 UTC (9 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.121: +3 -4
lines
Diff to previous 1.121 (colored)
Make killproc really public, and while we are there, constify.
Revision 1.112.2.20 / (download) - annotate - [select for diffs], Fri Jul 26 01:25:07 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.19: +27 -8
lines
Diff to previous 1.112.2.19 (colored) to branchpoint 1.112 (colored)
Special-case the situation where all non-dead LWPs in a process are suspended, so that kill -9 succeeds.
Revision 1.112.2.19 / (download) - annotate - [select for diffs], Wed Jul 17 19:54:30 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.18: +13 -8
lines
Diff to previous 1.112.2.18 (colored) to branchpoint 1.112 (colored)
If a process reciving a signal is a SA process and has no running LWPs, wake up the idle LWP to take the signal, rather than choosing the first one sleeping interruptably. This prevents waking up threads whose user-level signal mask may not include the signal being delivered.
Revision 1.120.6.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:36:33 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.120: +52 -7
lines
Diff to previous 1.120 (colored)
catch up with -current.
Revision 1.112.2.18 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:18 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.17: +2 -3
lines
Diff to previous 1.112.2.17 (colored) to branchpoint 1.112 (colored)
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.121 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:14 2002 UTC (9 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.120: +52 -7
lines
Diff to previous 1.120 (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.112.2.17 / (download) - annotate - [select for diffs], Mon Jun 24 22:10:50 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.16: +5 -5
lines
Diff to previous 1.112.2.16 (colored) to branchpoint 1.112 (colored)
Curproc->curlwp renaming. Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp". "curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
Revision 1.112.2.16 / (download) - annotate - [select for diffs], Thu May 23 19:09:27 2002 UTC (10 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.15: +23 -10
lines
Diff to previous 1.112.2.15 (colored) to branchpoint 1.112 (colored)
Allow stop signals to act on processes whose LWPs are all sleeping uninterruptably. Suspend LWPs in a process dumping core, rather than simply clearing the L_DETACHED flag; their trap frames, and therefore kernel stacks, need to stick around until coredump() gets around to writing them out.
Revision 1.112.2.15 / (download) - annotate - [select for diffs], Thu Apr 25 22:21:24 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.14: +16 -2
lines
Diff to previous 1.112.2.14 (colored) to branchpoint 1.112 (colored)
Setting P_WEXIT in sigexit() isn't enough anymore; we have to also set a userret handler. Fixes some annoying crashes when core dumping multi-LWP processes across NFS. This also lets us un-detach LWPs so that they can't be reaped before coredump gets a chance to dump their state.
Revision 1.112.2.14 / (download) - annotate - [select for diffs], Fri Apr 12 04:54:33 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.13: +2 -4
lines
Diff to previous 1.112.2.13 (colored) to branchpoint 1.112 (colored)
Don't send an upcall when proc_unstop() happens. The problem that this worked around has been fixed in a better way. Besides, this made debugger stepping suck a lot.
Revision 1.112.2.13 / (download) - annotate - [select for diffs], Tue Apr 2 00:15:59 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.12: +6 -6
lines
Diff to previous 1.112.2.12 (colored) to branchpoint 1.112 (colored)
- Centralize p_nrlwps handling in those functions which actually set the LWP state to LSRUN. Simplifies matters considerably. - Trying to keep track of the preempted LWP was a bad idea; go back to searching for now. - Send a PREEMPTED upcall from proc_unstop(), so that stopped processes know that something happened, and so that all runnable LWPs of a unstopped process have an upcall to deliver (Ideally, the LWP that was runnable when the process was stopped should return first, and any LWPs that were woken up while the process was stopped would interrupt it, but that's difficult to arrange).
Revision 1.112.2.12 / (download) - annotate - [select for diffs], Mon Apr 1 07:47:53 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.11: +4 -5
lines
Diff to previous 1.112.2.11 (colored) to branchpoint 1.112 (colored)
Catch up to -current. (CVS: It's not just a program. It's an adventure!)
Revision 1.114.2.6 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:48 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.114.2.5: +3 -3
lines
Diff to previous 1.114.2.5 (colored)
Catch up with -current.
Revision 1.114.2.5 / (download) - annotate - [select for diffs], Fri Mar 15 21:02:05 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.114.2.4: +2 -7
lines
Diff to previous 1.114.2.4 (colored)
don't need any proc locks here; besides that, the KERNEL_PROC_(UN)LOCK() do something else anyway
Revision 1.120 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:40 2002 UTC (10 years, 2 months ago) by thorpej
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,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.119: +3 -3
lines
Diff to previous 1.119 (colored)
Pool deals fairly well with physical memory shortage, but it doesn't deal with shortages of the VM maps where the backing pages are mapped (usually kmem_map). Try to deal with this: * Group all information about the backend allocator for a pool in a separate structure. The pool references this structure, rather than the individual fields. * Change the pool_init() API accordingly, and adjust all callers. * Link all pools using the same backend allocator on a list. * The backend allocator is responsible for waiting for physical memory to become available, but will still fail if it cannot callocate KVA space for the pages. If this happens, carefully drain all pools using the same backend allocator, so that some KVA space can be freed. * Change pool_reclaim() to indicate if it actually succeeded in freeing some pages, and use that information to make draining easier and more efficient. * Get rid of PR_URGENT. There was only one use of it, and it could be dealt with by the caller. From art@openbsd.org.
Revision 1.112.2.11 / (download) - annotate - [select for diffs], Fri Jan 18 20:58:00 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.10: +8 -22
lines
Diff to previous 1.112.2.10 (colored) to branchpoint 1.112 (colored)
The p->p_nrlwps check makes checking the run state of a specific LWP redundant at best, and incorrect at worst if curproc is something other than the process where the signal is being delivered. Remove it entirely. Problem pointed out by petrov@netbsd.org.
Revision 1.114.2.4 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:54 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.114.2.3: +28 -36
lines
Diff to previous 1.114.2.3 (colored)
Sync kqueue branch with -current.
Revision 1.112.2.10 / (download) - annotate - [select for diffs], Wed Jan 9 02:58:56 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.9: +5 -17
lines
Diff to previous 1.112.2.9 (colored) to branchpoint 1.112 (colored)
LWPify new interfaces.
Revision 1.112.2.9 / (download) - annotate - [select for diffs], Tue Jan 8 00:32:34 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.8: +26 -35
lines
Diff to previous 1.112.2.8 (colored) to branchpoint 1.112 (colored)
Catch up to -current.
Revision 1.119 / (download) - annotate - [select for diffs], Tue Dec 18 15:51:52 2001 UTC (10 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: ifpoll-base,
ifpoll
Changes since 1.118: +21 -8
lines
Diff to previous 1.118 (colored)
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...
Revision 1.118 / (download) - annotate - [select for diffs], Sat Dec 8 00:35:31 2001 UTC (10 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.117: +5 -41
lines
Diff to previous 1.117 (colored)
Make the coredump routine exec-format/emulation specific. Split out traditional NetBSD coredump routines into core_netbsd.c and netbsd32_core.c (for COMPAT_NETBSD32).
Revision 1.117 / (download) - annotate - [select for diffs], Wed Dec 5 07:32:24 2001 UTC (10 years, 5 months ago) by enami
Branch: MAIN
Changes since 1.116: +4 -4
lines
Diff to previous 1.116 (colored)
Implement sigismasked() correctly. KNF while I'm here.
Revision 1.112.2.8 / (download) - annotate - [select for diffs], Sat Nov 17 00:32:23 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.7: +35 -4
lines
Diff to previous 1.112.2.7 (colored) to branchpoint 1.112 (colored)
Make invoking an upcall for a signal MI, rather than replicating it in every port's sendsig() function.
Revision 1.112.2.7 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:37 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.6: +4 -1
lines
Diff to previous 1.112.2.6 (colored) to branchpoint 1.112 (colored)
Catch up to -current.
Revision 1.115.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:49 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.115: +4 -1
lines
Diff to previous 1.115 (colored) next main 1.116 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.116 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:15 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.115: +4 -1
lines
Diff to previous 1.115 (colored)
add RCSIDs
Revision 1.112.2.6 / (download) - annotate - [select for diffs], Mon Nov 5 19:59:03 2001 UTC (10 years, 6 months ago) by briggs
Branch: nathanw_sa
Changes since 1.112.2.5: +3 -3
lines
Diff to previous 1.112.2.5 (colored) to branchpoint 1.112 (colored)
KERNEL_PROC_LOCK/KERNEL_PROC_UNLOCK take struct lwp *, not struct proc *.
Revision 1.114.2.3 / (download) - annotate - [select for diffs], Fri Sep 7 22:01:52 2001 UTC (10 years, 8 months ago) by thorpej
Branch: kqueue
Changes since 1.114.2.2: +2 -2
lines
Diff to previous 1.114.2.2 (colored)
More const.
Revision 1.112.2.5 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:31 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.4: +4 -1
lines
Diff to previous 1.112.2.4 (colored) to branchpoint 1.112 (colored)
Catch up with -current.
Revision 1.114.2.2 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:41 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.114.2.1: +4 -1
lines
Diff to previous 1.114.2.1 (colored)
update to -current
Revision 1.100.4.2 / (download) - annotate - [select for diffs], Mon Jul 30 13:32:43 2001 UTC (10 years, 9 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002
Changes since 1.100.4.1: +2 -2
lines
Diff to previous 1.100.4.1 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored)
Apply patch (requested by he): Fix typo in previous application.
Revision 1.100.4.1 / (download) - annotate - [select for diffs], Sun Jul 29 20:04:57 2001 UTC (10 years, 9 months ago) by he
Branch: netbsd-1-5
Changes since 1.100: +6 -2
lines
Diff to previous 1.100 (colored)
Pull up revision 1.115 (via patch, requested by thorpej): Unshare signal actions on exec.
Revision 1.112.2.4 / (download) - annotate - [select for diffs], Thu Jul 19 16:53:09 2001 UTC (10 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.3: +11 -5
lines
Diff to previous 1.112.2.3 (colored) to branchpoint 1.112 (colored)
When killing a stopped process with SIGKILL, use proc_unstop() to get LWPs running sufficently to notice the signal.
Revision 1.115 / (download) - annotate - [select for diffs], Wed Jul 18 05:34:58 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.114: +4 -1
lines
Diff to previous 1.114 (colored)
Unshare signal actions on exec. From Matthew Orgass <darkstar@pgh.net>.
Revision 1.114.2.1 / (download) - annotate - [select for diffs], Tue Jul 10 13:45:13 2001 UTC (10 years, 10 months ago) by lukem
Branch: kqueue
Changes since 1.114: +60 -1
lines
Diff to previous 1.114 (colored)
add kqueue methods for filt_sig*
Revision 1.112.2.3 / (download) - annotate - [select for diffs], Mon Jul 9 22:29:47 2001 UTC (10 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.2: +9 -1
lines
Diff to previous 1.112.2.2 (colored) to branchpoint 1.112 (colored)
Prevent calling coredump() from multiple LWPs in a process; once is enough.
Revision 1.112.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:06:53 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.2.1: +10 -73
lines
Diff to previous 1.112.2.1 (colored) to branchpoint 1.112 (colored)
Catch up to -current.
Revision 1.114 / (download) - annotate - [select for diffs], Wed Jun 13 16:06:28 2001 UTC (10 years, 11 months ago) by nathanw
Branch: MAIN
Branch point for: kqueue
Changes since 1.113: +6 -9
lines
Diff to previous 1.113 (colored)
The trace_req() function is a no-op; garbage collect it.
Revision 1.113 / (download) - annotate - [select for diffs], Wed Jun 6 21:37:19 2001 UTC (10 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.112: +5 -65
lines
Diff to previous 1.112 (colored)
in coredump() remove the COMPAT_NETBSD32 #ifdef, and replace it with a hook. move coredump32() into compat/netbsd32.
Revision 1.94.2.5 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:36 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.94.2.4: +188 -265
lines
Diff to previous 1.94.2.4 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)
Sync with HEAD.
Revision 1.112.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:42 2001 UTC (11 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112: +364 -156
lines
Diff to previous 1.112 (colored)
Initial commit of scheduler activations and lightweight process support.
Revision 1.112 / (download) - annotate - [select for diffs], Mon Feb 26 21:58:30 2001 UTC (11 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.111: +168 -201
lines
Diff to previous 1.111 (colored)
convert to ANSI KNF
Revision 1.111 / (download) - annotate - [select for diffs], Fri Feb 23 22:01:50 2001 UTC (11 years, 3 months ago) by nathanw
Branch: MAIN
Changes since 1.110: +21 -65
lines
Diff to previous 1.110 (colored)
All of our ports have reasonable cpu_coredump()'s that set core.c_midmag. Garbage collect the "traditional dump" code that handled the core.c_midmag == 0 case.
Revision 1.94.2.4 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:44 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.94.2.3: +26 -4
lines
Diff to previous 1.94.2.3 (colored) to branchpoint 1.94 (colored)
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.110 / (download) - annotate - [select for diffs], Sun Jan 14 22:31:58 2001 UTC (11 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.109: +27 -5
lines
Diff to previous 1.109 (colored)
Whenever ps_sigcheck is set to true, signotify() the process, and wrap this all up in a CHECKSIGS() macro. Also, in psignal1(), signotify() SRUN and SIDL processes if __HAVE_AST_PERPROC is defined. Per discussion w/ mycroft.
Revision 1.94.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:39 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.94.2.2: +142 -146
lines
Diff to previous 1.94.2.2 (colored) to branchpoint 1.94 (colored)
Sync with HEAD
Revision 1.109 / (download) - annotate - [select for diffs], Fri Dec 22 22:59:00 2000 UTC (11 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.108: +143 -147
lines
Diff to previous 1.108 (colored)
split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx
This addresses kern/10981 by Matthew Orgass.
Revision 1.94.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:21 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.94.2.1: +13 -1
lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored)
Sync with HEAD.
Revision 1.94.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:03 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.94: +247 -102
lines
Diff to previous 1.94 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.108 / (download) - annotate - [select for diffs], Sun Nov 5 15:37:09 2000 UTC (11 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.107: +13 -1
lines
Diff to previous 1.107 (colored)
add new function sigismasked(), which checks whether passed signal is ignored or masked by the process, and use it appropriately instead of directly checking p->p_sigmask and p->p_sigignore
Revision 1.107 / (download) - annotate - [select for diffs], Sat Sep 23 00:48:29 2000 UTC (11 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.106: +14 -20
lines
Diff to previous 1.106 (colored)
Pathname of length 1023 (MAXPATHLEN - 1) should be valid as corename.
Revision 1.106 / (download) - annotate - [select for diffs], Tue Aug 22 17:28:29 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.105: +6 -1
lines
Diff to previous 1.105 (colored)
Define the MI parts of the "big kernel lock" perimeter. From Bill Sommerfeld.
Revision 1.105 / (download) - annotate - [select for diffs], Mon Aug 21 02:09:33 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.104: +6 -6
lines
Diff to previous 1.104 (colored)
splhigh() -> splsched()
Revision 1.104 / (download) - annotate - [select for diffs], Sun Aug 20 21:50:11 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.103: +53 -26
lines
Diff to previous 1.103 (colored)
Add a lock around the scheduler, and use it as necessary, including in the non-MULTIPROCESSOR case (LOCKDEBUG requires it). Scheduler lock is held upon entry to mi_switch() and cpu_switch(), and cpu_switch() releases the lock before returning. Largely from Bill Sommerfeld, with some minor bug fixes and machine-dependent code hacking from me.
Revision 1.103 / (download) - annotate - [select for diffs], Thu Jul 27 14:01:57 2000 UTC (11 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.102: +3 -3
lines
Diff to previous 1.102 (colored)
fix LP64 warnings.
Revision 1.102 / (download) - annotate - [select for diffs], Sat Jul 8 18:10:25 2000 UTC (11 years, 10 months ago) by sommerfeld
Branch: MAIN
Changes since 1.101: +18 -14
lines
Diff to previous 1.101 (colored)
Format paranoia.
Revision 1.101 / (download) - annotate - [select for diffs], Tue Jun 27 17:41:25 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.100: +1 -2
lines
Diff to previous 1.100 (colored)
remove include of <vm/vm.h>
Revision 1.100 / (download) - annotate - [select for diffs], Sat May 27 00:40:46 2000 UTC (12 years ago) by sommerfeld
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH001,
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.99: +15 -14
lines
Diff to previous 1.99 (colored)
Reduce use of curproc in several places: - Change ktrace interface to pass in the current process, rather than p->p_tracep, since the various ktr* function need curproc anyway. - Add curproc as a parameter to mi_switch() since all callers had it handy anyway. - Add a second proc argument for inferior() since callers all had curproc handy. Also, miscellaneous cleanups in ktrace: - ktrace now always uses file-based, rather than vnode-based I/O (simplifies, increases type safety); eliminate KTRFLAG_FD & KTRFAC_FD. Do non-blocking I/O, and yield a finite number of times when receiving EWOULDBLOCK before giving up. - move code duplicated between sys_fktrace and sys_ktrace into ktrace_common. - simplify interface to ktrwrite()
Revision 1.99 / (download) - annotate - [select for diffs], Fri May 26 00:36:52 2000 UTC (12 years ago) by thorpej
Branch: MAIN
Changes since 1.98: +9 -5
lines
Diff to previous 1.98 (colored)
Introduce a new process state distinct from SRUN called SONPROC which indicates that the process is actually running on a processor. Test against SONPROC as appropriate rather than combinations of SRUN and curproc. Update all context switch code to properly set SONPROC when the process becomes the current process on the CPU.
Revision 1.98 / (download) - annotate - [select for diffs], Thu Mar 30 09:27:12 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.97: +44 -44
lines
Diff to previous 1.97 (colored)
Get rid of register declarations.
Revision 1.97 / (download) - annotate - [select for diffs], Tue Feb 8 04:13:51 2000 UTC (12 years, 3 months ago) by fair
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.96: +2 -2
lines
Diff to previous 1.96 (colored)
remove kern_logsigexit being "on" for DIAGNOSTIC
Revision 1.96 / (download) - annotate - [select for diffs], Sun Feb 6 07:29:56 2000 UTC (12 years, 3 months ago) by fair
Branch: MAIN
Changes since 1.95: +27 -2
lines
Diff to previous 1.95 (colored)
Add kernel logging of processes which exit on signals which can cause a core to drop, and whether the core dropped, or, if it did not, why not (i.e. error number). Logs process ID, name, signal that hit it, and whether the core dump was successful. logging only happens if kern_logsigexit is non-zero, and it can be changed by the new sysctl(3) value KERN_LOGSIGEXIT. The name of this sysctl and its function are taken from FreeBSD, at the suggestion of Greg Woods in PR 6224. Default behavior is zero for a normal kernel, and one for a kernel compiled with DIAGNOSTIC.
Revision 1.95 / (download) - annotate - [select for diffs], Thu Dec 30 16:00:23 1999 UTC (12 years, 4 months ago) by eeh
Branch: MAIN
Changes since 1.94: +89 -3
lines
Diff to previous 1.94 (colored)
Dump cores for 32-bit processes.
Revision 1.94 / (download) - annotate - [select for diffs], Tue Sep 28 14:47:03 1999 UTC (12 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.93: +55 -8
lines
Diff to previous 1.93 (colored)
Remplace kern.shortcorename sysctl with a more flexible sheme, core filename format, which allow to change the name of the core dump, and to relocate it in a directory. Credits to Bill Sommerfeld for giving me the idea :) The default core filename format can be changed by options DEFCORENAME and/or kern.defcorename Create a new sysctl tree, proc, which holds per-process values (for now the corename format, and resources limits). Process is designed by its pid at the second level name. These values are inherited on fork, and the corename fomat is reset to defcorename on suid/sgid exec. Create a p_sugid() function, to take appropriate actions on suid/sgid exec (for now set the P_SUGID flag and reset the per-proc corename). Adjust dosetrlimit() to allow changing limits of one proc by another, with credential controls.
Revision 1.87.2.1 / (download) - annotate - [select for diffs], Fri Sep 3 08:50:43 1999 UTC (12 years, 8 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Changes since 1.87: +4 -3
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
Pull up revision 1.93: Don't allow coredump to follow symlinks, this has security implications. (bouyer)
Revision 1.93 / (download) - annotate - [select for diffs], Tue Aug 31 12:30:35 1999 UTC (12 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.92: +4 -3
lines
Diff to previous 1.92 (colored)
Add a new flag, used by vn_open() which prevent symlinks from being followed at open time. Use this to prevent coredump to follow symlinks when the kernel opens/creates the file.
Revision 1.87.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:19:13 1999 UTC (12 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.87.4.1: +7 -5
lines
Diff to previous 1.87.4.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)
Update from trunk.
Revision 1.92 / (download) - annotate - [select for diffs], Sun Jul 25 06:30:34 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.91: +2 -2
lines
Diff to previous 1.91 (colored)
Turn the proclist lock into a read/write spinlock. Update proclist locking calls to reflect this. Also, block statclock rather than softclock during in the proclist locking functions, to address a problem reported on current-users by Sean Doran.
Revision 1.91 / (download) - annotate - [select for diffs], Thu Jul 22 21:08:31 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.90: +5 -3
lines
Diff to previous 1.90 (colored)
Add a read/write lock to the proclists and PID hash table. Use the write lock when doing PID allocation, and during the process exit path. Use a read lock every where else, including within schedcpu() (interrupt context). Note that holding the write lock implies blocking schedcpu() from running (blocks softclock). PID allocation is now MP-safe. Note this actually fixes a bug on single processor systems that was probably extremely difficult to tickle; it was possible that schedcpu() would run off a bad pointer if the right clock interrupt happened to come in the middle of a LIST_INSERT_HEAD() or LIST_REMOVE() to/from allproc.
Revision 1.90 / (download) - annotate - [select for diffs], Thu Jul 22 18:13:37 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.89: +3 -3
lines
Diff to previous 1.89 (colored)
Rework the process exit path, in preparation for making process exit and PID allocation MP-safe. A new process state is added: SDEAD. This state indicates that a process is dead, but not yet a zombie (has not yet been processed by the process reaper). SDEAD processes exist on both the zombproc list (via p_list) and deadproc (via p_hash; the proc has been removed from the pidhash earlier in the exit path). When the reaper deals with a process, it changes the state to SZOMB, so that wait4 can process it. Add a P_ZOMBIE() macro, which treats a proc in SZOMB or SDEAD as a zombie, and update various parts of the kernel to reflect the new state.
Revision 1.87.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:02 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.87: +83 -2
lines
Diff to previous 1.87 (colored)
Sync w/ -current.
Revision 1.89 / (download) - annotate - [select for diffs], Fri Apr 30 21:23:49 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.88: +82 -1
lines
Diff to previous 1.88 (colored)
Pull signal actions out of struct user, make them a separate proc substructure, and allow them to be shared. Required for clone(2).
Revision 1.88 / (download) - annotate - [select for diffs], Fri Apr 30 18:43:00 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.87: +2 -2
lines
Diff to previous 1.87 (colored)
Break cdir/rdir/cmask info out of struct filedesc, and put it in a new substructure, `cwdinfo'. Implement optional sharing of this substructure. This is required for clone(2).
Revision 1.87 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:23 1999 UTC (13 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Changes since 1.86: +2 -9
lines
Diff to previous 1.86 (colored)
completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
Revision 1.86 / (download) - annotate - [select for diffs], Sat Feb 13 15:25:51 1999 UTC (13 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.85: +4 -3
lines
Diff to previous 1.85 (colored)
Don't forget to lower the spl in the error case of sigprocmask
Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sun Nov 22 03:31:17 1998 UTC (13 years, 6 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003
Changes since 1.67: +6 -3
lines
Diff to previous 1.67 (colored) next main 1.68 (colored)
pull up rev 1.80 from trunk (PR#6337). (cgd)
Revision 1.85 / (download) - annotate - [select for diffs], Fri Nov 13 17:23:52 1998 UTC (13 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
Er, NSIG is one *more* than the number of signals.
Revision 1.84 / (download) - annotate - [select for diffs], Fri Nov 13 17:12:54 1998 UTC (13 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.83: +3 -3
lines
Diff to previous 1.83 (colored)
Oops; signal numbers are 1..NSIG, not 0..NSIG-1.
Revision 1.83 / (download) - annotate - [select for diffs], Sat Oct 3 14:29:03 1998 UTC (13 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: chs-ubc-base,
chs-ubc
Changes since 1.82: +3 -1
lines
Diff to previous 1.82 (colored)
Make contsigmask, stopsigmask, sigcantmask kernel private.
Revision 1.82 / (download) - annotate - [select for diffs], Sat Sep 19 02:00:52 1998 UTC (13 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.81: +2 -2
lines
Diff to previous 1.81 (colored)
make this file compile again; the variable points signal action being set is `nsa' and there is no variable `sa'.
Revision 1.81 / (download) - annotate - [select for diffs], Fri Sep 18 18:48:23 1998 UTC (13 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.80: +14 -1
lines
Diff to previous 1.80 (colored)
Add NOCLDWAIT (from FreeBSD)
Revision 1.80 / (download) - annotate - [select for diffs], Fri Sep 11 13:25:20 1998 UTC (13 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.79: +6 -3
lines
Diff to previous 1.79 (colored)
Check that the `current directory' is still mounted before dropping core in it.
Revision 1.79 / (download) - annotate - [select for diffs], Fri Sep 11 12:50:10 1998 UTC (13 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.78: +366 -241
lines
Diff to previous 1.78 (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.76.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:55 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.76: +5 -5
lines
Diff to previous 1.76 (colored) next main 1.77 (colored)
Revert cdevsw mmap routines to return int.
Revision 1.78 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:14 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.77: +2 -2
lines
Diff to previous 1.77 (colored)
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. bcopy(x, y, z) -> memcpy(y, x, z) ovbcopy(x, y, z) -> memmove(y, x, z) bcmp(x, y, z) -> memcmp(x, y, z) bzero(x, y) -> memset(x, 0, y)
Revision 1.77 / (download) - annotate - [select for diffs], Fri Jul 31 22:50:50 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.76: +5 -5
lines
Diff to previous 1.76 (colored)
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 28 18:17:34 1998 UTC (13 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.75: +4 -4
lines
Diff to previous 1.75 (colored)
Don't cast the null residual pointer passed to vn_rdwr().
Revision 1.75 / (download) - annotate - [select for diffs], Sun Jun 28 21:34:58 1998 UTC (13 years, 11 months ago) by nathanw
Branch: MAIN
Changes since 1.74: +8 -4
lines
Diff to previous 1.74 (colored)
Implement short corefile name support, controlled by options SHORTCORENAME and sysctl kern.shortcorename. Closes PR kern/5191.
Revision 1.74 / (download) - annotate - [select for diffs], Thu Jun 25 23:41:20 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.73: +2 -1
lines
Diff to previous 1.73 (colored)
defopt COMPAT_SUNOS
Revision 1.73 / (download) - annotate - [select for diffs], Thu Jun 25 21:17:16 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.72: +2 -1
lines
Diff to previous 1.72 (colored)
defopt KTRACE
Revision 1.72 / (download) - annotate - [select for diffs], Thu May 7 00:45:16 1998 UTC (14 years ago) by enami
Branch: MAIN
Changes since 1.71: +3 -18
lines
Diff to previous 1.71 (colored)
Backout previous issignal() change so that gdb can trace a process which has subprocess again; the lite2 change conflicts our local change.
Revision 1.71 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:30 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.70: +23 -5
lines
Diff to previous 1.70 (colored)
Merge with Lite2 + local changes
Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:12:55 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +156 -134
lines
Diff to previous 1.1.1.2 (colored)
Import 4.4BSD-Lite2
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:42 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714,
CSRG
CVS Tags: lite-1,
date-03-may-96
Changes since 1.1.1.1: +1197 -1
lines
Diff to previous 1.1.1.1 (colored)
Import 4.4BSD-Lite for reference
Revision 1.70 / (download) - annotate - [select for diffs], Tue Feb 10 14:09:41 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.69: +3 -1
lines
Diff to previous 1.69 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.69 / (download) - annotate - [select for diffs], Thu Feb 5 07:59:54 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.68: +9 -1
lines
Diff to previous 1.68 (colored)
initial import of the new virtual memory system, UVM, into -current. UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes. this is the rest of the MI portion changes. this will be KNF'd shortly. :-)
Revision 1.68 / (download) - annotate - [select for diffs], Sat Nov 29 18:38:24 1997 UTC (14 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.67: +2 -2
lines
Diff to previous 1.67 (colored)
Modify the recent sigaltstack() interface change to use the __RENAME() scheme; add __sigaltstack14().
Revision 1.67 / (download) - annotate - [select for diffs], Thu Oct 16 02:45:39 1997 UTC (14 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.66: +10 -1
lines
Diff to previous 1.66 (colored)
Disable an effectively no-op reference to u_kproc, with an explanation of what should be done with it eventually.
Revision 1.66.6.1 / (download) - annotate - [select for diffs], Mon Sep 8 23:10:34 1997 UTC (14 years, 8 months ago) by thorpej
Branch: thorpej-signal
Changes since 1.66: +187 -112
lines
Diff to previous 1.66 (colored) next main 1.67 (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.66 / (download) - annotate - [select for diffs], Mon Apr 28 04:49:28 1997 UTC (15 years, 1 month ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia,
bouyer-scsipi
Branch point for: thorpej-signal
Changes since 1.65: +3 -2
lines
Diff to previous 1.65 (colored)
Reinstate P_FSTRACE, with different semantics: * Never send a SIGCHLD to the parent if P_FSTRACE is set. * Do not permit mixing ptrace(2) and procfs; only permit using the one that was attached.
Revision 1.65 / (download) - annotate - [select for diffs], Mon Apr 28 02:51:43 1997 UTC (15 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.64: +5 -18
lines
Diff to previous 1.64 (colored)
Remove remnants of P_FSTRACE, which is no longer used.
Revision 1.64 / (download) - annotate - [select for diffs], Mon Apr 28 02:36:05 1997 UTC (15 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.63: +2 -2
lines
Diff to previous 1.63 (colored)
When stopping a process being traced through procfs, wake up the *parent* (in case it happens to be doing a WAIT.
Revision 1.63 / (download) - annotate - [select for diffs], Wed Apr 23 18:59:56 1997 UTC (15 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.62: +1 -5
lines
Diff to previous 1.62 (colored)
Nuke the old COMPAT_09 truncation of UIDs, GIDs, process and process group IDs.
Revision 1.62 / (download) - annotate - [select for diffs], Thu Apr 3 21:08:27 1997 UTC (15 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.61: +2 -3
lines
Diff to previous 1.61 (colored)
Changed killpg1() to 'succeed' even if a process group consists of SZOMB processes only; the POSIX.1 definition of a background process group implies that kill(2)ing such a process group must succeed.
Revision 1.61 / (download) - annotate - [select for diffs], Thu Mar 27 07:52:25 1997 UTC (15 years, 2 months ago) by mikel
Branch: MAIN
Changes since 1.60: +2 -2
lines
Diff to previous 1.60 (colored)
allow examination of SIGKILL and SIGSTOP signal handlers (but still disallow changes); from Klaus Klein in PR standards/3398.
Revision 1.60 / (download) - annotate - [select for diffs], Sun Dec 22 10:21:10 1996 UTC (15 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Changes since 1.59: +8 -10
lines
Diff to previous 1.59 (colored)
* catch up with system call argument type fixups/const poisoning. * Fix arguments to various copyin()/copyout() invocations, to avoid gratuitous casts. * Some KNF formatting fixes
Revision 1.54.4.1 / (download) - annotate - [select for diffs], Tue Dec 10 05:51:02 1996 UTC (15 years, 5 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.54: +3 -4
lines
Diff to previous 1.54 (colored) next main 1.55 (colored)
From trunk: Don't core dump if P_SUGID is set.
Revision 1.59 / (download) - annotate - [select for diffs], Wed Oct 23 23:13:19 1996 UTC (15 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.58: +22 -4
lines
Diff to previous 1.58 (colored)
make coredump() use more sensible error returns (even though they're not used by anything, for now), and implement MNT_NOCOREDUMP by checking whether or not MNT_NOCOREDUMP is set on the file system where the dump would land (i.e. the file system of the process's current working directory), and disallowing the core dump if it's set.
Revision 1.58 / (download) - annotate - [select for diffs], Fri Oct 18 08:39:34 1996 UTC (15 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.57: +3 -7
lines
Diff to previous 1.57 (colored)
in coredump(), check the SUGID bit rather than testing various parts of the cred structures. this prevents a previously set[gu]id process from generating a core file.
Revision 1.57 / (download) - annotate - [select for diffs], Sun Oct 13 02:32:34 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.56: +4 -4
lines
Diff to previous 1.56 (colored)
backout previous kprintf change
Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 10 22:46:18 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.55: +4 -4
lines
Diff to previous 1.55 (colored)
printf -> kprintf, sprintf -> ksprintf
Revision 1.55 / (download) - annotate - [select for diffs], Sun Sep 1 01:56:10 1996 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.54: +5 -2
lines
Diff to previous 1.54 (colored)
Don't core dump if ruid != euid or rgid != egid.
Revision 1.54 / (download) - annotate - [select for diffs], Mon Apr 22 01:38:32 1996 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.53: +1 -2
lines
Diff to previous 1.53 (colored)
remove include of <sys/cpu.h>
Revision 1.53 / (download) - annotate - [select for diffs], Fri Feb 9 18:59:47 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.52: +3 -3
lines
Diff to previous 1.52 (colored)
More proto fixes
Revision 1.52 / (download) - annotate - [select for diffs], Sun Feb 4 02:16:10 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.51: +22 -9
lines
Diff to previous 1.51 (colored)
First pass at prototyping
Revision 1.51 / (download) - annotate - [select for diffs], Thu Jan 4 22:23:14 1996 UTC (16 years, 4 months ago) by jtc
Branch: MAIN
Changes since 1.50: +2 -2
lines
Diff to previous 1.50 (colored)
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and traditional usage.
Revision 1.50 / (download) - annotate - [select for diffs], Sat Oct 7 06:28:25 1995 UTC (16 years, 7 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.49: +15 -15
lines
Diff to previous 1.49 (colored)
Prefix names of system call implementation functions with `sys_'.
Revision 1.49 / (download) - annotate - [select for diffs], Fri Oct 6 16:12:05 1995 UTC (16 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.48: +2 -3
lines
Diff to previous 1.48 (colored)
Write core dumps with mode 0600.
Revision 1.48 / (download) - annotate - [select for diffs], Tue Sep 19 21:45:05 1995 UTC (16 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +26 -21
lines
Diff to previous 1.47 (colored)
Make system calls conform to a standard prototype and bring those prototypes into scope.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Aug 14 06:07:55 1995 UTC (16 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.46: +3 -1
lines
Diff to previous 1.46 (colored)
When resetting a signal, change ps_sigact, just to be sure.
Revision 1.46 / (download) - annotate - [select for diffs], Mon Aug 14 01:47:03 1995 UTC (16 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored)
Fix typos.
Revision 1.45 / (download) - annotate - [select for diffs], Sun Aug 13 22:53:59 1995 UTC (16 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +40 -17
lines
Diff to previous 1.44 (colored)
Implement SA_RESETHAND and SA_NODEFER. Only return SA_NOCLDSTOP in the sigaction struct for SIGCHLD. Rename ss_flags bits.
Revision 1.44 / (download) - annotate - [select for diffs], Mon Jul 24 03:18:42 1995 UTC (16 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.43: +17 -17
lines
Diff to previous 1.43 (colored)
Don't toss out tty stop signals if we're being traced.
Revision 1.43 / (download) - annotate - [select for diffs], Sat Jun 24 20:34:05 1995 UTC (16 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.42: +1 -155
lines
Diff to previous 1.42 (colored)
Extracted all of the compat_xxx routines, and created a library [libcompat] for them. There are a few #ifdef COMPAT_XX remaining, but they are not easy or worth eliminating (yet).
Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 8 23:51:01 1995 UTC (16 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.41: +22 -19
lines
Diff to previous 1.41 (colored)
Fix various signal handling bugs: * If we got a stopping signal while already stopped with the same signal, the second signal would sometimes (but not always) be ignored. * Signals delivered by the debugger always pretended to be stopping signals. * PT_ATTACH still didn't quite work right.
Revision 1.41 / (download) - annotate - [select for diffs], Sat Apr 22 19:42:57 1995 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.40: +16 -9
lines
Diff to previous 1.40 (colored)
- new copyargs routine. - use emul_xxx - deprecate nsysent; use constant SYS_MAXSYSCALL instead. - deprecate ep_setup - call sendsig and setregs indirectly.
Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 8 01:20:23 1995 UTC (17 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.39: +2 -2
lines
Diff to previous 1.39 (colored)
need COMPAT_OSF1 for some things
Revision 1.39 / (download) - annotate - [select for diffs], Fri Feb 3 11:35:57 1995 UTC (17 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.38: +3 -10
lines
Diff to previous 1.38 (colored)
Make attach/detach more safe.
Revision 1.38 / (download) - annotate - [select for diffs], Wed Dec 14 19:07:12 1994 UTC (17 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +2 -2
lines
Diff to previous 1.37 (colored)
Remove extra arg to vn_open().
Revision 1.37 / (download) - annotate - [select for diffs], Tue Dec 13 21:52:37 1994 UTC (17 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.36: +2 -2
lines
Diff to previous 1.36 (colored)
LEASE_CHECK -> VOP_LEASE
Revision 1.36 / (download) - annotate - [select for diffs], Wed Dec 7 21:31:11 1994 UTC (17 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (colored)
make nosys() return ENOSYS, based on user requests and discussions with mkm. it still always signals.
Revision 1.35 / (download) - annotate - [select for diffs], Mon Nov 14 06:01:20 1994 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.34: +2 -2
lines
Diff to previous 1.34 (colored)
added extra argument in vn_open and VOP_OPEN to allow cloning devices
Revision 1.34 / (download) - annotate - [select for diffs], Sun Nov 6 20:39:50 1994 UTC (17 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.33: +9 -9
lines
Diff to previous 1.33 (colored)
Trivial changes to make the code more consistent.
Revision 1.33 / (download) - annotate - [select for diffs], Sun Oct 30 19:15:46 1994 UTC (17 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.32: +7 -6
lines
Diff to previous 1.32 (colored)
cleanliness, type sizes, casts.
Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 20 04:22:56 1994 UTC (17 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.31: +102 -107
lines
Diff to previous 1.31 (colored)
update for new syscall args description mechanism
Revision 1.31 / (download) - annotate - [select for diffs], Tue Aug 30 03:05:42 1994 UTC (17 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +4 -4
lines
Diff to previous 1.30 (colored)
Convert process, file, and namei lists and hash tables to use queue.h.
Revision 1.30 / (download) - annotate - [select for diffs], Tue Aug 23 22:07:42 1994 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +3 -3
lines
Diff to previous 1.29 (colored)
replace "ctob(UPAGES)" and "UPAGES * NBPG" with "USPACE"
Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 29 06:32:41 1994 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.28: +1263 -1
lines
Diff to previous 1.28 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 8 11:28:42 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +1 -1
lines
Diff to previous 1.27 (colored)
Update to 4.4-Lite fs code.
Revision 1.27 / (download) - annotate - [select for diffs], Wed May 25 10:57:39 1994 UTC (18 years ago) by pk
Branch: MAIN
Changes since 1.26: +1 -1
lines
Diff to previous 1.26 (colored)
New style core dumps.
Revision 1.26 / (download) - annotate - [select for diffs], Fri May 20 07:18:37 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.25: +1 -1
lines
Diff to previous 1.25 (colored)
kill a notdef
Revision 1.25 / (download) - annotate - [select for diffs], Thu May 19 08:13:32 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.24: +1 -1
lines
Diff to previous 1.24 (colored)
update to 4.4-Lite, with some local changes
Revision 1.24 / (download) - annotate - [select for diffs], Wed May 18 05:12:40 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.23: +1 -1
lines
Diff to previous 1.23 (colored)
mostly-machine-indepedent switch, and changes to match. also, hack init_main
Revision 1.23 / (download) - annotate - [select for diffs], Tue May 17 08:46:35 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.22: +1 -1
lines
Diff to previous 1.22 (colored)
osigstack is COMPAT_HPUX, too
Revision 1.22 / (download) - annotate - [select for diffs], Mon May 9 07:40:05 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.21: +1 -1
lines
Diff to previous 1.21 (colored)
compat_09 stuff for pid_t's
Revision 1.21 / (download) - annotate - [select for diffs], Sat May 7 01:01:29 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.20: +1 -1
lines
Diff to previous 1.20 (colored)
signal stack changes; overall upgrade
Revision 1.20 / (download) - annotate - [select for diffs], Thu May 5 05:38:17 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.19: +1 -1
lines
Diff to previous 1.19 (colored)
lots of changes: prototype migration, move lots of variables, definitions, and structure elements around. kill some unnecessary type and macro definitions. standardize clock handling. More changes than you'd want.
Revision 1.19 / (download) - annotate - [select for diffs], Wed May 4 04:02:55 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.18: +1 -1
lines
Diff to previous 1.18 (colored)
HPUXCOMPAT -> COMPAT_HPUX
Revision 1.18 / (download) - annotate - [select for diffs], Wed May 4 03:41:58 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.17: +1 -1
lines
Diff to previous 1.17 (colored)
Rename a lot of process flags.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 29 04:41:32 1994 UTC (18 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.16: +1 -1
lines
Diff to previous 1.16 (colored)
kill syscall name aliases. no user-visible changes
Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 22 22:33:59 1994 UTC (18 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.15: +1 -1
lines
Diff to previous 1.15 (colored)
Clear trampoline bits in execsigs().
Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 19 20:50:30 1994 UTC (18 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.14: +1 -1
lines
Diff to previous 1.14 (colored)
I suppose a SIGKILL or SIGTERM should make a process go about its business fast. But the previous situation would allow "sigblock(sigmask(SIGTERM)); kill(SIGTERM)" to thwart priority policies.
Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 19 18:38:33 1994 UTC (18 years, 2 months ago) by glass
Branch: MAIN
Changes since 1.13: +1 -1
lines
Diff to previous 1.13 (colored)
bad comment. fix from vdlinden@fwi.uva.nl (Frank van der Linden)
Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 23 05:56:29 1994 UTC (18 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +1 -1
lines
Diff to previous 1.12 (colored)
pull in COMPAT_SUNOS stuff from magnum
Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 20 21:22:49 1994 UTC (18 years, 4 months ago) by ws
Branch: MAIN
Changes since 1.11: +1 -1
lines
Diff to previous 1.11 (colored)
Make procfs really work for debugging. Implement not & notepg files in procfs.
Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 18 04:21:07 1993 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +1 -1
lines
Diff to previous 1.10 (colored)
Canonicalize all #includes.
Revision 1.7.2.6 / (download) - annotate - [select for diffs], Sat Dec 4 07:11:30 1993 UTC (18 years, 5 months ago) by cgd
Branch: magnum
Changes since 1.7.2.5: +1 -1
lines
Diff to previous 1.7.2.5 (colored) next main 1.8 (colored)
update from trunk
Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 4 07:11:11 1993 UTC (18 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.9: +1 -1
lines
Diff to previous 1.9 (colored)
use progname.core for core dump names
Revision 1.7.2.5 / (download) - annotate - [select for diffs], Sun Nov 14 20:35:50 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.7.2.4: +1 -1
lines
Diff to previous 1.7.2.4 (colored)
Oops. kinfo_proc.h has to be included after vm stuff.
Revision 1.7.2.4 / (download) - annotate - [select for diffs], Sun Nov 14 20:32:08 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.7.2.3: +1 -1
lines
Diff to previous 1.7.2.3 (colored)
Canonicalize all #includes.
Revision 1.7.2.3 / (download) - annotate - [select for diffs], Fri Oct 15 07:12:24 1993 UTC (18 years, 7 months ago) by deraadt
Branch: magnum
Changes since 1.7.2.2: +1 -1
lines
Diff to previous 1.7.2.2 (colored)
add COMPAT_SUNOS code
Revision 1.7.2.2 / (download) - annotate - [select for diffs], Fri Sep 24 08:51:18 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.7.2.1: +1 -1
lines
Diff to previous 1.7.2.1 (colored)
Make all files using spl*() #include cpu.h. Changes from trunk. init_main.c: New method of pseudo-device of initialization. kern_clock.c: hardclock() and softclock() now take a pointer to a clockframe. softclock() only does callouts. kern_synch.c: Remove spurious declaration of endtsleep(). Adjust uses of averunnable for new struct loadav. subr_prf.c: Allow printf() formats in panic(). tty.c: averunnable changes. vfs_subr.c: va_size and va_bytes are now quads.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Sep 15 22:30:38 1993 UTC (18 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: magnum-base
Changes since 1.8: +1 -1
lines
Diff to previous 1.8 (colored)
make allproc be volatile, and cast things accordingly. suggested by torek, because CSRG had problems with reordering of assignments to allproc leading to strange panics from kernels compiled with gcc2...
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Sep 14 18:24:16 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.7: +1 -1
lines
Diff to previous 1.7 (colored)
init_main.c: clock changes from 4.4; initclocks() is called after vfsinit(). No startrtclock() or enablertclock(). Some pseudo-device cruft, but this needs to be updated. kern_clock.c: from 4.4: gatherstats() --> statclock(). statclock(), hardclock(), and softclock() take a `struct clockframe *'. New initclocks(), harclock(), statclock(), startprofclock(), and stopprofclock(). kern_synch.c: from 4.4: machine-independent swtch(), which is now where process time is integrated. Calls cpu_swtch() with the current process as an arg. subr_autoconf.c: Fix typo. subr_prf.c: msgbufp and msgbufmapped are define in machdep.c tty.c: Make TIOCHPCL #ifdef COMPAT_43. Incorporate changes from main branch.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 9 22:04:02 1993 UTC (18 years, 8 months ago) by phil
Branch: MAIN
Changes since 1.7: +1 -1
lines
Diff to previous 1.7 (colored)
These changes are due to a mismatch with user functions prototyped as func(short) and the fact the the kernel uses full ints. This caused problems on the pc532 port. These fixes take the good 16 bits passed by the user program and converts them into the correct form for the kernel.
Revision 1.6.2.1 / (download) - annotate - [select for diffs], Fri Aug 20 08:37:03 1993 UTC (18 years, 9 months ago) by cgd
Branch: netbsd-0-9
CVS Tags: netbsd-0-9-patch-001,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA
Changes since 1.6: +1 -1
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
get rid of bogus splhigh()/splnone() pairs
Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 7 05:16:38 1993 UTC (18 years, 9 months ago) by cgd
Branch: MAIN
Branch point for: magnum
Changes since 1.6: +1 -1
lines
Diff to previous 1.6 (colored)
the swtch() calls here should not need to be splclock() protected, and certainly don't need to be bracketed by splclock()/splnone(), the latter of which is a jolitz invention.
Revision 1.6 / (download) - annotate - [select for diffs], Sat Jul 17 15:24:33 1993 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-0-9-base,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA
Branch point for: netbsd-0-9
Changes since 1.5: +1 -1
lines
Diff to previous 1.5 (colored)
Finish moving struct definitions outside of function declarations.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 7 08:12:33 1993 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.4: +1 -1
lines
Diff to previous 1.4 (colored)
revert code base back to net/2. in particular, fix jolitz's trapsignal() change (it's only supposed to work on curproc) and add a panic if called w/something other than curproc, and also fix a relic of his crappy exec implementation
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 4 23:30:37 1993 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.3: +1 -1
lines
Diff to previous 1.3 (colored)
change exit() to kexit(), so prototypes are "safe" with stdio.h, etc.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 27 06:01:44 1993 UTC (18 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.2: +1 -1
lines
Diff to previous 1.2 (colored)
ANSIfications - removed all implicit function return types and argument definitions. Ensured that all files include "systm.h" to gain access to general prototypes. Casts where necessary.
Revision 1.2 / (download) - annotate - [select for diffs], Thu May 20 02:54:38 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
add $Id$ strings, and clean up file headers where necessary
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8,
WFJ-386bsd-01
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Initial revision