diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2020-01-19 15:26:26 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2020-01-19 15:32:20 +0100 |
| commit | eacce736ad2cedb0e65d15f5bd0abcee5405ec01 (patch) | |
| tree | 9bda7f8f4a637f272fa4f7551891607051d0c5e0 /src/lib.rs | |
| parent | fce987792548172c8e09d147d0500529aa7188f1 (diff) | |
Skip canonical path check when running chrooted
This works around musl's requirement of mounted /proc for
running realpath(3), which is used by std::path::Path.canonicalize().
See also: https://www.openwall.com/lists/musl/2019/10/08/1
The check is not required, as only files inside the chrooted directory
can be served.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions
