PERFORCE change 91401 for review

Robert Watson rwatson at FreeBSD.org
Wed Feb 8 19:23:06 GMT 2006


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

Change 91401 by rwatson at rwatson_peppercorn on 2006/02/08 19:22:46

	Initialize user process audit ID to AU_DEFAUDITID so that init and
	its pre-authentication children are covered by naflags.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#13 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#13 (text+ko) ====

@@ -1061,6 +1061,7 @@
 	    p->p_pid));
 	//printf("audit_proc_init: pid %d p_au %p\n", p->p_pid, p->p_au);
 	bzero(p->p_au, sizeof(*(p)->p_au));
+	p->p_au->ai_auid = AU_DEFAUDITID;
 }
 
 /* 
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