diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-01 14:40:40 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-01 14:41:50 +0100 |
| commit | da74672bca68d227cdda903315893e969b4f48c1 (patch) | |
| tree | 2c48a05582425e6b20a9d3e175b420a5f6956198 | |
| parent | 44c378faa2b56ebeae7473bec2afe7c283acec75 (diff) | |
http: seccomp: Allow reading directories
This is needed by OpenSSL.
Closes: #1091351
| -rw-r--r-- | methods/http.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc index 678ce3952..3574bcad5 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -1024,7 +1024,7 @@ BaseHttpMethod::DealWithHeadersResult HttpMethod::DealWithHeaders(FetchResult &R /*}}}*/ HttpMethod::HttpMethod(std::string &&pProg) : BaseHttpMethod(std::move(pProg), "1.2", Pipeline | SendConfig | SendURIEncoded) /*{{{*/ { - SeccompFlags = aptMethod::BASE | aptMethod::NETWORK; + SeccompFlags = aptMethod::BASE | aptMethod::NETWORK | aptMethod::DIRECTORY; auto addName = std::inserter(methodNames, methodNames.begin()); if (Binary != "http") |
