From owner-p4-projects Thu Aug 1 10: 9: 8 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 547A537B400; Thu, 1 Aug 2002 10:09:02 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD68137B405 for ; Thu, 1 Aug 2002 10:09:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A58343E4A for ; Thu, 1 Aug 2002 10:08:58 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g71H8wJU008309 for ; Thu, 1 Aug 2002 10:08:58 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g71H8wNR008306 for perforce@freebsd.org; Thu, 1 Aug 2002 10:08:58 -0700 (PDT) Date: Thu, 1 Aug 2002 10:08:58 -0700 (PDT) Message-Id: <200208011708.g71H8wNR008306@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to cvance@tislabs.com using -f From: Chris Vance Subject: PERFORCE change 15390 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15390 Change 15390 by cvance@cvance_laptop on 2002/08/01 10:08:27 Don't modify the label on files when the specs say <> Affected files ... .. //depot/projects/trustedbsd/mac/sbin/sebsd_setfiles/setfiles.c#2 edit Differences ... ==== //depot/projects/trustedbsd/mac/sbin/sebsd_setfiles/setfiles.c#2 (text+ko) ==== @@ -157,6 +157,13 @@ spec[idx].context); } + if (strcmp(spec[idx].context, "<>") == 0) { + printf("File %s matches spec <>, Not labeling it!\n", + path); + return; + } + + /* * TBD: Files can have hard links and be labeled multiple * times. To stop this from happening, we need to keep track To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message