summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setfmac
Commit message (Collapse)AuthorAgeFilesLines
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | 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)
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* An average consumer of fts(3) that avoids keeping pointers to oldyar2008-01-291-13/+7
| | | | | | | | 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
* fts_pathlen is now a size_t rather than an int so a cast is needed.jb2008-01-271-6/+6
| | | | | I'm not sure why warn() and err() string formatted variables need to be right-justified.
* Eliminate duplicate header files.kevlo2007-02-091-2/+0
|
* Remove unnecessary SRCS= where could be guessed directly by ourdelphij2005-01-271-1/+0
| | | | | | bsd.*.mk infrasture. Obtained from: ru
* WARNS?=6 cleanup for [gs]et[fp]mac:delphij2005-01-272-4/+4
| | | | | | | | | | | - 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)
* Sort sections.ru2005-01-181-9/+9
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Add "-q" argument to setfmac and setfsmac to allow the patient butrwatson2004-02-183-13/+27
| | | | exhausted reader not to see non-fatal warnings.
* Mostly fixed the SYNOPSIS.ru2003-05-311-12/+14
|
* style.Makefile(5)obrien2003-04-041-2/+1
|
* Add a sample specfile listing to FILES.chris2003-03-261-0/+8
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Break setfmac.8 into two actual man pages, and reword bits of thechris2003-03-133-66/+120
| | | | | | | setfsmac(8) documentation. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Cross-reference mac(4).chris2003-01-151-0/+1
| | | | Sponsored by: DARPA, Network Associates Laboratories
* Account for fts(3)'s FTS_SLNONE case for symbolic links which havegreen2002-12-121-0/+1
| | | | | | | | 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
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
* mdoc(7) police: Added the missing .Os call; it's not strictlyru2002-12-111-0/+1
| | | | | | | necessary nowadays, but is documented as "required", and may become so again in the future. Approved by: re
* mdoc(7) police: nit.ru2002-12-041-1/+1
| | | | Approved by: re
* Mdoc markup and language fixes.rwatson2002-12-032-9/+14
| | | | | | | Submitted by: ru Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Cast argument to (long), missed in prior pass.rwatson2002-12-021-1/+1
| | | | | Approved by: re Submitted by: marcel
* Fix 32-bit/64-bit bug in format string.rwatson2002-12-021-1/+1
| | | | | | Approved by: re Submitted by: marcel Pointy hat to: green
* Add support for -R for file relabel operations.rwatson2002-12-023-47/+508
| | | | | | | | | | | | 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
* In general, prefer WARNS to CFLAGS+=-Wall. Tend towards a morerwatson2002-12-011-2/+4
| | | | | | | BSD-esque Makefile style. Submitted by: obrien Approved by: re
* mdoc(7) police: sweep.ru2002-11-291-7/+6
|
* Introduce simple command line tools to manage MAC labels on processes andrwatson2002-10-233-0/+163
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
OpenPOWER on IntegriCloud