Date: Mon, 4 Nov 2002 17:59:56 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> 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 Message-ID: <200211050159.gA51xuXv059652@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211050159.gA51xuXv059652>
