From a20ce31a589e9e23445a90849727252ecd52ce91 Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 24 Oct 2002 00:07:30 +0000 Subject: Teach "ls -Z" to use the policy-agnostic MAC label interfaces rather than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, when ls is used with the -l argument. Next generation LOMAC will use the MAC Framework so should "just" work with this and other policies. Not the prettiest code in the world, but then, neither is ls(1). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories --- libexec/ftpd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/ftpd') diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index c84b38e..0a3ffc5 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -20,7 +20,7 @@ LDADD+= -lopie LSDIR= ../../bin/ls .PATH: ${.CURDIR}/${LSDIR} -SRCS+= ls.c cmp.c lomac.c print.c util.c +SRCS+= ls.c cmp.c print.c util.c CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} DPADD+= ${LIBM} LDADD+= -lm -- cgit v1.1