mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor
leak when iterating over possible audit trail directories. This fix will be merged upstream in an identical form, but hasn't yet appeared in an OpenBSM release. Submitted by: guido Obtained from: TrustedBSD Project MFC after: 3 days
This commit is contained in:
parent
b4ef8be228
commit
3ee3cd17f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234034
@ -520,6 +520,7 @@ auditd_expire_trails(int (*warn_expired)(char *))
|
||||
}
|
||||
|
||||
}
|
||||
closedir(dirp);
|
||||
}
|
||||
|
||||
oldest_time = current_time - expire_age;
|
||||
|
Loading…
Reference in New Issue
Block a user