summaryrefslogtreecommitdiffstats
path: root/usr.sbin/getfmac/getfmac.c
Commit message (Collapse)AuthorAgeFilesLines
* WARNS?=6 cleanup for [gs]et[fp]mac:delphij2005-01-271-1/+1
| | | | | | | | | | | - 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)
* Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-221-2/+2
| | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
* Introduce simple command line tools to manage MAC labels on processes andrwatson2002-10-231-0/+116
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