<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netgraph/bluetooth, branch release/5.2.1</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Introduce a MAC label reference in 'struct inpcb', which caches</title>
<updated>2003-11-18T00:39:07+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2003-11-18T00:39:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a557af222b70694470f63e2a0f1bf58c9dcc73fd'/>
<id>a557af222b70694470f63e2a0f1bf58c9dcc73fd</id>
<content type='text'>
the   MAC label referenced from 'struct socket' in the IPv4 and
IPv6-based protocols.  This permits MAC labels to be checked during
network delivery operations without dereferencing inp-&gt;inp_socket
to get to so-&gt;so_label, which will eventually avoid our having to
grab the socket lock during delivery at the network layer.

This change introduces 'struct inpcb' as a labeled object to the
MAC Framework, along with the normal circus of entry points:
initialization, creation from socket, destruction, as well as a
delivery access control check.

For most policies, the inpcb label will simply be a cache of the
socket label, so a new protocol switch method is introduced,
pr_sosetlabel() to notify protocols that the socket layer label
has been updated so that the cache can be updated while holding
appropriate locks.  Most protocols implement this using
pru_sosetlabel_null(), but IPv4/IPv6 protocols using inpcbs use
the the worker function in_pcbsosetlabel(), which calls into the
MAC Framework to perform a cache update.

Biba, LOMAC, and MLS implement these entry points, as do the stub
policy, and test policy.

Reviewed by:	sam, bms
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the   MAC label referenced from 'struct socket' in the IPv4 and
IPv6-based protocols.  This permits MAC labels to be checked during
network delivery operations without dereferencing inp-&gt;inp_socket
to get to so-&gt;so_label, which will eventually avoid our having to
grab the socket lock during delivery at the network layer.

This change introduces 'struct inpcb' as a labeled object to the
MAC Framework, along with the normal circus of entry points:
initialization, creation from socket, destruction, as well as a
delivery access control check.

For most policies, the inpcb label will simply be a cache of the
socket label, so a new protocol switch method is introduced,
pr_sosetlabel() to notify protocols that the socket layer label
has been updated so that the cache can be updated while holding
appropriate locks.  Most protocols implement this using
pru_sosetlabel_null(), but IPv4/IPv6 protocols using inpcbs use
the the worker function in_pcbsosetlabel(), which calls into the
MAC Framework to perform a cache update.

Biba, LOMAC, and MLS implement these entry points, as do the stub
policy, and test policy.

Reviewed by:	sam, bms
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
</pre>
</div>
</content>
</entry>
<entry>
<title>Change double include protection style in headers to match</title>
<updated>2003-11-14T03:45:29+00:00</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2003-11-14T03:45:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f21fff6cf234d090e1d50a447df1f1d18a128096'/>
<id>f21fff6cf234d090e1d50a447df1f1d18a128096</id>
<content type='text'>
the rest of Netgraph code.

Reviewed by: imp, ru
Approved by: imp (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the rest of Netgraph code.

Reviewed by: imp, ru
Approved by: imp (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Bluetooth code.</title>
<updated>2003-10-12T22:04:24+00:00</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2003-10-12T22:04:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0986ab12e44caea472245845f9a89ced4f137d73'/>
<id>0986ab12e44caea472245845f9a89ced4f137d73</id>
<content type='text'>
Reviewed by: M. Warner Losh &lt;imp@bsdimp.com&gt;; John Hay &lt;jhay@freebsd.org&gt;
Approved by: M. Warner Losh &lt;imp@bsdimp.com&gt; (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: M. Warner Losh &lt;imp@bsdimp.com&gt;; John Hay &lt;jhay@freebsd.org&gt;
Approved by: M. Warner Losh &lt;imp@bsdimp.com&gt; (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>I don't know from where the notion that device driver should or</title>
<updated>2003-09-28T20:48:13+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-09-28T20:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ed692400eba222d9abc1884e9bb7746c9bc71437'/>
<id>ed692400eba222d9abc1884e9bb7746c9bc71437</id>
<content type='text'>
even could call VOP_REVOKE() on vnodes associated with its dev_t's
has originated, but it stops right here.

If there are things people belive destroy_dev() needs to learn how to
do, please tell me about it, preferably with a reproducible test case.

Include &lt;sys/uio.h&gt; in bluetooth code rather than rely on &lt;sys/vnode.h&gt;
to do so.

The fact that some of the USB code needs to include &lt;sys/vnode.h&gt;
still disturbs me greatly, but I do not have time to chase that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
even could call VOP_REVOKE() on vnodes associated with its dev_t's
has originated, but it stops right here.

If there are things people belive destroy_dev() needs to learn how to
do, please tell me about it, preferably with a reproducible test case.

Include &lt;sys/uio.h&gt; in bluetooth code rather than rely on &lt;sys/vnode.h&gt;
to do so.

The fact that some of the USB code needs to include &lt;sys/vnode.h&gt;
still disturbs me greatly, but I do not have time to chase that.
</pre>
</div>
</content>
</entry>
<entry>
<title>add missing machine/bus.h that is necessary to build now that usb is bus_dma</title>
<updated>2003-07-16T03:43:14+00:00</updated>
<author>
<name>John-Mark Gurney</name>
<email>jmg@FreeBSD.org</email>
</author>
<published>2003-07-16T03:43:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e7091e1518ddb9b901384047e7b565464b9a70e8'/>
<id>e7091e1518ddb9b901384047e7b565464b9a70e8</id>
<content type='text'>
aware.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
aware.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the &lt;sys/bitstring.h&gt; rather than &lt;bitstring.h&gt;</title>
<updated>2003-06-13T19:40:44+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-06-13T19:40:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cc0815a88631baa2d2964ce06664276aaccbcc2d'/>
<id>cc0815a88631baa2d2964ce06664276aaccbcc2d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Last commit of the bluetooth upgrade. (this patch was forgotten in the first</title>
<updated>2003-05-10T22:11:25+00:00</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2003-05-10T22:11:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=335d40c8ffcf1b93777a157e24900fda50a7a62f'/>
<id>335d40c8ffcf1b93777a157e24900fda50a7a62f</id>
<content type='text'>
commit)

Submitted by: Maksim Yevmenkin &lt;m_evmenkin@yahoo.com&gt;
Approved by: re@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit)

Submitted by: Maksim Yevmenkin &lt;m_evmenkin@yahoo.com&gt;
Approved by: re@
</pre>
</div>
</content>
</entry>
<entry>
<title>Part one of undating the bluetooth code to the newest version</title>
<updated>2003-05-10T21:44:42+00:00</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2003-05-10T21:44:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f2bb1cae36283a8eb5a0f19d8612c6abc5148e8f'/>
<id>f2bb1cae36283a8eb5a0f19d8612c6abc5148e8f</id>
<content type='text'>
Submitted by:   Maksim Yevmenkin &lt;m_evmenkin@yahoo.com&gt;
Approved by: re@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:   Maksim Yevmenkin &lt;m_evmenkin@yahoo.com&gt;
Approved by: re@
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce an M_ASSERTPKTHDR() macro which performs the very common task</title>
<updated>2003-04-08T14:25:47+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-04-08T14:25:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fe58453891932b6e42539b9971ec882c24140153'/>
<id>fe58453891932b6e42539b9971ec882c24140153</id>
<content type='text'>
of asserting that an mbuf has a packet header.  Use it instead of hand-
rolled versions wherever applicable.

Submitted by:	Hiten Pandya &lt;hiten@unixdaemons.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of asserting that an mbuf has a packet header.  Use it instead of hand-
rolled versions wherever applicable.

Submitted by:	Hiten Pandya &lt;hiten@unixdaemons.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce a new taskqueue that runs completely free of Giant, and in</title>
<updated>2003-02-26T03:15:42+00:00</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2003-02-26T03:15:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7874f606d5cefa443c96bc218d76d696db6f1a69'/>
<id>7874f606d5cefa443c96bc218d76d696db6f1a69</id>
<content type='text'>
turns runs its tasks free of Giant too.  It is intended that as drivers
become locked down, they will move out of the old, Giant-bound taskqueue
and into this new one.  The old taskqueue has been renamed to
taskqueue_swi_giant, and the new one keeps the name taskqueue_swi.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
turns runs its tasks free of Giant too.  It is intended that as drivers
become locked down, they will move out of the old, Giant-bound taskqueue
and into this new one.  The old taskqueue has been renamed to
taskqueue_swi_giant, and the new one keeps the name taskqueue_swi.
</pre>
</div>
</content>
</entry>
</feed>
