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
@ -520,6 +520,7 @@ auditd_expire_trails(int (*warn_expired)(char *))
|
||||
}
|
||||
|
||||
}
|
||||
closedir(dirp);
|
||||
}
|
||||
|
||||
oldest_time = current_time - expire_age;
|
||||
|
Loading…
x
Reference in New Issue
Block a user