From owner-p4-projects@FreeBSD.ORG Wed May 19 16:48:07 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C5AE216A4D0; Wed, 19 May 2004 16:48:06 -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 9F9CD16A4CE for ; Wed, 19 May 2004 16:48:06 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 989C543D41 for ; Wed, 19 May 2004 16:48:06 -0700 (PDT) (envelope-from cvance@nailabs.com) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4JNm6JQ011379 for ; Wed, 19 May 2004 16:48:06 -0700 (PDT) (envelope-from cvance@nailabs.com) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4JNm5VX011376 for perforce@freebsd.org; Wed, 19 May 2004 16:48:05 -0700 (PDT) (envelope-from cvance@nailabs.com) Date: Wed, 19 May 2004 16:48:05 -0700 (PDT) Message-Id: <200405192348.i4JNm5VX011376@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to cvance@nailabs.com using -f From: Chris Vance To: Perforce Change Reviews Subject: PERFORCE change 53086 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 23:48:07 -0000 http://perforce.freebsd.org/chv.cgi?CH=53086 Change 53086 by cvance@cvance_sony on 2004/05/19 16:47:52 On second thought, I should leave the thread argument in the cap_check_cred function until I can figure out why it was added in the first place. Affected files ... .. //depot/projects/trustedbsd/sebsd/sys/kern/kern_cap.c#5 edit .. //depot/projects/trustedbsd/sebsd/sys/sys/capability.h#4 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/sys/kern/kern_cap.c#5 (text+ko) ==== @@ -134,7 +134,8 @@ } int -cap_check_cred(struct ucred *cred, cap_value_t cap, int jailflags) +cap_check_cred(struct ucred *cred, struct thread *td, cap_value_t cap, + int jailflags) { int error; ==== //depot/projects/trustedbsd/sebsd/sys/sys/capability.h#4 (text+ko) ==== @@ -195,7 +195,8 @@ struct ucred; struct vnode; -int cap_check_cred(struct ucred *, cap_value_t, int jailflag); +int cap_check_cred(struct ucred *, struct thread *, cap_value_t, + int jailflag); int cap_check(struct thread *, cap_value_t); const char *capv_to_text(cap_value_t capv);