History log of /freebsd-10.0-release/usr.sbin/setfmac/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


206622 14-Apr-2010 uqs

mdoc: order prologue macros consistently by Dd/Dt/Os

Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by: ru
Approved by: philip, ed (mentors)


201390 02-Jan-2010 ed

The last big commit: let usr.sbin/ use WARNS=6 by default.


175796 29-Jan-2008 yar

An average consumer of fts(3) that avoids keeping pointers to old
FTSENTs and uses only what fts_read() has just returned can rely
on fts_path being NUL-terminated. Under these conditions, a plain
vanilla "%s" format can be safely used to printf an fts_path.

OK'ed by: rwatson


175704 27-Jan-2008 jb

fts_pathlen is now a size_t rather than an int so a cast is needed.
I'm not sure why warn() and err() string formatted variables need
to be right-justified.


166582 09-Feb-2007 kevlo

Eliminate duplicate header files.


140909 27-Jan-2005 delphij

Remove unnecessary SRCS= where could be guessed directly by our
bsd.*.mk infrasture.

Obtained from: ru


140907 27-Jan-2005 delphij

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)


140442 18-Jan-2005 ru

Sort sections.


131500 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


125959 18-Feb-2004 rwatson

Add "-q" argument to setfmac and setfsmac to allow the patient but
exhausted reader not to see non-fatal warnings.


115483 31-May-2003 ru

Mostly fixed the SYNOPSIS.


113091 04-Apr-2003 obrien

style.Makefile(5)


112690 26-Mar-2003 chris

Add a sample specfile listing to FILES.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories


112208 13-Mar-2003 chris

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


109276 15-Jan-2003 chris

Cross-reference mac(4).

Sponsored by: DARPA, Network Associates Laboratories


107794 12-Dec-2002 green

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


107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


107744 11-Dec-2002 ru

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


107584 04-Dec-2002 ru

mdoc(7) police: nit.

Approved by: re


107550 03-Dec-2002 rwatson

Mdoc markup and language fixes.

Submitted by: ru
Approved by: re (jhb)
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories


107514 02-Dec-2002 rwatson

Cast argument to (long), missed in prior pass.

Approved by: re
Submitted by: marcel


107513 02-Dec-2002 rwatson

Fix 32-bit/64-bit bug in format string.

Approved by: re
Submitted by: marcel
Pointy hat to: green


107489 02-Dec-2002 rwatson

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


107473 01-Dec-2002 rwatson

In general, prefer WARNS to CFLAGS+=-Wall. Tend towards a more
BSD-esque Makefile style.

Submitted by: obrien
Approved by: re


107391 29-Nov-2002 ru

mdoc(7) police: sweep.


105756 23-Oct-2002 rwatson

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