Initialize user process audit ID to AU_DEFAUDITID so that init and
its pre-authentication children are covered by naflags. Obtained from: TrustedBSD Project
This commit is contained in:
parent
478ea42db6
commit
ba7f6690f1
@ -1059,6 +1059,7 @@ audit_proc_init(struct proc *p)
|
||||
p->p_pid));
|
||||
//printf("audit_proc_init: pid %d p_au %p\n", p->p_pid, p->p_au);
|
||||
bzero(p->p_au, sizeof(*(p)->p_au));
|
||||
p->p_au->ai_auid = AU_DEFAUDITID;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user