diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-04-19 18:19:09 +0200 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-04-19 18:25:39 +0200 |
| commit | d4d34ea8b5257d6f0ddd40807a9b6b684df24811 (patch) | |
| tree | 3d8f8d2fa482f962115927e35673465f18aa14c5 /src/layout | |
| parent | cce00d49b0c2962a2e39c31f6b09863c1231c7d6 (diff) | |
| download | chawan-d4d34ea8b5257d6f0ddd40807a9b6b684df24811.tar.gz | |
http: fix sandbox violation in readFromStdin
glibc apparently calls fstat from fread, and we didn't allow it in
seccomp. So:
* allow fstat in the sandbox; no reason not to, and it seems too big of
a footgun to assume we never call fread
* use read(2) in http; no need for buffered i/o here
Diffstat (limited to 'src/layout')
0 files changed, 0 insertions, 0 deletions