diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-09-23 12:30:31 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-09-23 12:30:31 +0000 |
commit | fae2ccfa41d5a181d178da8b59d06b7c3d775804 (patch) | |
tree | 78f27e65805d0dc6de2cda4ecdb967ebc9ec36a7 /usr.bin/id/Makefile | |
parent | dc343f5cbde16169ebf770753e74016941d32b88 (diff) | |
download | FreeBSD-src-fae2ccfa41d5a181d178da8b59d06b7c3d775804.zip FreeBSD-src-fae2ccfa41d5a181d178da8b59d06b7c3d775804.tar.gz |
Add a -a argument to id(1), which causes id(1) to print out process
audit properties, including the audit user id. This can be quite
helpful in debugging audit problems.
Obtained from: TrustedBSD Project
MFC after: 3 days
Diffstat (limited to 'usr.bin/id/Makefile')
-rw-r--r-- | usr.bin/id/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/id/Makefile b/usr.bin/id/Makefile index 7154568..96c162f 100644 --- a/usr.bin/id/Makefile +++ b/usr.bin/id/Makefile @@ -1,10 +1,18 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +.include <bsd.own.mk> + PROG= id WARNS?= 6 LINKS= ${BINDIR}/id ${BINDIR}/groups LINKS+= ${BINDIR}/id ${BINDIR}/whoami MAN= id.1 groups.1 whoami.1 +.if ${MK_AUDIT} != "no" +CFLAGS+= -DUSE_BSM_AUDIT +DPADD+= ${LIBBSM} +LDADD+= -lbsm +.endif + .include <bsd.prog.mk> |