1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/sys/compat
Robert Watson 011376308f o Introduce pr_mtx into struct prison, providing protection for the
mutable contents of struct prison (hostname, securelevel, refcount,
  pr_linux, ...)
o Generally introduce mtx_lock()/mtx_unlock() calls throughout kern/
  so as to enforce these protections, in particular, in kern_mib.c
  protection sysctl access to the hostname and securelevel, as well as
  kern_prot.c access to the securelevel for access control purposes.
o Rewrite linux emulator abstractions for accessing per-jail linux
  mib entries (osname, osrelease, osversion) so that they don't return
  a pointer to the text in the struct linux_prison, rather, a copy
  to an array passed into the calls.  Likewise, update linprocfs to
  use these primitives.
o Update in_pcb.c to always use prison_getip() rather than directly
  accessing struct prison.

Reviewed by:	jhb
2001-12-03 16:12:27 +00:00
..
linprocfs o Introduce pr_mtx into struct prison, providing protection for the 2001-12-03 16:12:27 +00:00
linux o Introduce pr_mtx into struct prison, providing protection for the 2001-12-03 16:12:27 +00:00
netbsd Use queue macros. 2001-01-24 00:01:42 +00:00
pecoff KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4 Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00