Home | History | Annotate | Download | only in netbsd32
History log of /src/sys/compat/netbsd32/netbsd32_sem.c
RevisionDateAuthorComments
 1.12  03-Feb-2019  thorpej Implement support for "pshared" POSIX semaphores.

Fixes lib/53273 (and Firefox's multi-process tab feature).
 1.11  19-Sep-2014  matt branches: 1.11.20;
#include <sys/condvar.h>
 1.10  10-Mar-2012  joerg branches: 1.10.2;
P1003_1B_SEMAPHORE is no longer optional.
 1.9  08-Mar-2012  joerg Implement sem_timedwait.
 1.8  14-Nov-2008  ad branches: 1.8.4; 1.8.18; 1.8.22;
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.
 1.7  29-Apr-2008  martin branches: 1.7.2; 1.7.6; 1.7.8;
Convert to new 2 clause license
 1.6  20-Dec-2007  dsl branches: 1.6.6; 1.6.8; 1.6.10;
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.
 1.5  10-Sep-2007  cube branches: 1.5.8; 1.5.12;
Remove 3rd clause and my name from all the licences which were only in my
name.
 1.4  18-Mar-2007  dsl branches: 1.4.8; 1.4.10;
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
 1.3  16-Mar-2007  dsl remove all the double (and triple) casts used to convert 32bit userspace
pointers to and from 64bit kernel pointers. Instead use the defines
NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64)
to write a 32bit pointer throughout.
The 32bit pointer is now a struct to enforce the above.
amd64 (with linux emul) and sparc64 will both compile (when the arch stuff
goes in soon), and amd64 still runs some i386 binaries.
 1.2  09-Feb-2007  ad branches: 1.2.2; 1.2.6; 1.2.8; 1.2.10;
Merge newlock2 to head.
 1.1  05-Mar-2006  cube branches: 1.1.2; 1.1.8; 1.1.14; 1.1.18; 1.1.20;
Implement the ksem_* family of syscalls.
 1.1.20.2  09-Sep-2006  rpaulo sync with head
 1.1.20.1  05-Mar-2006  rpaulo file netbsd32_sem.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:46:12 +0000
 1.1.18.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.1.14.6  21-Jan-2008  yamt sync with head
 1.1.14.5  27-Oct-2007  yamt sync with head.
 1.1.14.4  03-Sep-2007  yamt sync with head.
 1.1.14.3  26-Feb-2007  yamt sync with head.
 1.1.14.2  21-Jun-2006  yamt sync with head.
 1.1.14.1  05-Mar-2006  yamt file netbsd32_sem.c was added on branch yamt-lazymbuf on 2006-06-21 14:59:35 +0000
 1.1.8.2  22-Apr-2006  simonb Sync with head.
 1.1.8.1  05-Mar-2006  simonb file netbsd32_sem.c was added on branch simonb-timecounters on 2006-04-22 11:38:17 +0000
 1.1.2.2  05-Mar-2006  cube Implement the ksem_* family of syscalls.
 1.1.2.1  05-Mar-2006  cube file netbsd32_sem.c was added on branch yamt-pdpolicy on 2006-03-05 01:28:21 +0000
 1.2.10.2  29-Mar-2007  reinoud Pullup to -current
 1.2.10.1  18-Mar-2007  reinoud First attempt to bring branch in sync with HEAD
 1.2.8.1  11-Jul-2007  mjf Sync with head.
 1.2.6.2  09-Oct-2007  ad Sync with head.
 1.2.6.1  10-Apr-2007  ad Sync with head.
 1.2.2.1  24-Mar-2007  yamt sync with head.
 1.4.10.2  09-Jan-2008  matt sync with HEAD
 1.4.10.1  06-Nov-2007  matt sync with HEAD
 1.4.8.1  02-Oct-2007  joerg Sync with HEAD.
 1.5.12.1  02-Jan-2008  bouyer Sync with HEAD
 1.5.8.1  26-Dec-2007  ad Sync with head.
 1.6.10.2  04-May-2009  yamt sync with head.
 1.6.10.1  16-May-2008  yamt sync with head.
 1.6.8.1  18-May-2008  yamt sync with head.
 1.6.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.6.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.7.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.7.6.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.7.2.2  14-May-2008  wrstuden 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.
 1.7.2.1  10-May-2008  wrstuden 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.
 1.8.22.1  11-Mar-2012  mrg sync to latest -current
 1.8.18.1  17-Apr-2012  yamt sync with head
 1.8.4.2  14-Nov-2008  ad 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.
 1.8.4.1  14-Nov-2008  ad file netbsd32_sem.c was added on branch christos-time_t on 2008-11-14 15:49:21 +0000
 1.10.2.1  03-Dec-2017  jdolecek update from HEAD
 1.11.20.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed