udit the 'options' argument to wait4(2).

Approved by:	re (kib)
MFC after:	3 days
This commit is contained in:
Robert Watson 2009-07-01 12:36:10 +00:00
parent 505feb8f37
commit 2ef24dde7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=195235
2 changed files with 5 additions and 0 deletions

View File

@ -804,6 +804,7 @@ kern_wait(struct thread *td, pid_t pid, int *status, int options,
int error, nfound;
AUDIT_ARG_PID(pid);
AUDIT_ARG_VALUE(options);
q = td->td_proc;
if (pid == 0) {

View File

@ -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: