From owner-p4-projects Tue Oct 1 8:28: 6 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B509737B401; Tue, 1 Oct 2002 08:28:04 -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 1A88137B404 for ; Tue, 1 Oct 2002 08:28:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4DBC43E42 for ; Tue, 1 Oct 2002 08:28:03 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g91FS3Co057126 for ; Tue, 1 Oct 2002 08:28:03 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g91FS3lG057123 for perforce@freebsd.org; Tue, 1 Oct 2002 08:28:03 -0700 (PDT) Date: Tue, 1 Oct 2002 08:28:03 -0700 (PDT) Message-Id: <200210011528.g91FS3lG057123@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to cvance@tislabs.com using -f From: Chris Vance Subject: PERFORCE change 18470 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=18470 Change 18470 by cvance@cvance_laptop on 2002/10/01 08:27:33 Use extattr_set_link() instead of extattr_set_file(), now that it is supported. Affected files ... .. //depot/projects/trustedbsd/mac/sbin/sebsd_setfiles/setfiles.c#4 edit Differences ... ==== //depot/projects/trustedbsd/mac/sbin/sebsd_setfiles/setfiles.c#4 (text+ko) ==== @@ -172,7 +172,7 @@ * For now, skip it and over-write prior labels. */ - error = extattr_set_file(path, SEBSD_MAC_EXTATTR_NAMESPACE, + error = extattr_set_link(path, SEBSD_MAC_EXTATTR_NAMESPACE, SEBSD_MAC_EXTATTR_NAME, spec[idx].context, spec[idx].contextlen); if (error != spec[idx].contextlen) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message