From nobody Tue May 30 08:46:57 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QVmGq1KHtz4Y6sX for ; Tue, 30 May 2023 08:46:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QVmGq0JjKz3nDj for ; Tue, 30 May 2023 08:46:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685436419; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xqJzIrRLwnTfcZzA2lmF8+X1uOMQkHcAmdskKA0smI4=; b=wMIVU6AI+GqLtW499muwvFGaRtdeWUhrvoTBQwPi3/FEyxqkcaw4xxdQW7oV/cqf531ogZ ScCWFWE+c/jeQ5QtXqU7STDvP0aRThyNEu6MI+VKPl3CVpr4kIokXWVNHzQQ42141rCpM6 VszKp4QDWkhLi0FBQfWVxoTMShDphb5V1SEdkZSzkuezHP326om96MqN+ycbEZrPIhFf5D BwLicPyWfFciwOMjp79p87eStBGI/0kvyDnY3JFnBPGOUolYggzLwVh/jLlv8u/JwKpZDu 932Se2PQK30egrMGgAfnkCdtEqkD4Z28mHhgVgKnwCFZmc2/tvRa6IP9R7xxbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685436419; a=rsa-sha256; cv=none; b=AIcYAFfqlu4qBAdj9P4I1p1Xmsyuc9Hdkryv20ExfuQmxxy8QqbRSPFOCae57Hv2ZJb4XW PtgB8w2HFwf6n2zJ7ZkInsg9K7WkCH5WthwgL4ed4YwuvAretVLr9AOuTt78SjAOXQjpoB rNgir8jeCi/hyysn3FbrbmC3732G4zQu6x14iSGVuxX1rbO1GxgS1y4V6GAJDbEMonD7Aq 5xLydpoe4HoD9CKMl4lJhsoZ3L5MSEH7wQYYyCO6R90Y8tCZ17krTp12hjWPoP+bxcgncI uRHyZYCo+PEqcwHK/iDWKVaLF8B6b6ewaMLcWif3Aix5+eyAz9eIcT2Jqd8hOw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QVmGp6TWQzn11 for ; Tue, 30 May 2023 08:46:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34U8kw03098288 for ; Tue, 30 May 2023 08:46:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34U8kwl7098287 for bugs@FreeBSD.org; Tue, 30 May 2023 08:46:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271704] O_PATH and acl_get_fd_np doesn't work on FreeBSD 13(.2) and causes vfs_zfsacl in Samba to fail Date: Tue, 30 May 2023 08:46:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pen@lysator.liu.se X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271704 --- Comment #5 from Peter Eriksson --- Did a quick test with Samba and a FreeBSD 13.2-RELEASE kernel modified with= the fix for acl_get_fd and now I can create new directories and read the ACL of= it. But attempting to modify the ACL from a Windows 10 client fails with: > An error occured while applying security information to: >=20 > T:\}foo >=20 > The handle is invalid. As a test I modified the kernel a bit more and made similar changes to acl_set_fd and acl_delete_fd and now it works to update the ACL from the Windows client. So as the Samba code works today it looks like it needs to be update ACLs v= ia O_PATH-opened file descriptors. --=20 You are receiving this mail because: You are the assignee for the bug.=