Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2009 17:08:25 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 167138 for review
Message-ID:  <200908091708.n79H8PXV044134@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=167138

Change 167138 by rwatson@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908091708.n79H8PXV044134>