Commit Graph

10 Commits

Author SHA1 Message Date
Xin LI
c49d3c9bac Remove unnecessary SRCS= where could be guessed directly by our
bsd.*.mk infrasture.

Obtained from:	ru
2005-01-27 14:52:47 +00:00
Xin LI
3e7cb94c9c 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
Peter Grehan
5cfe0423e6 Userland signed char fixes for PPC build. Problems were using a char
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
2004-01-22 07:23:36 +00:00
Chris Costello
e44ed48582 sigh... revert the previous change; this isn't getpmac
Pointy hat:	chris
2003-01-15 03:13:51 +00:00
Chris Costello
450e96847a Cross-reference the appropriate mac library functions.
Sponsored by:	DARPA, Network Associates Laboratories
2003-01-15 03:13:50 +00:00
Chris Costello
f42021e7d1 Cross-reference mac(4).
Sponsored by:	DARPA, Network Associates Laboratories
2003-01-15 03:09:01 +00:00
Ruslan Ermilov
051bb54bd3 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
Robert Watson
6a2c7d1a77 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
Ruslan Ermilov
92b1f2f7a3 mdoc(7) police: sweep. 2002-11-29 16:42:23 +00:00
Robert Watson
5b38a427c0 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