The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


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

sync with head

Revision 1.35.8.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:40 2012 UTC (7 weeks, 1 day ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.35.8.1: +32 -7 lines
Diff to previous 1.35.8.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync to latest -current.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:55 2012 UTC (2 months, 1 week ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, HEAD
Changes since 1.37: +34 -9 lines
Diff to previous 1.37 (colored)

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Sun Mar 11 01:52:30 2012 UTC (2 months, 2 weeks ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.35: +44 -12 lines
Diff to previous 1.35 (colored)

sync to latest -current

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 9 21:03:46 2012 UTC (2 months, 2 weeks ago) by joerg
Branch: MAIN
CVS Tags: jmcneill-usbmp-base7
Changes since 1.36: +5 -6 lines
Diff to previous 1.36 (colored)

sem_open and friends should return EINVAL if the semaphore is not valid.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 8 21:59:30 2012 UTC (2 months, 2 weeks ago) by joerg
Branch: MAIN
Changes since 1.35: +41 -8 lines
Diff to previous 1.35 (colored)

Implement sem_timedwait.

Revision 1.29.10.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:39 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.29: +424 -598 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:10 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.29: +424 -598 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Sun Apr 17 20:37:43 2011 UTC (13 months, 1 week ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 (colored)

ksem_free: remove wrong assert.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Apr 16 20:39:18 2011 UTC (13 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.33: +18 -5 lines
Diff to previous 1.33 (colored)

- Add nsems_total and track the use of all semaphores (not only named ones).
  Prevents ksem module from unloading while anonymous semaphore(s) are in use.
- ksem_free: add few asserts.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Apr 15 00:01:48 2011 UTC (13 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.32: +8 -5 lines
Diff to previous 1.32 (colored)

sys__ksem_close: use fd_close().

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 14 00:32:23 2011 UTC (13 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.31: +5 -7 lines
Diff to previous 1.31 (colored)

Minor comment fix.  Use fd_close() in sys__ksem_destroy(), it is cleaner.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 12 20:37:25 2011 UTC (13 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.30: +6 -5 lines
Diff to previous 1.30 (colored)

do_ksem_open: do not leak the file descriptor on error path.
sys__ksem_unlink: fix comment, release one lock ealier.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 11 22:31:43 2011 UTC (13 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.29: +412 -600 lines
Diff to previous 1.29 (colored)

Highly rewrite POSIX semaphore.  Use file descriptor subsystem, greatly
simplify reference counting, and fix various bugs which existed before,
e.g. some incorrect locking or sem_unlink() not checking for permissions.

Revision 1.24.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:49 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.10.1: +91 -66 lines
Diff to previous 1.24.10.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head.

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

Sync with HEAD.

Revision 1.24.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.24.6.1: +89 -64 lines
Diff to previous 1.24.6.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:09 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.25: +91 -66 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

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

Revision 1.29 / (download) - annotate - [select for diffs], Fri Nov 14 15:49:21 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, haad-nbase2, haad-dm-base2, haad-dm-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.28: +20 -20 lines
Diff to previous 1.28 (colored)

Replace semid_t with intptr_t. No function change. This is a libc/kernel
private interface and so the name change should not affect any third
party code.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 14 13:35:25 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

Update a couple of comments.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 12 14:32:34 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.26: +70 -46 lines
Diff to previous 1.26 (colored)

Allow the POSIX semaphore code to be loaded as a module.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Oct 22 11:17:08 2008 UTC (3 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: 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-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: nick-hppapmap
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Set kern.posix_semaphores are runtime so it can be a module.

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:13 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.24: +2 -9 lines
Diff to previous 1.24 (colored)

Sync with HEAD.

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:11 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.24: +2 -9 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.24.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:28 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24: +2 -9 lines
Diff to previous 1.24 (colored)

sync with head.

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:14 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.25.2.1: +2 -3 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:05 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:05 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.24: +2 -9 lines
Diff to previous 1.24 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.21.14.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:48 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.21.14.2: +2 -3 lines
Diff to previous 1.21.14.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.10.4.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:29 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.4.5: +29 -30 lines
Diff to previous 1.10.4.5 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:28 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.21: +64 -35 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with HEAD

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:45 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.22.4.1: +0 -1 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 4 21:18:14 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:20 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.22: +29 -29 lines
Diff to previous 1.22 (colored)

Sync with HEAD

Revision 1.21.14.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:16 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.21.14.1: +29 -29 lines
Diff to previous 1.21.14.1 (colored) to branchpoint 1.21 (colored)

Sync with HEAD.

Revision 1.21.16.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:47 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.21.16.1: +29 -29 lines
Diff to previous 1.21.16.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:13 2007 UTC (4 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.22: +29 -29 lines
Diff to previous 1.22 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:27 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.21: +37 -7 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.21.14.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:42 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.21: +37 -7 lines
Diff to previous 1.21 (colored)

Sync with HEAD.

Revision 1.21.16.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:49 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.21: +37 -7 lines
Diff to previous 1.21 (colored)

Sync with head.

Revision 1.10.4.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:17 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.4.4: +37 -7 lines
Diff to previous 1.10.4.4 (colored) to branchpoint 1.10 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 6 01:27:21 2007 UTC (4 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.21: +37 -7 lines
Diff to previous 1.21 (colored)

Increase the default limit of SEM_MAX, allow changing of limit
dynamically via sysctl.  Closes PR/36979.

Revision 1.10.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:18 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.4.3: +43 -41 lines
Diff to previous 1.10.4.3 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.20.6.3 / (download) - annotate - [select for diffs], Sun Jul 15 15:52:57 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.20.6.2: +7 -6 lines
Diff to previous 1.20.6.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.20.6.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:46 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.20.6.1: +24 -23 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored)

Sync with head.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:18 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.20: +43 -41 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jun 15 18:27:13 2007 UTC (4 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking2-base1, vmlocking-nbase, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.20: +43 -41 lines
Diff to previous 1.20 (colored)

- ksem_proc_dtor: fix a use-after-free
- LOCK_ASSERT -> KASSERT
- Use kmem(9)

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Wed Mar 21 20:10:22 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.20: +17 -17 lines
Diff to previous 1.20 (colored)

GC the simplelock/spinlock debugging stuff.

Revision 1.10.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:20 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.4.2: +93 -85 lines
Diff to previous 1.10.4.2 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:32 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.19: +92 -84 lines
Diff to previous 1.19 (colored)

Merge newlock2 to head.

Revision 1.15.4.5 / (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.15.4.4: +2 -3 lines
Diff to previous 1.15.4.4 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Remove support for SA. Ok core@.

Revision 1.15.4.4 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:07 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.15.4.3: +3 -3 lines
Diff to previous 1.15.4.3 (colored) to branchpoint 1.15 (colored)

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 4 17:38:26 2007 UTC (5 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:07 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.4.1: +59 -38 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.15.4.3 / (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.15.4.2: +12 -5 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored)

Checkpoint work in progress.

Revision 1.15.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:46 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.15.6.1: +12 -12 lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.15.4.1: +52 -30 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:59 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, 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.17: +12 -12 lines
Diff to previous 1.17 (colored)

remove some __unused from function parameters.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.15: +60 -39 lines
Diff to previous 1.15 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:19 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.16: +12 -12 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 8 04:28:44 2006 UTC (5 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +51 -30 lines
Diff to previous 1.15 (colored)

Add specificdata support to procs and lwps, each providing their own
wrappers around the speicificdata subroutines.  Also:
- Call the new lwpinit() function from main() after calling procinit().
- Move some pool initialization out of kern_proc.c and into files that
  are directly related to the pools in question (kern_lwp.c and kern_ras.c).
- Convert uipc_sem.c to proc_{get,set}specific(), and eliminate the p_ksems
  member from struct proc.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Mon Sep 11 00:20:01 2006 UTC (5 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.15: +80 -79 lines
Diff to previous 1.15 (colored)

- Convert some locks to mutexes and RW locks.
- Use the proclist_lock to protect pgrps and sessions in some places.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:17 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.12: +87 -28 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head

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

sync with head

Revision 1.15 / (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-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.14: +10 -10 lines
Diff to previous 1.14 (colored)

Use the LWP cached credentials where sane.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:39 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10: +86 -27 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.12.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:09 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.12.6.1: +13 -11 lines
Diff to previous 1.12.6.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.13.6.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.13: +13 -11 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

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

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:42 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.13.2.1: +815 -0 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 14 21:15:12 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.13: +13 -11 lines
Diff to previous 1.13 (colored)

integrate kauth.

Revision 1.13.4.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:31 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.13.4.2: +3 -2 lines
Diff to previous 1.13.4.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (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.12.6.1 / (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.12: +73 -16 lines
Diff to previous 1.12 (colored)

Sync with head.

Revision 1.13.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 13:53:24 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.13.4.1: +3 -3 lines
Diff to previous 1.13.4.1 (colored) to branchpoint 1.13 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:53:41 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.13: +12 -11 lines
Diff to previous 1.13 (colored)

Adapt to kernel authorization KPI.

Revision 1.13.2.1, Sun Mar 5 00:49:19 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.13: +0 -813 lines
FILE REMOVED

file uipc_sem.c was added on branch yamt-pdpolicy on 2006-05-24 10:58:42 +0000

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 5 00:49:19 2006 UTC (6 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.12: +73 -16 lines
Diff to previous 1.12 (colored)

Change the way semid_t values are chosen.  Instead of using kernel
addresses, use a uint32_t counter and the machinery to properly use it.
That makes the ksem_* system calls friendly for COMPAT_NETBSD32.

OK'd by thorpej@.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 24 19:12:23 2005 UTC (6 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

merge ktrace-lwp.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with -current

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

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

Revision 1.8.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:02 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.5: +5 -5 lines
Diff to previous 1.8.2.5 (colored) next main 1.9 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.10 / (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-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, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

nuke trailing whitespace

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.8.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.8.2.2: +4 -4 lines
Diff to previous 1.8.2.2 (colored)

Revert to passing struct proc for {exit,exec}hook.

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

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 14 14:59:03 2003 UTC (8 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)

add missing __KERNEL_RCSID()

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

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

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:58 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Fri May 16 14:25:03 2003 UTC (9 years ago) by itojun
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 23 17:50:51 2003 UTC (9 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Need to include <sys/sa.h> for <sys/syscall.h>

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

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 24 01:46:27 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +440 -344 lines
Diff to previous 1.2 (colored)

Major overhaul of this code, fixing locking protocol issues and handling
of semaphores at fork time.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 20 20:24:22 2003 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.1: +21 -21 lines
Diff to previous 1.1 (colored)

sys_ksem -> sys__ksem

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 20 20:02:57 2003 UTC (9 years, 4 months ago) by christos
Branch: MAIN

add support for p1003.1b semaphores. From FreeBSD

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>