From owner-p4-projects@FreeBSD.ORG Sun Jun 29 20:13:57 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3991837B404; Sun, 29 Jun 2003 20:13:57 -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 D9A3937B401 for ; Sun, 29 Jun 2003 20:13:56 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AD4C43FE0 for ; Sun, 29 Jun 2003 20:13:56 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5U3Du0U094073 for ; Sun, 29 Jun 2003 20:13:56 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5U3Dun9094067 for perforce@freebsd.org; Sun, 29 Jun 2003 20:13:56 -0700 (PDT) Date: Sun, 29 Jun 2003 20:13:56 -0700 (PDT) Message-Id: <200306300313.h5U3Dun9094067@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 33869 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: Mon, 30 Jun 2003 03:13:58 -0000 http://perforce.freebsd.org/chv.cgi?CH=33869 Change 33869 by rwatson@rwatson_powerbook on 2003/06/29 20:13:52 Some more thread -> uthread #ifdef out VM bits that we're not ready for Affected files ... .. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/mac.h#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/mac.h#2 (text+ko) ==== @@ -116,7 +116,7 @@ struct sockaddr; struct socket; struct pipe; -struct thread; +struct uthread; struct timespec; struct ucred; struct uio; @@ -230,7 +230,7 @@ struct label *interpvnodelabel, struct image_params *imgp); void mac_create_proc0(struct ucred *cred); void mac_create_proc1(struct ucred *cred); -void mac_thread_userret(struct thread *td); +void mac_thread_userret(struct uthread *td); /* Access control checks. */ int mac_check_bpfdesc_receive(struct bpf_d *bpf_d, struct ifnet *ifnet); @@ -339,7 +339,9 @@ struct mac *extmac); int mac_pipe_label_set(struct ucred *cred, struct pipe *pipe, struct label *label); +#if 0 void mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred); +#endif /* * Calls to help various file systems implement labeling functionality