PERFORCE change 86951 for review

Robert Watson rwatson at FreeBSD.org
Sat Nov 19 04:30:00 PST 2005


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

Change 86951 by rwatson at rwatson_peppercorn on 2005/11/19 12:29:08

	Annotate two cases where additional argument auditing may be
	desired for process group and session identifier information.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/kern/kern_prot.c#5 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/kern/kern_prot.c#5 (text+ko) ====

@@ -351,6 +351,10 @@
 		newsess = NULL;
 	}
 
+	/*
+	 * XXXAUDIT: Audit the new session and process group ID's?
+	 */
+
 	sx_xunlock(&proctree_lock);
 
 	if (newpgrp != NULL)
@@ -396,6 +400,10 @@
 	if (uap->pgid < 0)
 		return (EINVAL);
 
+	/*
+	 * XXXAUDIT: Audit the joined process group ID?
+	 */
+
 	error = 0;
 
 	MALLOC(newpgrp, struct pgrp *, sizeof(struct pgrp), M_PGRP, M_WAITOK | M_ZERO);


More information about the p4-projects mailing list