The NetBSD Project

CVS log for src/sys/kern/core_elf32.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35.12.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:22 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.35: +7 -6 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with head

Revision 1.35.16.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:26 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.35: +7 -6 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

merge to -current.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:40 2012 UTC (3 months, 4 weeks ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, HEAD
Changes since 1.35: +7 -6 lines
Diff to previous 1.35 (colored)

extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)

releng@ acknowledged

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:15 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.2.1: +16 -7 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Mon Dec 14 00:48:35 2009 UTC (2 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.34: +16 -3 lines
Diff to previous 1.34 (colored)

Merge from matt-nb5-mips64

Revision 1.34 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:06 2009 UTC (2 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.33: +2 -6 lines
Diff to previous 1.33 (colored)

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.32.16.2 / (download) - annotate - [select for diffs], Sun Aug 23 03:38:19 2009 UTC (2 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.32.16.1: +12 -3 lines
Diff to previous 1.32.16.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Change lazy fp load/save is done.  fpcurlwp is never NULL.
If no current lwp has the FP, then fpcurlwp is set to lwp0.
this allows many check for NULL and avoids a few null-derefs.
Since savefpregs clear COP1, loadfpregs can be called to reload
fpregs.  If it notices that situation, it just sets COP1 and returns
Save does not reset fpcurlwp, just clears COP1.  load does set fpcurlwp.

If MIPS3_SR_FR is set, all 32 64-bit FP registers are saved/restored via Xdc1.
If MIPS3_SR_FR is clear, only 32 32-bit FP register are saved/restore via Xwc1.
This preserves the existing ABI.

Revision 1.32.16.1 / (download) - annotate - [select for diffs], Fri Aug 21 18:00:36 2009 UTC (2 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.32: +6 -2 lines
Diff to previous 1.32 (colored)

Add support for ELF_MD_PROBE_FUNC and ELF_COREDUMP_SETUP so that more
exact checks can be made before committing to execute or better info
about what's being dumped.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:45 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32: +19 -3 lines
Diff to previous 1.32 (colored)

sync with head.

Revision 1.32.10.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:37 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.32: +19 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.31.30.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:18 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.31.30.1: +17 -1 lines
Diff to previous 1.31.30.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:07 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.32: +19 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:06 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.32: +19 -3 lines
Diff to previous 1.32 (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.31.30.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:07 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Sync with HEAD.

Revision 1.31.32.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:06 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.32.4.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.32.4.1: +3 -3 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (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.32.4.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:02 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:28 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, 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, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, nick-hppapmap, matt-nb5-mips64, haad-dm
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (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.18.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:39 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.3: +8 -8 lines
Diff to previous 1.18.2.3 (colored) next main 1.19 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed Jul 18 01:49:49 2007 UTC (4 years, 10 months ago) by matt
Branch: matt-mips64
Changes since 1.31: +6 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Add ELF core MD hooks and exec hooks to test ABI

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:38 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:50 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2, matt-mips64
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (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.30.2.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:38:35 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

- Make context switch counters 64-bit, and count the total number of
  context switches + voluntary, instead of involuntary + voluntary.
- Add lwp::l_swaplock for uvm.
- PHOLD/PRELE are replaced.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:31 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 9 14:11:23 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: vmlocking, mjf-ufs-trans
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (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.18.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:02 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.2: +18 -7 lines
Diff to previous 1.18.2.2 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:30 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.28: +18 -7 lines
Diff to previous 1.28 (colored)

Merge newlock2 to head.

Revision 1.26.4.5 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:40 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.26.4.4: +3 -3 lines
Diff to previous 1.26.4.4 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Remove support for SA. Ok core@.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:04 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.1: +9 -9 lines
Diff to previous 1.18.2.1 (colored)

sync with head.

Revision 1.26.4.4 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:43 2006 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.26.4.3: +6 -9 lines
Diff to previous 1.26.4.3 (colored) to branchpoint 1.26 (colored)

Checkpoint work in progress.

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:43 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.26.6.1: +6 -6 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:58 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored)

remove some __unused from function parameters.

Revision 1.26.4.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.26.4.2: +9 -6 lines
Diff to previous 1.26.4.2 (colored) to branchpoint 1.26 (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.26.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:09 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored)

sync with head

Revision 1.26.4.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.26.4.1: +16 -7 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (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.27 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:14 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored)

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

Revision 1.26.4.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.26: +4 -2 lines
Diff to previous 1.26 (colored)

- Convert some lockmgr() locks to mutexes and RW locks.
- Acquire proclist_lock and p_crmutex in some obvious places.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:15 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.22: +21 -14 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head

Revision 1.22.8.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:45 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22.8.2: +9 -9 lines
Diff to previous 1.22.8.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head

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

Use the LWP cached credentials where sane.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:37 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18: +36 -32 lines
Diff to previous 1.18 (colored)

sync with head.

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:06 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.22.6.1: +10 -9 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with head.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:40 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.23: +12 -10 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

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

Revision 1.22.8.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:40 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22.8.1: +12 -10 lines
Diff to previous 1.22.8.1 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Sun May 14 21:15:11 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.24: +10 -9 lines
Diff to previous 1.24 (colored)

integrate kauth.

Revision 1.22.10.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:30 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.22.10.2: +3 -2 lines
Diff to previous 1.22.10.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (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.22.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:58 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.22: +13 -7 lines
Diff to previous 1.22 (colored)

Sync with head.

Revision 1.22.10.2 / (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.22.10.1: +13 -7 lines
Diff to previous 1.22.10.1 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 17 22:05:23 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

Make sure we clear cpi_name; reported by Aymeric Vincent.

Revision 1.22.8.1 / (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.22: +11 -6 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 12 20:25:26 2006 UTC (6 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq
Changes since 1.22: +11 -6 lines
Diff to previous 1.22 (colored)

Support the generation of coredumps for 32-bits binaries under
COMPAT_NETBSD32.  They haven't worked for 5 years.

Silently agreed by the tech-kern readers.

XXX sparc64 MD glue still lacking.
XXX The FPU registers on i386 are not dumped correctly, according to my
XXX tests.  It shouldn't be much work for someone who has the slightest
XXX idea of how that stuff is supposed to be laid out on i386.

Revision 1.22.10.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.22: +9 -9 lines
Diff to previous 1.22 (colored)

Adapt to kernel authorization KPI.

Revision 1.10.2.7 / (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.10.2.6: +15 -17 lines
Diff to previous 1.10.2.6 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 8 03:05:40 2005 UTC (6 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base, ktrace-lwp-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Changes since 1.21: +15 -17 lines
Diff to previous 1.21 (colored)

Sprinkle static.

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:44 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.5: +145 -152 lines
Diff to previous 1.10.2.5 (colored)

Sync with HEAD. Here we go again...

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jul 6 22:30:42 2005 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.20: +4 -8 lines
Diff to previous 1.20 (colored)

Make copy{in,out}_proc work on all processes (including curproc) by
special-casing the curproc case. Use copy{in,out}_proc directly instead
of checking for curproc each time. Discussed with thorpej.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jul 6 20:56:49 2005 UTC (6 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.19: +6 -3 lines
Diff to previous 1.19 (colored)

Addendum to previous: copyin_proc() must not be used on curproc.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 6 20:31:33 2005 UTC (6 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Use copyin_proc() to peek for trailing zeroes in sections, as we might be
running in a different context (i.e. a process tracing).

Revision 1.18 / (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.17: +59 -91 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Fri Jun 3 13:30:10 2005 UTC (6 years, 11 months ago) by he
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

An Elf32_Addr can't be cast to caddr_t without first being cast to intptr_t
without causing a warning (turned into error).  Fixes build problem for amd64.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 2 17:01:43 2005 UTC (6 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.15: +100 -76 lines
Diff to previous 1.15 (colored)

When writing coredumps, don't write zero uninstantiated demand-zero pages.
Also, with ELF core dumps, trim trailing zeroes from sections.  These two
changes can shrink coredumps by over 50% in size.

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 29 22:24:14 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

- add const.
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:02 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.4: +16 -16 lines
Diff to previous 1.10.2.4 (colored)

Fix the sync with head I botched.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:02 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.3: +22 -22 lines
Diff to previous 1.10.2.3 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 17 14:11:24 2004 UTC (7 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.13: +8 -8 lines
Diff to previous 1.13 (colored)

There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Wed Aug 18 06:45:12 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.2: +3 -4 lines
Diff to previous 1.10.2.2 (colored)

Correct an argument name in coredump_countsegs and don't overwrite an
argument in coredump_notes.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:42 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.1: +5 -4 lines
Diff to previous 1.10.2.1 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 21 18:40:38 2004 UTC (8 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

kill sprintf, use snprintf

Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 14 06:59:13 2003 UTC (8 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (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.11 / (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.10: +4 -4 lines
Diff to previous 1.10 (colored)

SA_SIGINFO changes.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:33 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.10: +23 -22 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:15 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.9: +20 -21 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:51 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.8: +23 -22 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Tue May 20 17:42:52 2003 UTC (9 years ago) by nathanw
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Track the LWP ID of a synchronous (trap) signal, and report it in core dumps.

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 16 14:25:02 2003 UTC (9 years ago) by itojun
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

use strlcpy.  [fixed off-by-one in subr_prop.c]

Revision 1.6 / (download) - annotate - [select for diffs], Thu May 8 20:26:40 2003 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.5: +97 -62 lines
Diff to previous 1.5 (colored)

Make we keep track of the file sizes in a size_t, not an int.  Also break
out the writing of an lwp's registers to a separate function.  XXX Although
not really the correct way to do this, make the thread that caused the
coredump has it's register set written first so GDB is happy.  (this is a
bridge until TRT is done).

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 25 05:27:35 2003 UTC (9 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Tweak some comments so that they match the other comments more properly.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 18 10:06:23 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +16 -10 lines
Diff to previous 1.3 (colored)

Merge the nathanw_sa branch.

Revision 1.3.16.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:06:03 2002 UTC (9 years, 5 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

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

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:12 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.2.4: +2 -3 lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

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

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Wed May 8 19:46:51 2002 UTC (10 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.3: +6 -2 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)

Wrap PHOLD()/PRELE() around calls to process_read_[fp]regs().

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:37 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.3.4.1: +437 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync kqueue branch with -current.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Wed Jan 9 02:58:33 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.2: +13 -10 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

multi-LWP core dumps.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:32:29 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.1: +437 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.3.4.1, Mon Dec 10 02:07:37 2001 UTC (10 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.3: +0 -437 lines
FILE REMOVED

file core_elf32.c was added on branch kqueue on 2002-01-10 19:59:37 +0000

Revision 1.3.2.1, Mon Dec 10 02:07:37 2001 UTC (10 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +0 -437 lines
FILE REMOVED

file core_elf32.c was added on branch nathanw_sa on 2002-01-08 00:32:29 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 10 02:07:37 2001 UTC (10 years, 5 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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, ifpoll, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue, gmcgarry_ucred
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Cast off_t to (long long) for printing.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 10 01:52:26 2001 UTC (10 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +132 -122 lines
Diff to previous 1.1 (colored)

Move the code that walks the process's VM map during a coredump
into uvm_coredump_walkmap(), and use callbacks into the coredump
routine to do something with each section.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 9 23:05:59 2001 UTC (10 years, 5 months ago) by thorpej
Branch: MAIN

Add support for dumping ELF-cormat core files.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>