From owner-p4-projects Tue Nov 5 5:53:53 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 905C737B404; Tue, 5 Nov 2002 05:53:50 -0800 (PST) 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 1F6EE37B401 for ; Tue, 5 Nov 2002 05:53:50 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C92F343E42 for ; Tue, 5 Nov 2002 05:53:49 -0800 (PST) (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 gA5Dq4mV021286 for ; Tue, 5 Nov 2002 05:52:04 -0800 (PST) (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 gA5Dq35A021283 for perforce@freebsd.org; Tue, 5 Nov 2002 05:52:03 -0800 (PST) Date: Tue, 5 Nov 2002 05:52:03 -0800 (PST) Message-Id: <200211051352.gA5Dq35A021283@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 Subject: PERFORCE change 20684 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://perforce.freebsd.org/chv.cgi?CH=20684 Change 20684 by rwatson@rwatson_tislabs on 2002/11/05 05:51:52 Remove userspace_mac_p, since it's not consumed by anything, and we'd rather consumers made use of the vnode or cached vnode label. Affected files ... .. //depot/projects/trustedbsd/mac/sys/compat/pecoff/imgact_pecoff.c#17 edit .. //depot/projects/trustedbsd/mac/sys/kern/imgact_elf.c#20 edit .. //depot/projects/trustedbsd/mac/sys/kern/kern_exec.c#44 edit .. //depot/projects/trustedbsd/mac/sys/sys/imgact.h#16 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/compat/pecoff/imgact_pecoff.c#17 (text+ko) ==== @@ -365,7 +365,6 @@ imgp->proc = td->td_proc; imgp->userspace_argv = NULL; imgp->userspace_envv = NULL; - imgp->userspace_mac_p = NULL; imgp->attr = &attr; imgp->firstpage = NULL; ==== //depot/projects/trustedbsd/mac/sys/kern/imgact_elf.c#20 (text+ko) ==== @@ -516,7 +516,6 @@ imgp->proc = p; imgp->userspace_argv = NULL; imgp->userspace_envv = NULL; - imgp->userspace_mac_p = NULL; imgp->attr = attr; imgp->firstpage = NULL; imgp->image_header = (char *)kmem_alloc_wait(exec_map, PAGE_SIZE); ==== //depot/projects/trustedbsd/mac/sys/kern/kern_exec.c#44 (text+ko) ==== @@ -209,7 +209,6 @@ imgp->proc = p; imgp->userspace_argv = argv; imgp->userspace_envv = envv; - imgp->userspace_mac_p = mac_p; imgp->execlabel = NULL; imgp->attr = &attr; imgp->argc = imgp->envc = 0; ==== //depot/projects/trustedbsd/mac/sys/sys/imgact.h#16 (text+ko) ==== @@ -47,7 +47,6 @@ struct proc *proc; /* our process struct */ char **userspace_argv; /* system call argument */ char **userspace_envv; /* system call argument */ - struct mac *userspace_mac_p; /* system call argument */ struct label *execlabel; /* MAC label to compose transition with */ struct vnode *vp; /* pointer to vnode of file to exec */ struct vm_object *object; /* The vm object for this vp */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message