From da74672bca68d227cdda903315893e969b4f48c1 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 1 Jan 2025 14:40:40 +0100 Subject: http: seccomp: Allow reading directories This is needed by OpenSSL. Closes: #1091351 --- methods/http.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'methods/http.cc') 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") -- cgit v1.2.3-70-g09d2