<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/security/mac_mls, branch releng/7.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2007-11-06T14:46:59Z</updated>
<entry>
<title>Merge mac_framework.h:1.85, mac_policy.h:1.95, mac_posix_sem.c:1.10,</title>
<updated>2007-11-06T14:46:59Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-11-06T14:46:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=58ba3925605ccfcafb1acbb82de65b584fbc92f2'/>
<id>urn:sha1:58ba3925605ccfcafb1acbb82de65b584fbc92f2</id>
<content type='text'>
mac_biba.c:1.108, mac_mls.c:1.89, mac_stub.c:1.69, mac_test.c:1.79 from
HEAD to RELENG_7:

  Canonicalize naming of local variables for struct ksem and associated
  labels to 'ks' and 'kslabel' to reflect the convention in posix_sem.c.

  Obtained from:	TrustedBSD Project

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Rename mac_check_vnode_delete() MAC Framework and MAC Policy entry</title>
<updated>2007-09-10T00:00:18Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-09-10T00:00:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45e0f3d63d90c6f80f3f231f3f8e185e644c70e9'/>
<id>urn:sha1:45e0f3d63d90c6f80f3f231f3f8e185e644c70e9</id>
<content type='text'>
point to mac_check_vnode_unlink(), reflecting UNIX naming conventions.

This is the first of several commits to synchronize the MAC Framework
in FreeBSD 7.0 with the MAC Framework as it will appear in Mac OS X
Leopard.

Reveiwed by:    csjp, Samy Bahra &lt;sbahra at gwu dot edu&gt;
Submitted by:   Jacques Vidrine &lt;nectar at apple dot com&gt;
Obtained from:  Apple Computer, Inc.
Sponsored by:   SPARTA, SPAWAR
Approved by:    re (bmah)
</content>
</entry>
<entry>
<title>When checking labels during a vnode link operation in MLS, use the file</title>
<updated>2007-07-23T13:28:54Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-07-23T13:28:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7bb9c8a05b7bedbd9479f0827ef9b8ca83d9013f'/>
<id>urn:sha1:7bb9c8a05b7bedbd9479f0827ef9b8ca83d9013f</id>
<content type='text'>
vnode label for a check rather than the directory vnode label a second
time.

MFC after:	3 days
Submitted by:	Zhouyi ZHOU &lt;zhouzhouyi at FreeBSD dot org&gt;
Reviewed by:	csjp
Sponsored by:	Google Summer of Code 2007
Approved by:	re (bmah)
</content>
</entry>
<entry>
<title>Rename mac*devfsdirent*() to mac*devfs*() to synchronize with SEDarwin,</title>
<updated>2007-04-23T13:36:54Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-04-23T13:36:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=305759909e4d09b2016bcc57f650a09cee23955d'/>
<id>urn:sha1:305759909e4d09b2016bcc57f650a09cee23955d</id>
<content type='text'>
where similar data structures exist to support devfs and the MAC
Framework, but are named differently.

Obtained from:	TrustedBSD Project
Sponsored by:	SPARTA, Inc.
</content>
</entry>
<entry>
<title>Apply variable name normalization to MAC policies: adopt global conventions</title>
<updated>2007-04-23T13:15:23Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-04-23T13:15:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78007886c995898a9494648343e5236bca1cbba3'/>
<id>urn:sha1:78007886c995898a9494648343e5236bca1cbba3</id>
<content type='text'>
for the naming of variables associated with specific data structures.

Obtained from:	TrustedBSD Project
</content>
</entry>
<entry>
<title>In the MAC Framework implementation, file systems have two per-mountpoint</title>
<updated>2007-04-22T16:18:10Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-04-22T16:18:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eb542415c0e7c23db31fd0a8ea31c33f2edeb3b1'/>
<id>urn:sha1:eb542415c0e7c23db31fd0a8ea31c33f2edeb3b1</id>
<content type='text'>
labels: the mount label (label of the mountpoint) and the fs label (label
of the file system).  In practice, policies appear to only ever use one,
and the distinction is not helpful.

Combine mnt_mntlabel and mnt_fslabel into a single mnt_label, and
eliminate extra machinery required to maintain the additional label.
Update policies to reflect removal of extra entry points and label.

Obtained from:	TrustedBSD Project
Sponsored by:	SPARTA, Inc.
</content>
</entry>
<entry>
<title>Allow MAC policy modules to control access to audit configuration system</title>
<updated>2007-04-21T22:08:48Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-04-21T22:08:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18717f69b12e04d18ed40c7f36093d23525ebf67'/>
<id>urn:sha1:18717f69b12e04d18ed40c7f36093d23525ebf67</id>
<content type='text'>
calls.  Add MAC Framework entry points and MAC policy entry points for
audit(), auditctl(), auditon(), setaudit(), aud setauid().

MAC Framework entry points are only added for audit system calls where
additional argument context may be useful for policy decision-making; other
audit system calls without arguments may be controlled via the priv(9)
entry points.

Update various policy modules to implement audit-related checks, and in
some cases, other missing system-related checks.

Obtained from:	TrustedBSD Project
Sponsored by:	SPARTA, Inc.
</content>
</entry>
<entry>
<title>Introduce accessor functions mac_label_get() and mac_label_set() to replace</title>
<updated>2007-02-06T14:19:25Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-02-06T14:19:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0142affc7755ae2750887f59e7ced38a62d2ab3c'/>
<id>urn:sha1:0142affc7755ae2750887f59e7ced38a62d2ab3c</id>
<content type='text'>
LABEL_TO_SLOT() macro used by policy modules to query and set label data
in struct label.  Instead of using a union, store an intptr_t, simplifying
the API.

Update policies: in most cases this required only small tweaks to current
wrapper macros.  In two cases, a single wrapper macros had to be split into
separate get and set macros.

Move struct label definition from _label.h to mac_internal.h and remove
_label.h.  With this change, policies may now treat struct label * as
opaque, allowing us to change the layout of struct label without breaking
the policy module ABI.  For example, we could make the maximum number of
policies with labels modifiable at boot-time rather than just at
compile-time.

Obtained from:	TrustedBSD Project
</content>
</entry>
<entry>
<title>Continue 7-CURRENT MAC Framework rearrangement and cleanup:</title>
<updated>2007-02-06T10:59:23Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-02-06T10:59:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c96ae1968a6ab7056427a739bce81bf07447c2d4'/>
<id>urn:sha1:c96ae1968a6ab7056427a739bce81bf07447c2d4</id>
<content type='text'>
Don't perform a nested include of _label.h in mac.h, as mac.h now
describes only  the user API to MAC, and _label.h defines the in-kernel
representation of MAC labels.

Remove mac.h includes from policies and MAC framework components that do
not use userspace MAC API definitions.

Add _KERNEL inclusion checks to mac_internal.h and mac_policy.h, as these
are kernel-only include files

Obtained from:	TrustedBSD Project
</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/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>
</feed>
