From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id A17571FF15F for ; Mon, 2 Dec 2024 15:01:59 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id AFA3D19971; Mon, 2 Dec 2024 15:02:04 +0100 (CET) Date: Mon, 02 Dec 2024 15:01:57 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20241129142801.3334969-1-d.csapak@proxmox.com> <20241129142801.3334969-2-d.csapak@proxmox.com> In-Reply-To: <20241129142801.3334969-2-d.csapak@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1733148059.vmue2ssrq8.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.046 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pbs-devel] [PATCH proxmox v2 2/2] sys: open directories with O_CLOEXEC X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" b25lIHNtYWxsIG5pdCBpbmxpbmUsIG90aGVyd2lzZToKClJldmlld2VkLWJ5OiBGYWJpYW4gR3LD vG5iaWNobGVyIDxmLmdydWVuYmljaGxlckBwcm94bW94LmNvbT4KCk9uIE5vdmVtYmVyIDI5LCAy MDI0IDM6MjggcG0sIERvbWluaWsgQ3NhcGFrIHdyb3RlOgo+IHNvIHRoZXkgZG9uJ3QgbGluZ2Vy IGFyb3VuZCBpbiBjYXNlIG9mIGEgZGFlbW9uIHJlbG9hZC4KPiAKPiBTaWduZWQtb2ZmLWJ5OiBE b21pbmlrIENzYXBhayA8ZC5jc2FwYWtAcHJveG1veC5jb20+Cj4gLS0tCj4gbmV3IGluIHYyCj4g IHByb3htb3gtc3lzL3NyYy9mZC5ycyAgICAgfCAgMiArLQo+ICBwcm94bW94LXN5cy9zcmMvZnMv ZGlyLnJzIHwgMTUgKysrKysrKysrLS0tLS0tCj4gIDIgZmlsZXMgY2hhbmdlZCwgMTAgaW5zZXJ0 aW9ucygrKSwgNyBkZWxldGlvbnMoLSkKPiAKPiBkaWZmIC0tZ2l0IGEvcHJveG1veC1zeXMvc3Jj L2ZkLnJzIGIvcHJveG1veC1zeXMvc3JjL2ZkLnJzCj4gaW5kZXggOGQ4NWJkMmUuLjM4NmU0MjIy IDEwMDY0NAo+IC0tLSBhL3Byb3htb3gtc3lzL3NyYy9mZC5ycwo+ICsrKyBiL3Byb3htb3gtc3lz L3NyYy9mZC5ycwo+IEBAIC0yNCw3ICsyNCw3IEBAIHB1YiBmbiBjaGFuZ2VfY2xvZXhlYyhmZDog UmF3RmQsIG9uOiBib29sKSAtPiBSZXN1bHQ8KCksIGFueWhvdzo6RXJyb3I+IHs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