Make smtp_queue_fs::scan_folder rely on openat like everywhere else #80
Labels
a:smtp-queue-fs
Area: in the smtp-queue-fs crate
c:easy
Complexity: easy
n:blocked
Needs: resolution of another issue
p:high
Prio: medium
t:bug
Type: bug
Milestone
It's currently the only place where we use a non-openat version, except when opening the initial directory. This means that there's a race condition if a directory is being replaced between queue creation and folder scan; and things probably will go quite wrong.
Blocked on BurntSushi/walkdir#136 that's been redirected to BurntSushi/walkdir#23 for initial openat support
The text was updated successfully, but these errors were encountered: