freebsd-skq/sys/compat/svr4
Seigo Tanimura 243917fe3b Lock down a socket, milestone 1.
o Add a mutex (sb_mtx) to struct sockbuf. This protects the data in a
  socket buffer. The mutex in the receive buffer also protects the data
  in struct socket.

o Determine the lock strategy for each members in struct socket.

o Lock down the following members:

  - so_count
  - so_options
  - so_linger
  - so_state

o Remove *_locked() socket APIs.  Make the following socket APIs
  touching the members above now require a locked socket:

 - sodisconnect()
 - soisconnected()
 - soisconnecting()
 - soisdisconnected()
 - soisdisconnecting()
 - sofree()
 - soref()
 - sorele()
 - sorwakeup()
 - sotryfree()
 - sowakeup()
 - sowwakeup()

Reviewed by:	alfred
2002-05-20 05:41:09 +00:00
..
imgact_svr4.c Remove __P. 2002-03-20 05:48:58 +00:00
Makefile Fix typo. 2001-09-13 22:02:48 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.h
svr4_exec.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_fcntl.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
svr4_fcntl.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_filio.c Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
svr4_filio.h
svr4_fuser.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_hrt.h
svr4_ioctl.c Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
svr4_ioctl.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_ipc.c Remove __P. 2002-03-20 05:48:58 +00:00
svr4_ipc.h
svr4_misc.c - Lock proctree_lock instead of pgrpsess_lock. 2002-04-16 17:04:21 +00:00
svr4_mman.h
svr4_proto.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_resource.c Remove __P. 2002-03-20 05:48:58 +00:00
svr4_resource.h
svr4_siginfo.h
svr4_signal.c Moved signal handling and rescheduling from userret() to ast() so that 2002-04-04 17:49:48 +00:00
svr4_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_socket.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_socket.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_sockio.c Remove __P. 2002-03-20 05:48:58 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
svr4_stat.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_statvfs.h
svr4_stream.c Remove __P. 2002-03-20 05:48:58 +00:00
svr4_stropts.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_syscall.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_syscallnames.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_sysconfig.h
svr4_sysent.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_systeminfo.h
svr4_sysvec.c Use proc lock to protect p_ucred pointer while we deference it to read a 2002-04-11 21:00:38 +00:00
svr4_termios.c Remove __P. 2002-03-20 05:48:58 +00:00
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c Remove __P. 2002-03-20 05:48:58 +00:00
svr4_ttold.h
svr4_types.h
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_util.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_utsname.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_wait.h
svr4.h
syscalls.conf
syscalls.master Synchronize syscalls.master(s) with recent Giant pushdown work 2001-09-01 19:36:48 +00:00