freebsd-src/sys/compat
John Baldwin a3616b117c Make svr4_sys_waitsys() a lot less ugly and mark it MPSAFE.
- If the WNOWAIT flag isn't specified and either of WEXITED or WTRAPPED is
  set, then just call kern_wait() and let it do all the work.  This means
  that this function no longer has to duplicate the work to teardown
  zombies that is done in kern_wait().  Instead, if the above conditions
  aren't true, then it uses a simpler loop to implement WNOWAIT and/or
  tracing for only stopped or continued processes.  This function still
  has to duplicate code from kern_wait() for the latter two cases, but
  those are much simpler.
- Sync the code to handle the WCONTINUED and WSTOPPED cases with the
  equivalent code in kern_wait().
- Fix several places that would return with the proctree lock still held.
- Lock the current process to prevent lost wakeup races when blocking.
2006-07-19 19:01:10 +00:00
..
freebsd32 sync with master. 2006-07-14 01:57:09 +00:00
ia32 Remove kern.elf32.can_exec_dyn sysctl. Instead extend Brandinfo structure 2005-12-26 21:23:57 +00:00
linprocfs Improve linprovfs to provide/fix the 2006-06-27 20:11:58 +00:00
linsysfs Remove the dependency on procfs since it isn't used. 2006-05-11 15:27:58 +00:00
linux Don't free the sockaddr in kern_bind() and kern_connect() as not all 2006-07-19 18:28:52 +00:00
ndis Move conditional preprocessing out of the SYSCTL_ADD_STRING macro 2006-06-22 13:11:36 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 Make svr4_sys_waitsys() a lot less ugly and mark it MPSAFE. 2006-07-19 19:01:10 +00:00