<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/security/mac/mac_socket.c, branch release/7.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-05-01T02:51:58Z</updated>
<entry>
<title>Copy releng/7.2 to release/7.2.0 for FreeBSD 7.2-RELEASE.</title>
<updated>2009-05-01T02:51:58Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2009-05-01T02:51:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b205d83df7763ca1f099bce5ac12a05862a626c4'/>
<id>urn:sha1:b205d83df7763ca1f099bce5ac12a05862a626c4</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 7.2-RELEASE image.
</content>
</entry>
<entry>
<title>Normalize variable naming in the MAC Framework by adopting the normal</title>
<updated>2007-04-22T19:55:56Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-04-22T19:55:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=26ae2b86b61a907880bfc4e47050fc488c3c1f9b'/>
<id>urn:sha1:26ae2b86b61a907880bfc4e47050fc488c3c1f9b</id>
<content type='text'>
variable name conventions for arguments passed into the framework --
for example, name network interfaces 'ifp', sockets 'so', mounts 'mp',
mbufs 'm', processes 'p', etc, wherever possible.  Previously there
was significant variation in this regard.

Normalize copyright lists to ranges where sensible.
</content>
</entry>
<entry>
<title>Move src/sys/sys/mac_policy.h, the kernel interface between the MAC</title>
<updated>2006-12-22T23:34:47Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-12-22T23:34:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0efd6615cd5f39b67cec82a7034e655f3b5801e3'/>
<id>urn:sha1:0efd6615cd5f39b67cec82a7034e655f3b5801e3</id>
<content type='text'>
Framework and security modules, to src/sys/security/mac/mac_policy.h,
completing the removal of kernel-only MAC Framework include files from
src/sys/sys.  Update the MAC Framework and MAC policy modules.  Delete
the old mac_policy.h.

Third party policy modules will need similar updating.

Obtained from:	TrustedBSD Project
</content>
</entry>
<entry>
<title>Remove mac_enforce_subsystem debugging sysctls.  Enforcement on</title>
<updated>2006-12-21T09:51:34Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-12-21T09:51:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e66fe0e1db5b5e074e568fba22bd5b69b1430b6a'/>
<id>urn:sha1:e66fe0e1db5b5e074e568fba22bd5b69b1430b6a</id>
<content type='text'>
subsystems will be a property of policy modules, which may require
access control check entry points to be invoked even when not actively
enforcing (i.e., to track information flow without providing
protection).

Obtained from:	TrustedBSD Project
Suggested by:	Christopher dot Vance at sparta dot com
</content>
</entry>
<entry>
<title>Document socket labeling model.</title>
<updated>2006-12-20T23:16:41Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-12-20T23:16:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=df3c68e479bbda28028c339612d2a174de30298e'/>
<id>urn:sha1:df3c68e479bbda28028c339612d2a174de30298e</id>
<content type='text'>
Clean up comment white space and wrapping.

Obtained from:	TrustedBSD Project
</content>
</entry>
<entry>
<title>Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h</title>
<updated>2006-10-22T11:52:19Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-10-22T11:52:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=aed557087269cd052aa76cc15af4a1fd70cbbf24'/>
<id>urn:sha1:aed557087269cd052aa76cc15af4a1fd70cbbf24</id>
<content type='text'>
begun with a repo-copy of mac.h to mac_framework.h.  sys/mac.h now
contains the userspace and user&lt;-&gt;kernel API and definitions, with all
in-kernel interfaces moved to mac_framework.h, which is now included
across most of the kernel instead.

This change is the first step in a larger cleanup and sweep of MAC
Framework interfaces in the kernel, and will not be MFC'd.

Obtained from:	TrustedBSD Project
Sponsored by:	SPARTA
</content>
</entry>
<entry>
<title>Remove MAC_DEBUG label counters, which were used to debug leaks and</title>
<updated>2006-09-20T13:33:41Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-09-20T13:33:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=738f14d4b139bed4315b0788098ee99abfc2dd81'/>
<id>urn:sha1:738f14d4b139bed4315b0788098ee99abfc2dd81</id>
<content type='text'>
other problems while labels were first being added to various kernel
objects.  They have outlived their usefulness.

MFC after:	1 month
Suggested by:	Christopher dot Vance at SPARTA dot com
Obtained from:	TrustedBSD Project
</content>
</entry>
<entry>
<title>Add MAC Framework and MAC policy entry point mac_check_socket_create(),</title>
<updated>2005-07-05T22:49:10Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-07-05T22:49:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6758f88ea476f8a5d8c956d2b4ab41a2c0aa6bd6'/>
<id>urn:sha1:6758f88ea476f8a5d8c956d2b4ab41a2c0aa6bd6</id>
<content type='text'>
which is invoked from socket() and socketpair(), permitting MAC
policy modules to control the creation of sockets by domain, type, and
protocol.

Obtained from:	TrustedBSD Project
Sponsored by:	SPARTA, SPAWAR
Approved by:	re (scottl)
Requested by:	SCC
</content>
</entry>
<entry>
<title>Introduce three additional MAC Framework and MAC Policy entry points to</title>
<updated>2005-04-16T18:46:29Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-04-16T18:46:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7f53207b920ab74fb4fb9de4964071bbb13bbbec'/>
<id>urn:sha1:7f53207b920ab74fb4fb9de4964071bbb13bbbec</id>
<content type='text'>
control socket poll() (select()), fstat(), and accept() operations,
required for some policies:

        poll()          mac_check_socket_poll()
        fstat()         mac_check_socket_stat()
        accept()        mac_check_socket_accept()

Update mac_stub and mac_test policies to be aware of these entry points.
While here, add missing entry point implementations for:

        mac_stub.c      stub_check_socket_receive()
        mac_stub.c      stub_check_socket_send()
        mac_test.c      mac_test_check_socket_send()
        mac_test.c      mac_test_check_socket_visible()

Obtained from:	TrustedBSD Project
Sponsored by:	SPAWAR, SPARTA
</content>
</entry>
<entry>
<title>Socket MAC labels so_label and so_peerlabel are now protected by</title>
<updated>2004-06-13T02:50:07Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-06-13T02:50:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=310e7ceb94990acce70c4a1230d0f397aaf93555'/>
<id>urn:sha1:310e7ceb94990acce70c4a1230d0f397aaf93555</id>
<content type='text'>
SOCK_LOCK(so):

- Hold socket lock over calls to MAC entry points reading or
  manipulating socket labels.

- Assert socket lock in MAC entry point implementations.

- When externalizing the socket label, first make a thread-local
  copy while holding the socket lock, then release the socket lock
  to externalize to userspace.
</content>
</entry>
</feed>
