Commit Graph

21 Commits

Author SHA1 Message Date
delphij
5012fb1609 Remove unnecessary SRCS= where could be guessed directly by our
bsd.*.mk infrasture.

Obtained from:	ru
2005-01-27 14:52:47 +00:00
delphij
9f8c8a7844 WARNS?=6 cleanup for [gs]et[fp]mac:
- Constify structure members that should not be changed
	  during process.
	- Apply static where needed
	- signed/unsigned madness
	- Bump WARNS?= levels from 2 to 6

(this is a diff reduction for a subsequent commit against these
Makefile's)
2005-01-27 14:44:39 +00:00
ru
9a0f1e9891 Sort sections. 2005-01-18 20:02:45 +00:00
ru
485e003d41 Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rwatson
e33dec1793 Add "-q" argument to setfmac and setfsmac to allow the patient but
exhausted reader not to see non-fatal warnings.
2004-02-18 05:40:15 +00:00
ru
f5b2edd453 Mostly fixed the SYNOPSIS. 2003-05-31 18:42:18 +00:00
obrien
6709fe0c57 style.Makefile(5) 2003-04-04 17:49:21 +00:00
chris
d11cad201c Add a sample specfile listing to FILES.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-03-26 20:25:13 +00:00
chris
72f1aea029 Break setfmac.8 into two actual man pages, and reword bits of the
setfsmac(8) documentation.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-03-13 23:04:05 +00:00
chris
61e081b026 Cross-reference mac(4).
Sponsored by:	DARPA, Network Associates Laboratories
2003-01-15 03:09:01 +00:00
green
55f04b29f4 Account for fts(3)'s FTS_SLNONE case for symbolic links which have
a nonexistant target, in addition to the FTS_SL previously, so e.g.
setfmac -h sebsd/system_u:object_r:malloc_conf_t /etc/malloc.conf
succeeds.

Approved by:	re
2002-12-12 20:32:45 +00:00
ru
88d368906e Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
ru
abe7c94ab3 mdoc(7) police: Added the missing .Os call; it's not strictly
necessary nowadays, but is documented as "required", and may
become so again in the future.

Approved by:	re
2002-12-11 15:55:29 +00:00
ru
78f5a63df4 mdoc(7) police: nit.
Approved by:	re
2002-12-04 14:46:33 +00:00
rwatson
c3c414e725 Mdoc markup and language fixes.
Submitted by:	ru
Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-03 15:19:15 +00:00
rwatson
d3f59d1c6d Cast argument to (long), missed in prior pass.
Approved by:	re
Submitted by:	marcel
2002-12-02 13:26:16 +00:00
rwatson
cca17b4993 Fix 32-bit/64-bit bug in format string.
Approved by:	re
Submitted by:	marcel
Pointy hat to:	green
2002-12-02 13:25:01 +00:00
rwatson
2436d5b73d Add support for -R for file relabel operations.
Add 'setfsmac' link, which permits labels to be provided in a label
specification file, making it easier to provide initial file system
labeling specifications.  This is used by the new mac_lomac to
provide initial system labeling and policy, and by sebsd, the port
of SELinux FLASK/TE to FreeBSD.

Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-02 03:22:57 +00:00
rwatson
e65022bc28 In general, prefer WARNS to CFLAGS+=-Wall. Tend towards a more
BSD-esque Makefile style.

Submitted by:	obrien
Approved by:	re
2002-12-01 23:10:28 +00:00
ru
f457bce1a0 mdoc(7) police: sweep. 2002-11-29 16:42:23 +00:00
rwatson
fa51007874 Introduce simple command line tools to manage MAC labels on processes and
files.  Basically wrappers for mac_{get,set}_{file,link,pid,proc}(3).
Man pages to be updated shortly.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:15:24 +00:00