PERFORCE change 85460 for review
Robert Watson
rwatson at FreeBSD.org
Mon Oct 17 19:33:54 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=85460
Change 85460 by rwatson at rwatson_peppercorn on 2005/10/17 19:32:52
Audit signal numbers for kill() and killpg() system calls.
More auditing to do here in terms of target processes.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/kern/kern_sig.c#6 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/kern/kern_sig.c#6 (text+ko) ====
@@ -74,6 +74,8 @@
#include <machine/cpu.h>
+#include <security/audit/audit.h>
+
#if defined (__alpha__) && !defined(COMPAT_43)
#error "You *really* need COMPAT_43 on the alpha for longjmp(3)"
#endif
@@ -1386,6 +1388,8 @@
register struct proc *p;
int error;
+ AUDIT_ARG(signum, uap->signum);
+
if ((u_int)uap->signum > _SIG_MAXSIG)
return (EINVAL);
@@ -1429,6 +1433,8 @@
register struct okillpg_args *uap;
{
+ AUDIT_ARG(signum, uap->signum);
+
if ((u_int)uap->signum > _SIG_MAXSIG)
return (EINVAL);
return (killpg1(td, uap->signum, uap->pgid, 0));
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