mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155558
|
@ -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…
Reference in a new issue