1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/compat
John Baldwin b62f75cf44 - Change the linux_[gs]et_os{name, release, s_version}() functions to
take a thread instead of a proc for their first argument.
- Add a mutex to protect the system-wide Linux osname, osrelease, and
  oss_version variables.
- Change linux_get_prison() to take a thread instead of a proc for its
  first argument and to use td_ucred rather than p_ucred.  This is ok
  because a thread's prison does not change even though it's ucred might.
- Also, change linux_get_prison() to return a struct prison * instead of
  a struct linux_prison * since it returns with the struct prison locked
  and this makes it easier to safely unlock the prison when we are done
  messing with it.
2003-03-13 22:45:43 +00:00
..
freebsd32 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
ia32 SCARGS removal take II. 2002-12-14 01:56:26 +00:00
linprocfs - Change the linux_[gs]et_os{name, release, s_version}() functions to 2003-03-13 22:45:43 +00:00
linux - Change the linux_[gs]et_os{name, release, s_version}() functions to 2003-03-13 22:45:43 +00:00
netbsd Remove __P. 2002-03-20 05:48:58 +00:00
pecoff Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
svr4 More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9). 2003-03-02 16:54:40 +00:00