PERFORCE change 134204 for review

Robert Watson rwatson at FreeBSD.org
Sun Jan 27 07:59:03 PST 2008


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

Change 134204 by rwatson at rwatson_freebsd_capabilities on 2008/01/27 15:58:19

	binvp should always be initialized as part of the normal run path,
	so don't NULL up front in order to catch the future introduction
	of cases where it isn't.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_exec.c#6 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_exec.c#6 (text+ko) ====

@@ -315,7 +315,7 @@
 	struct vnode *tracevp = NULL;
 	struct ucred *tracecred = NULL;
 #endif
-	struct vnode *textvp = NULL, *binvp = NULL;
+	struct vnode *textvp = NULL, *binvp;
 	int credential_changing;
 	int vfslocked;
 	int textset;


More information about the p4-projects mailing list