Date: Tue, 5 Nov 2002 05:52:03 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 20684 for review Message-ID: <200211051352.gA5Dq35A021283@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20684 Change 20684 by rwatson@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@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?200211051352.gA5Dq35A021283>