<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_mib.c, branch releng/6.1</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC: Remove linux_mib_destroy() since MTX_SYSINIT's gaining of a SYSUNINIT</title>
<updated>2005-12-22T21:25:20+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2005-12-22T21:25:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ddae17371cb3e781e5a8fbadbf1f37cb977eace9'/>
<id>ddae17371cb3e781e5a8fbadbf1f37cb977eace9</id>
<content type='text'>
that called mtx_destroy() made it obsolete.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that called mtx_destroy() made it obsolete.
</pre>
</div>
</content>
</entry>
<entry>
<title>Match the LINUX32's style with existing style</title>
<updated>2005-01-14T04:44:56+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2005-01-14T04:44:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1997c537be039b083d9156b1c8685ac9ff25e911'/>
<id>1997c537be039b083d9156b1c8685ac9ff25e911</id>
<content type='text'>
Submitted by:	Jung-uk Kim &lt;jkim@niksun.com&gt;

Use positive, not negative logic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Jung-uk Kim &lt;jkim@niksun.com&gt;

Use positive, not negative logic.
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes to MI Linux emulation code necessary to run 32-bit Linux binaries</title>
<updated>2004-08-16T07:28:16+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-08-16T07:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4af27623361335eef9a191f7d3a76047095d0f52'/>
<id>4af27623361335eef9a191f7d3a76047095d0f52</id>
<content type='text'>
on AMD64, and the general case where the emulated platform has different
size pointers than we use natively:
- declare certain structure members as l_uintptr_t and use the new PTRIN
  and PTROUT macros to convert to and from native pointers.
- declare some structures __packed on amd64 when the layout would differ
  from that used on i386.
- include &lt;machine/../linux32/linux.h&gt; instead of &lt;machine/../linux/linux.h&gt;
  if compiling with COMPAT_LINUX32. This will need to be revisited before
  32-bit and 64-bit Linux emulation support can coexist in the same kernel.
- other small scattered changes.

This should be a no-op on i386 and Alpha.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
on AMD64, and the general case where the emulated platform has different
size pointers than we use natively:
- declare certain structure members as l_uintptr_t and use the new PTRIN
  and PTROUT macros to convert to and from native pointers.
- declare some structures __packed on amd64 when the layout would differ
  from that used on i386.
- include &lt;machine/../linux32/linux.h&gt; instead of &lt;machine/../linux/linux.h&gt;
  if compiling with COMPAT_LINUX32. This will need to be revisited before
  32-bit and 64-bit Linux emulation support can coexist in the same kernel.
- other small scattered changes.

This should be a no-op on i386 and Alpha.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-06-10T21:29:12+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-06-10T21:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=16dbc7f228758b92c71bfe2d0e67e741df88e92d'/>
<id>16dbc7f228758b92c71bfe2d0e67e741df88e92d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a cleanup function to destroy the osname_lock and call it on module</title>
<updated>2003-03-26T18:29:44+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-03-26T18:29:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=35eb8c5aa20878f727b0143405166e9b463ee24a'/>
<id>35eb8c5aa20878f727b0143405166e9b463ee24a</id>
<content type='text'>
unload.

Submitted by:	gallatin
Reported by:	Martin Karlsson &lt;mk-freebsd@bredband.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unload.

Submitted by:	gallatin
Reported by:	Martin Karlsson &lt;mk-freebsd@bredband.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>- Change the linux_[gs]et_os{name, release, s_version}() functions to</title>
<updated>2003-03-13T22:45:43+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-03-13T22:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b62f75cf4406c25c5910775e81241f19ccc77e99'/>
<id>b62f75cf4406c25c5910775e81241f19ccc77e99</id>
<content type='text'>
  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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Back out M_* changes, per decision of the TRB.</title>
<updated>2003-02-19T05:47:46+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-02-19T05:47:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a163d034fadcfb4a25ca34a2ba5f491c47b6ff69'/>
<id>a163d034fadcfb4a25ca34a2ba5f491c47b6ff69</id>
<content type='text'>
Approved by: trb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by: trb
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove M_TRYWAIT/M_WAITOK/M_WAIT.  Callers should use 0.</title>
<updated>2003-01-21T08:56:16+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2003-01-21T08:56:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=44956c9863dc03344b03bdf6a83acf4e743f8e50'/>
<id>44956c9863dc03344b03bdf6a83acf4e743f8e50</id>
<content type='text'>
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
</pre>
</div>
</content>
</entry>
<entry>
<title>sysctl -w -&gt; sysctl</title>
<updated>2002-05-11T06:06:11+00:00</updated>
<author>
<name>Dima Dorfman</name>
<email>dd@FreeBSD.org</email>
</author>
<published>2002-05-11T06:06:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b90faaf350871871d461e9bdcd6b70eb11919869'/>
<id>b90faaf350871871d461e9bdcd6b70eb11919869</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>o Introduce pr_mtx into struct prison, providing protection for the</title>
<updated>2001-12-03T16:12:27+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2001-12-03T16:12:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=011376308f954457a26cc632ad96816a76d25b00'/>
<id>011376308f954457a26cc632ad96816a76d25b00</id>
<content type='text'>
  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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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
</pre>
</div>
</content>
</entry>
</feed>
