PERFORCE change 20663 for review

Robert Watson rwatson at freebsd.org
Mon Nov 4 21:19:58 GMT 2002


http://perforce.freebsd.org/chv.cgi?CH=20663

Change 20663 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list