]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove reference to struct execve_args from struct imgact, which
authorRobert Watson <rwatson@FreeBSD.org>
Tue, 5 Nov 2002 01:59:56 +0000 (01:59 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Tue, 5 Nov 2002 01:59:56 +0000 (01:59 +0000)
commit450ffb44271dbe567126386a7517ad400926271d
treeae3d42ca3a43dfe5238a6503057532919bbbc2a3
parentf8d0815040816ac2b741e4974e151fe7712a4acf
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
sys/compat/pecoff/imgact_pecoff.c
sys/kern/imgact_elf.c
sys/kern/imgact_shell.c
sys/kern/kern_exec.c
sys/sys/imgact.h