From nobody Sun Mar 24 04:51:50 2024 X-Original-To: fs@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 4V2NvW2R48z5Dyjn for ; Sun, 24 Mar 2024 04:51:51 +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 4V2NvV6LR3z440G for ; Sun, 24 Mar 2024 04:51:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711255910; a=rsa-sha256; cv=none; b=h1ZyHbWzYHHOXCcDpqL42bYS6eY2/zy1nbDIPepStM23jNiV94BS7Wqx6ZA5c7jFkXzCcQ E5UEAPdpLk3IbFcIdLa9Xh2NFiif2uda2BH2OeV8TJXajVX0va1jBCwqvX3mrcWVRqFyoR 4wwmoo4WzrO5wfdxykfa7x7ciZPsEknxOjbzKrTVNkdOf+/P51w0c00JOBtKvAK79+8H0G s1GezMlRl05haT3Xzm5w1O51icjiTzSScgKXS4BPtCrFKsFEh0GHc1ETxvF3SdNP46oUuE JKIA1Xd+MpZjWlP/CSt0f5+x5QrB4ngzIJUfs+rMxsRMW/NnPZ0FJS10iPYJiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711255910; 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=CCPuSqaSDzd3Sn16AkHiyHNBo87iqQFWgBahWwJ6umw=; b=uWGvQHfzyZNiW0ws+L40PBxZ2tFnhTt7ykQ/Bbfaf7VKyrWmQDeRxZRcIqtnFcBWhy65Sb pqlX20QEnvRrpbqnGgVCiHq4fOlalK91dMD9HrBmEXwXEhChu8zBTQOHC6tvV67YF2ur9M FHtWWFv5D6rZNFyUXJsgASG32l+2/Y6wmFrwVT/aLLzpJx3SV4YH9arTfJn4ezNEvr1zxi juGRqaX6SiAEMGN35bODYdiNWRlUW0Pd2DVUxA+ZBZUbOkZtCYpQEz0VhN7E4/clQioSB0 8+uEUJtRbJvxME8ev7+2nah3TFupKxnnPpVI3WGuhb75M1NR91uWUNCLNvo4Uw== 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 4V2NvV5yFHzJJb for ; Sun, 24 Mar 2024 04:51:50 +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 42O4poXg043976 for ; Sun, 24 Mar 2024 04:51:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42O4poBf043975 for fs@FreeBSD.org; Sun, 24 Mar 2024 04:51:50 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: fs@FreeBSD.org Subject: [Bug 277908] zfs: cannot lookup extended attributes in capability mode Date: Sun, 24 Mar 2024 04:51:50 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shawn.webb@hardenedbsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277908 --- Comment #4 from Shawn Webb --- (In reply to Alan Somers from comment #3) I wonder if this should have some Capsicum logic here. Perhaps only add the VN_OPEN_NOCAPCHECK flag if the process has entered Capabilities mode *and* = the file descriptor has the CAP_EXTATTR_GET capability? I'll take a closer look soon to see if I can enhance your patch with that logic. --=20 You are receiving this mail because: You are the assignee for the bug.=