Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 13:19:58 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20663 for review
Message-ID:  <200211042119.gA4LJwfW034127@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211042119.gA4LJwfW034127>