From owner-p4-projects Mon Nov 4 13:21:44 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 91CF537B404; Mon, 4 Nov 2002 13:21:41 -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 2C51037B401 for ; Mon, 4 Nov 2002 13:21:41 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCE6A43E3B for ; Mon, 4 Nov 2002 13:21:40 -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 gA4LJwmV034130 for ; Mon, 4 Nov 2002 13:19:58 -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 gA4LJwfW034127 for perforce@freebsd.org; Mon, 4 Nov 2002 13:19:58 -0800 (PST) Date: Mon, 4 Nov 2002 13:19:58 -0800 (PST) Message-Id: <200211042119.gA4LJwfW034127@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 20663 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=20663 Change 20663 by rwatson@rwatson_tislabs on 2002/11/04 13:18:57 We already have fname in the imgact structure, so remove redundant userspace_fname pointer. Affected files ... .. //depot/projects/trustedbsd/mac/sys/compat/pecoff/imgact_pecoff.c#16 edit .. //depot/projects/trustedbsd/mac/sys/kern/imgact_elf.c#19 edit .. //depot/projects/trustedbsd/mac/sys/kern/imgact_shell.c#6 edit .. //depot/projects/trustedbsd/mac/sys/kern/kern_exec.c#43 edit .. //depot/projects/trustedbsd/mac/sys/sys/imgact.h#15 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/compat/pecoff/imgact_pecoff.c#16 (text+ko) ==== @@ -363,7 +363,6 @@ * Initialize part of the common data */ imgp->proc = td->td_proc; - imgp->userspace_fname = NULL; imgp->userspace_argv = NULL; imgp->userspace_envv = NULL; imgp->userspace_mac_p = NULL; ==== //depot/projects/trustedbsd/mac/sys/kern/imgact_elf.c#19 (text+ko) ==== @@ -514,7 +514,6 @@ * Initialize part of the common data */ imgp->proc = p; - imgp->userspace_fname = NULL; imgp->userspace_argv = NULL; imgp->userspace_envv = NULL; imgp->userspace_mac_p = NULL; ==== //depot/projects/trustedbsd/mac/sys/kern/imgact_shell.c#6 (text+ko) ==== @@ -120,7 +120,7 @@ } } - imgp->argv0 = imgp->userspace_fname; + imgp->argv0 = imgp->fname; return(0); } ==== //depot/projects/trustedbsd/mac/sys/kern/kern_exec.c#43 (text+ko) ==== @@ -207,7 +207,6 @@ * Initialize part of the common data */ imgp->proc = p; - imgp->userspace_fname = fname; imgp->userspace_argv = argv; imgp->userspace_envv = envv; imgp->userspace_mac_p = mac_p; ==== //depot/projects/trustedbsd/mac/sys/sys/imgact.h#15 (text+ko) ==== @@ -45,7 +45,6 @@ struct image_params { struct proc *proc; /* our process struct */ - char *userspace_fname; /* system call argument */ char **userspace_argv; /* system call argument */ char **userspace_envv; /* system call argument */ struct mac *userspace_mac_p; /* system call argument */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message