Commit graph

28 commits

Author SHA1 Message Date
Hideyuki KURASHINA
e43017f9ba Add missing end-tags.
Submitted by:	Martin Karlsson <mk-freebsd@bredband.net>
PR:		docs/54868
2003-07-25 21:07:42 +00:00
Robert Watson
05e4fc5873 Trim incomplete Userland API section, it contributes nothing over
the existing Userland Architecture section.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 23:10:35 +00:00
Robert Watson
fa27b75e0f Add more to the MAC Framework Kernel Architecture:
- Add Management Interfaces (sysctls, tunables, et al).
- Add Concurrency and Synchronization (busy count handling to synchronize
  policy loading).
- Add Policy Registration (management of active poliy lists).
- Flesh out Labeling Support to talk about label initialization and
  life cycles, allocation semantics.
- Add System Calls.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 21:00:56 +00:00
Robert Watson
8c1173c2f6 Spellcheck. 2003-04-20 18:10:58 +00:00
Robert Watson
96eb481cbd Resort and organize some sections:
- Move Userland Architecture down to the Userland APIs section.

- Push most of the Policy-related subsections into the MAC Policy
  Architecture section.  Tweak a little language so it makes
  sense.
2003-04-20 18:01:22 +00:00
Robert Watson
a7b83db368 Remove "MAC Framework" from a bunch of headings where it seems
redundant.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 17:27:14 +00:00
Robert Watson
be5924b944 Break out Policy Background from the Introduction.
Note that the MAC Framework can also be used to express DAC policies.

Push the MAC Framework Policy Elements section up a level to sect1 and
name it "MAC Policy Architecture".

Stick "MAC" in front of the Policy Entry Points section header to
improve consistency.
2003-04-20 17:09:56 +00:00
Robert Watson
f4d495b054 Some more structural changes for the MAC Framework chapter of the
Developer's Handbook: break out the "Entry Point Framework" section
into a number of sections: MAC Policy Declaration, Entry Point
Introduction, MAC Policy Entry Point Reference.  Re-order sections
a bit so there's a more logical progression and fewer large chunks
of text over many pages.  This greatly improves readability.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 05:48:12 +00:00
Robert Watson
93cbd61b9c Document the MPC_LOADTIME_FLAG_LABELMBUFS load-time policy flag and
its possible interactions with the MPC_LOADTIME_FLAG_NOTLATE flag.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 04:59:57 +00:00
Robert Watson
5656cc3abb Replace "There's nothing here yet" in the Userland API section of
the MAC Framework Chapter of the Developer's Handbook with a
cross-reference the the mac(3) man page for the time being.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 04:45:08 +00:00
Robert Watson
0bca361723 - Break out many of the paragraphs in the "Kernel Architecture" section
of the MAC Framework chapter of the Developer's Handbook into their
  own <sect2> sections.

- Re-order the Policy Elements sect2 to the end of the section since
  most of the remainder of the subsections talk about parts of the
  Framework, not module structure.

- Add text relating to the support for persistent labeling using
  extended attributes on supporting file systems.

- Add concurrency/synchronization primitives to the list of framework
  elements.

This section needs more work, and will probably grow sub-sections on
most of the major elements in the element list.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 04:32:55 +00:00
Robert Watson
2b6ca199ef GC a stray <sect3> from an earlier commit.
GC the sample policy modules section since there's nothing there yet.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 04:17:22 +00:00
Robert Watson
1d668180a6 Found the missing description of mpo_destroy_vnode_label(), it was in
the label management calls section.  GC the dup copy.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 04:12:11 +00:00
Robert Watson
bdfc29bc51 - Synchronize label initialization and destruction arguments: in some
cases, the object pointer was still present as an argument to
  label init/destroy calls, although it was removed in the source a
  while back.  In some cases, we've added blocking dispositions to
  initialization calls that previously didn't have them (ipq), so
  add that also.  Generally call 'how' 'flag' instead to match the
  prototypes in mac_policy.h.

- Add missing descriptions of mpo_destroy_vnode_label(), and the
  recently added mpo_copy_mbuf_label().

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 04:10:20 +00:00
Robert Watson
e51825dea9 Add two sub-sections to the MAC Framework userland architecture section
of the Developer's Handbook: text on the APIs to access and manipulate
labels on objects, and a brief description of how labels may currently
be set on users using login.conf.  This text could also use some more
work, but is probably an improvement over the previous lack of text.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 03:53:49 +00:00
Robert Watson
105124763b Flesh out the kernel architecture section of the MAC Framework
bits of the Developer's Handbook some.  Needs more work, but now
goes into a bit more detail.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-19 03:32:43 +00:00
Robert Watson
6304541cd0 Slightly flesh out the synopsis: this chapter is not just about MAC
policies, but more generally about a framework for access control
extension.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-19 00:56:54 +00:00
Robert Watson
4605a95479 Add a placeholder paragraph for the user architecture section, replacing
the "..." with a brief summary of what is to come.
2003-04-18 03:45:42 +00:00
Robert Watson
499253ef61 Apply a spell checker to the first few sections. 2003-04-18 02:25:24 +00:00
Chris Costello
db7a21561d Update the MAC policy ops entry point list and sort it.
Sponsored by:	DARPA, Network Associates Laboratories
Obtained from:	The TrustedBSD Project
2003-01-14 22:47:24 +00:00
Robert Watson
d5f12ddfea Add some filler text regarding MAC userland APIs until we have a table
in place.
2002-12-22 05:09:15 +00:00
Robert Watson
5959fcca17 Remove clause three of license.
Authorized by:	NETA
2002-12-22 04:37:00 +00:00
Ceri Davies
ac307bceb7 s/seperate/separate/ 2002-11-20 19:41:10 +00:00
Chris Costello
5c76844791 Change from a very article-esque chapter title to a more appropriate title
for the Developers' Handbook.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-10-22 00:48:30 +00:00
Robert Watson
6c33af52cd Expand the synopsis for the MAC framework a bit to include additional
information on what MAC is, how the MAC framework supports MAC policies
in FreeBSD, etc.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-19 13:58:00 +00:00
Robert Watson
93af0d314d Add ENOENT to the error precedence chart.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-19 13:42:17 +00:00
Robert Watson
ee7a6550ed Minor spelling tweak for discretionary. 2002-08-19 13:39:50 +00:00
Chris Costello
1c8ff53e4f Introduce support for Mandatory Access Control and extensible
kernel access control.

Document the kernel side of the MAC policy architecture.  This
is a little out of date at the moment.  Some parts to be filled
in as things are developed, and much is subject to change.  It
will, however, give developers a good idea of how things work.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-19 04:38:25 +00:00