<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/security/lomac/kernel_socket.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2002-12-03T15:12:36Z</updated>
<entry>
<title>Unhook the old LOMAC module, now replaced with mac_lomac.</title>
<updated>2002-12-03T15:12:36Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2002-12-03T15:12:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c3a04e1ea4e87a7e7dad36db54db501427e6a366'/>
<id>urn:sha1:c3a04e1ea4e87a7e7dad36db54db501427e6a366</id>
<content type='text'>
Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
</content>
</entry>
<entry>
<title>Back out my lats commit of locking down a socket, it conflicts with hsu's work.</title>
<updated>2002-05-31T11:52:35Z</updated>
<author>
<name>Seigo Tanimura</name>
<email>tanimura@FreeBSD.org</email>
</author>
<published>2002-05-31T11:52:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4cc20ab1f0f3d1126126327aa298ab88c974c53d'/>
<id>urn:sha1:4cc20ab1f0f3d1126126327aa298ab88c974c53d</id>
<content type='text'>
Requested by:	hsu
</content>
</entry>
<entry>
<title>Lock down a socket, milestone 1.</title>
<updated>2002-05-20T05:41:09Z</updated>
<author>
<name>Seigo Tanimura</name>
<email>tanimura@FreeBSD.org</email>
</author>
<published>2002-05-20T05:41:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=243917fe3b5e36464ab72473e872da9acd44aa1c'/>
<id>urn:sha1:243917fe3b5e36464ab72473e872da9acd44aa1c</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>DBA update: pick the right DBA for various LOMAC copyrights.</title>
<updated>2002-03-13T22:55:20Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2002-03-13T22:55:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=419fe413e567548ffaf11bb378bd3e714e33426d'/>
<id>urn:sha1:419fe413e567548ffaf11bb378bd3e714e33426d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simple p_ucred -&gt; td_ucred changes to start using the per-thread ucred</title>
<updated>2002-02-27T18:32:23Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2002-02-27T18:32:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a854ed98931b2e365eddd24cd2a1bb53a3f1828f'/>
<id>urn:sha1:a854ed98931b2e365eddd24cd2a1bb53a3f1828f</id>
<content type='text'>
reference.
</content>
</entry>
<entry>
<title>Introduce a version field to `struct xucred' in place of one of the</title>
<updated>2002-02-27T04:45:37Z</updated>
<author>
<name>Dima Dorfman</name>
<email>dd@FreeBSD.org</email>
</author>
<published>2002-02-27T04:45:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76183f345377df655cfb357a53d52aa045fa8073'/>
<id>urn:sha1:76183f345377df655cfb357a53d52aa045fa8073</id>
<content type='text'>
spares (the size of the field was changed from u_short to u_int to
reflect what it really ends up being).  Accordingly, change users of
xucred to set and check this field as appropriate.  In the kernel,
this is being done inside the new cru2x() routine which takes a
`struct ucred' and fills out a `struct xucred' according to the
former.  This also has the pleasant sideaffect of removing some
duplicate code.

Reviewed by:	rwatson
</content>
</entry>
<entry>
<title>Replace a few more lines of code orphaned by MFREE going away.</title>
<updated>2002-02-07T22:08:32Z</updated>
<author>
<name>Matt Jacob</name>
<email>mjacob@FreeBSD.org</email>
</author>
<published>2002-02-07T22:08:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=280304eb49642553d8e0138543286ebf72290338'/>
<id>urn:sha1:280304eb49642553d8e0138543286ebf72290338</id>
<content type='text'>
MFC after:	1 day
</content>
</entry>
<entry>
<title>s/sonewconn3/sonewconn/ forgotten by the modifier.</title>
<updated>2001-12-26T18:31:22Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>2001-12-26T18:31:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18f29213d4ea62b3fa18688416f069608a2d895d'/>
<id>urn:sha1:18f29213d4ea62b3fa18688416f069608a2d895d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split out NAI Labs license and BSD license to prevent the accidental</title>
<updated>2001-12-03T00:21:18Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>2001-12-03T00:21:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=830681f547e765b5b14bb463d0f65bf02deb3e9c'/>
<id>urn:sha1:830681f547e765b5b14bb463d0f65bf02deb3e9c</id>
<content type='text'>
violation of either.
</content>
</entry>
<entry>
<title>Import LOMAC preliminary release 2.0.0 in src/sys/security.  These files may</title>
<updated>2001-11-19T22:34:06Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>2001-11-19T22:34:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3795613d1d4af8aa4ba965db8d81926be7731556'/>
<id>urn:sha1:3795613d1d4af8aa4ba965db8d81926be7731556</id>
<content type='text'>
be modified and do not have to remain on the vendor branch.

http://opensource.nailabs.com/lomac/index.html

Sponsored by: DARPA, NAI Labs (CBOSS project)
</content>
</entry>
</feed>
