PERFORCE change 167138 for review

Robert Watson rwatson at FreeBSD.org
Sun Aug 9 17:08:27 UTC 2009


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

Change 167138 by rwatson at rwatson_cinnamon on 2009/08/09 17:07:26

	Continue fixing merge of new audit argument handling into
	trustedbsd_capabilities branch.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_sig.c#8 edit

Differences ...

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

@@ -1717,15 +1717,15 @@
 	struct proc *p;
 	int error;
 
-	AUDIT_ARG(signum, uap->signum);
-	AUDIT_ARG(fd, uap->fd);
+	AUDIT_ARG_SIGNUM(uap->signum);
+	AUDIT_ARG_FD(uap->fd);
 	if ((u_int)uap->signum > _SIG_MAXSIG)
 		return (EINVAL);
 
 	error = procdesc_find(td, uap->fd, CAP_PDKILL, &p);
 	if (error)
 		return (error);
-	AUDIT_ARG(process, p);
+	AUDIT_ARG_PROCESS(p);
 	error = p_cansignal(td, p, uap->signum);
 	if (error == 0 && uap->signum)
 		psignal(p, uap->signum);


More information about the p4-projects mailing list