PERFORCE change 20684 for review

Robert Watson rwatson at freebsd.org
Tue Nov 5 13:52:03 GMT 2002


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

Change 20684 by rwatson at rwatson_tislabs on 2002/11/05 05:51:52

	Remove userspace_mac_p, since it's not consumed by anything,
	and we'd rather consumers made use of the vnode or cached
	vnode label.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/compat/pecoff/imgact_pecoff.c#17 edit
.. //depot/projects/trustedbsd/mac/sys/kern/imgact_elf.c#20 edit
.. //depot/projects/trustedbsd/mac/sys/kern/kern_exec.c#44 edit
.. //depot/projects/trustedbsd/mac/sys/sys/imgact.h#16 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/compat/pecoff/imgact_pecoff.c#17 (text+ko) ====

@@ -365,7 +365,6 @@
 	imgp->proc = td->td_proc;
 	imgp->userspace_argv = NULL;
 	imgp->userspace_envv = NULL;
-	imgp->userspace_mac_p = NULL;
 	imgp->attr = &attr;
 	imgp->firstpage = NULL;
 

==== //depot/projects/trustedbsd/mac/sys/kern/imgact_elf.c#20 (text+ko) ====

@@ -516,7 +516,6 @@
 	imgp->proc = p;
 	imgp->userspace_argv = NULL;
 	imgp->userspace_envv = NULL;
-	imgp->userspace_mac_p = NULL;
 	imgp->attr = attr;
 	imgp->firstpage = NULL;
 	imgp->image_header = (char *)kmem_alloc_wait(exec_map, PAGE_SIZE);

==== //depot/projects/trustedbsd/mac/sys/kern/kern_exec.c#44 (text+ko) ====

@@ -209,7 +209,6 @@
 	imgp->proc = p;
 	imgp->userspace_argv = argv;
 	imgp->userspace_envv = envv;
-	imgp->userspace_mac_p = mac_p;
 	imgp->execlabel = NULL;
 	imgp->attr = &attr;
 	imgp->argc = imgp->envc = 0;

==== //depot/projects/trustedbsd/mac/sys/sys/imgact.h#16 (text+ko) ====

@@ -47,7 +47,6 @@
 	struct proc *proc;	/* our process struct */
 	char **userspace_argv;	/* system call argument */
 	char **userspace_envv;	/* system call argument */
-	struct mac *userspace_mac_p;	/* system call argument */
 	struct label *execlabel; /* MAC label to compose transition with */
 	struct vnode *vp;	/* pointer to vnode of file to exec */
 	struct vm_object *object;	/* The vm object for this vp */
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