summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-01-01 14:03:43 +0000
committerJulian Andres Klode <jak@debian.org>2025-01-01 14:03:43 +0000
commit32ff6f5f9de768536197ec803a7d0676512105e5 (patch)
tree706236cc7270e5503b550d35cb42662435ae4909 /methods/http.cc
parentfe62a927df48d5cdff591edf80cd7a25beeb9573 (diff)
parentda74672bca68d227cdda903315893e969b4f48c1 (diff)
Merge branch 'openssl-directory' into 'main'
http: seccomp: Allow reading directories See merge request apt-team/apt!421
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc2
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")