Home | History | Annotate | Download | only in netbsd32
History log of /src/sys/compat/netbsd32/netbsd32_select.c
RevisionDateAuthorComments
 1.20  20-Sep-2019  kamil Validate usec ranges in netbsd32___select50()

Later in the code selcommon() checks for proper timespec, check only
correct usec of timeval before type conversions.
 1.19  23-Apr-2010  rmind branches: 1.19.60;
Replace M_IOV and some malloc(9)s with kmem(9), and while there:
- Fix invalid free (M_TEMP vs M_IOV) in do_sys_recvmsg(), spotted by jakllsch@.
Also, same fix in osf1_sys_sendmsg_xopen().
- Fix attempt to free non-allocated memory in error path in netbsd32___getfh30().
- Plug a memory leak in compat_43_netbsd32_orecvmsg().
 1.18  11-Nov-2009  rmind branches: 1.18.2; 1.18.4;
- selcommon/pollcommon: drop redundant l argument.
- Use cached curlwp->l_fd, instead of p->p_fd.
- Inline selscan/pollscan.
 1.17  29-Mar-2009  christos Move the internal poll/select related API's to use timespec instead
of timeval (rides the uvm bump).
 1.16  11-Jan-2009  christos branches: 1.16.2;
merge christos-time_t
 1.15  29-May-2008  mrg branches: 1.15.6; 1.15.12;
remove clause #3 from my license where there are no other
copyright holders involved.
 1.14  20-Dec-2007  dsl branches: 1.14.6; 1.14.8; 1.14.10; 1.14.12;
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.13  08-Dec-2007  dsl branches: 1.13.4;
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
 1.12  18-Mar-2007  dsl branches: 1.12.8; 1.12.10; 1.12.18;
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
 1.11  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.10  04-Mar-2007  christos branches: 1.10.2; 1.10.4; 1.10.6;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.9  11-Dec-2005  christos branches: 1.9.26;
merge ktrace-lwp.
 1.8  19-Aug-2005  christos Fix lossage I created with the 64 bit ino_t change.
 1.7  09-Jul-2005  cube Implement pselect(2) and pollts(2).
 1.6  09-Jul-2005  cube Make netbsd32_select() use selcommon() instead of a gross copy/paste of
the old sys_select() code.
 1.5  26-Oct-2003  christos branches: 1.5.16;
Don't do the tsleep dance if timo is 0; simplify the code.
 1.4  18-Jan-2003  thorpej branches: 1.4.2;
Merge the nathanw_sa branch.
 1.3  23-Oct-2002  scw In preparation for COMPAT_NETBSD32 on SH-5:

- The MD netbsd32_machdep.h header now defines the 32-bit pointer type
instead of using u_int32_t everywhere,
- The MD netbsd32_machdep.h header now defines a macro (at least on
current implementations) which converts a 32-bit pointer to its 64-bit
equivalent,
- Change the MI code to utilise the above two items in all the right places,
- Implement netbsd32___sigaction_sigtramp().

Tested on Sparc64 by Matt Green.
 1.2  13-Nov-2001  lukem add RCSIDs (including regeneration of files as appropriate)
 1.1  08-Feb-2001  mrg branches: 1.1.2; 1.1.4; 1.1.6;
split up netbsd32_netbsd.c into 9 new files, leaving only those syscalls that
have no special interpretations besides simple syscall args conversion.
 1.1.6.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.3  11-Nov-2002  nathanw Catch up to -current
 1.1.4.2  23-Aug-2002  petrov lwpification.
 1.1.4.1  14-Nov-2001  nathanw Catch up to -current.
 1.1.2.2  11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1  08-Feb-2001  bouyer file netbsd32_select.c was added on branch thorpej_scsipi on 2001-02-11 19:14:16 +0000
 1.4.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1  03-Aug-2004  skrll Sync with HEAD
 1.5.16.3  21-Jan-2008  yamt sync with head
 1.5.16.2  03-Sep-2007  yamt sync with head.
 1.5.16.1  21-Jun-2006  yamt sync with head.
 1.9.26.2  24-Mar-2007  yamt sync with head.
 1.9.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.10.6.2  29-Mar-2007  reinoud Pullup to -current
 1.10.6.1  18-Mar-2007  reinoud First attempt to bring branch in sync with HEAD
 1.10.4.1  11-Jul-2007  mjf Sync with head.
 1.10.2.1  10-Apr-2007  ad Sync with head.
 1.12.18.1  26-Dec-2007  ad Sync with head.
 1.12.10.1  09-Jan-2008  matt sync with HEAD
 1.12.8.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.13.4.1  02-Jan-2008  bouyer Sync with HEAD
 1.14.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.14.10.3  11-Aug-2010  yamt sync with head.
 1.14.10.2  11-Mar-2010  yamt sync with head
 1.14.10.1  04-May-2009  yamt sync with head.
 1.14.8.1  04-Jun-2008  yamt sync with head
 1.14.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.14.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.15.12.2  04-Jan-2009  christos add new syscalls.
 1.15.12.1  29-May-2008  christos file netbsd32_select.c was added on branch christos-time_t on 2009-01-04 01:56:02 +0000
 1.15.6.2  28-Apr-2009  skrll Sync with HEAD.
 1.15.6.1  19-Jan-2009  skrll Sync with HEAD.
 1.16.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.18.4.1  30-May-2010  rmind sync with head
 1.18.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.19.60.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed