From owner-cvs-all Mon Nov 4 18: 1:41 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2BB137B401; Mon, 4 Nov 2002 18:01:39 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71FAD43E6E; Mon, 4 Nov 2002 18:01:39 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gA51xumV059653; Mon, 4 Nov 2002 17:59:56 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gA51xuXv059652; Mon, 4 Nov 2002 17:59:56 -0800 (PST) Message-Id: <200211050159.gA51xuXv059652@repoman.freebsd.org> From: Robert Watson Date: Mon, 4 Nov 2002 17:59:56 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys imgact.h src/sys/kern imgact_elf.c imgact_shell.c kern_exec.c src/sys/compat/pecoff imgact_pecoff.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2002/11/04 17:59:56 PST Modified files: sys/sys imgact.h sys/kern imgact_elf.c imgact_shell.c kern_exec.c sys/compat/pecoff imgact_pecoff.c Log: Remove reference to struct execve_args from struct imgact, which describes an image activation instance. Instead, make use of the existing fname structure entry, and introduce two new entries, userspace_argv, and userspace_envv. With the addition of mac_execve(), this divorces the image structure from the specifics of the execve() system call, removes a redundant pointer, etc. No semantic change from current behavior, but it means that the structure doesn't depend on syscalls.master-generated includes. There seems to be some redundant initialization of imgact entries, which I have maintained, but which could probably use some cleaning up at some point. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.27 +2 -1 src/sys/compat/pecoff/imgact_pecoff.c 1.131 +2 -1 src/sys/kern/imgact_elf.c 1.24 +1 -1 src/sys/kern/imgact_shell.c 1.194 +39 -17 src/sys/kern/kern_exec.c 1.32 +2 -1 src/sys/sys/imgact.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message