summaryrefslogtreecommitdiffstats
path: root/sys/security/audit
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-07-01 12:36:10 +0000
committerrwatson <rwatson@FreeBSD.org>2009-07-01 12:36:10 +0000
commitdff449105c1ed908d176ecc7562c2045b9205732 (patch)
tree342a43847cdd297c6119e27a9ca253ff0433a571 /sys/security/audit
parent7efd755635cf3b7566887648a492de87f729bddc (diff)
downloadFreeBSD-src-dff449105c1ed908d176ecc7562c2045b9205732.zip
FreeBSD-src-dff449105c1ed908d176ecc7562c2045b9205732.tar.gz
udit the 'options' argument to wait4(2).
Approved by: re (kib) MFC after: 3 days
Diffstat (limited to 'sys/security/audit')
-rw-r--r--sys/security/audit/audit_bsm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c
index 80fbd74..ee92e16 100644
--- a/sys/security/audit/audit_bsm.c
+++ b/sys/security/audit/audit_bsm.c
@@ -1498,6 +1498,10 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau)
tok = au_to_arg32(0, "pid", ar->ar_arg_pid);
kau_write(rec, tok);
}
+ if (ARG_IS_VALID(kar, ARG_VALUE)) {
+ tok = au_to_arg32(0, "options", ar->ar_arg_value);
+ kau_write(rec, tok);
+ }
break;
case AUE_NULL:
OpenPOWER on IntegriCloud