From owner-cvs-all Wed Oct 23 17: 8:13 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B5C337B401; Wed, 23 Oct 2002 17:08:12 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0A4B43E4A; Wed, 23 Oct 2002 17:08:11 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9O07UmV046344; Wed, 23 Oct 2002 17:07:30 -0700 (PDT) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9O07Uka046343; Wed, 23 Oct 2002 17:07:30 -0700 (PDT) Message-Id: <200210240007.g9O07Uka046343@repoman.freebsd.org> From: Robert Watson Date: Wed, 23 Oct 2002 17:07:30 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ls Makefile lomac.c lomac.h ls.1 ls.c ls.h print.c src/libexec/ftpd Makefile X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2002/10/23 17:07:30 PDT Modified files: bin/ls Makefile ls.1 ls.c ls.h print.c libexec/ftpd Makefile Removed files: bin/ls lomac.c lomac.h Log: 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 Revision Changes Path 1.24 +1 -1 src/bin/ls/Makefile 1.10 +0 -155 src/bin/ls/lomac.c (dead) 1.4 +0 -40 src/bin/ls/lomac.h (dead) 1.70 +2 -8 src/bin/ls/ls.1 1.68 +61 -29 src/bin/ls/ls.c 1.19 +3 -3 src/bin/ls/ls.h 1.61 +2 -2 src/bin/ls/print.c 1.51 +1 -1 src/libexec/ftpd/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message