From nobody Sat Mar 23 16:03:31 2024 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 4V23rz6v3Dz5FKRy for ; Sat, 23 Mar 2024 16:03:31 +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 4V23rz3LKKz4kn9 for ; Sat, 23 Mar 2024 16:03:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711209811; a=rsa-sha256; cv=none; b=Oe0QJIMo11HCd5F6/VkRN3jHqFXLy3ezSXWipjAt2g0Qh8Gobi1gHXmsHN2GrRU9VtJsZW vVPFRV07KEPAzTEZxBv6PiGmpR71E0KYshXP+Io9qQeJDvJFIgQi5AsKuU4k9avPpVwnla LJh52XSa7pc9oKdTd4CdjFn/L8ScO1D45snjcvWQ2fbCAZrBHXHsjpebF0zcZiRO7+3ft5 0heXgcvhuHvpQ5leeQpZ4f+uWeg8JqKaNEr/Rk8nEPOsTzVLBC8i+Xyvn49DSssglv2Eq0 /PfRHzvHniN2eYBguKWSHEnHqskP4oClQsUlnHR2qAGMFQX/3DLTwAhGuLvgHw== 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=1711209811; 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=2LK0IiBCaxboRSQhD6LSSAGaduijHHrzFl+WoUieemg=; b=mOiIYwKt2C4AKNlICei51+iD5Cf2mxOg+cPweWdfrjSa9g0dlapRSw7GCuJVDvVJhB4edw 6oGJ639v8CmmxK3JqCVQvwkw+YYLzpFxXhzcSESuoFft9DPhwX/Yx1Fz80fXOf5tlfh9G4 197XuhVHG6taERgDedAg45wUqBa36FEQcoj8Wncluk81ZyNf3TPq6cAwqa4QMeG8qv5ZxA zxI5i0HWF6gGorOg3uKpPg8BC2Mg1oYdLhhFK7XOKu3lqOYMmtc99zCy3KiA9W/5l7SIP2 xYP0X4eCKQ1c2j36yR+dEgPzCYUt70wdiPNhTX3jUtQWOTq55d5SZrxNwKsWaw== 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 4V23rz2sslzvqk for ; Sat, 23 Mar 2024 16:03:31 +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 42NG3V7k095088 for ; Sat, 23 Mar 2024 16:03:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42NG3Vrb095087 for bugs@FreeBSD.org; Sat, 23 Mar 2024 16:03:31 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 277908] Capsicum filesystem extended attribute support is broken Date: Sat, 23 Mar 2024 16:03:31 +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: New 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277908 --- Comment #1 from Shawn Webb --- The example code does indeed work on UFS, so ZFS is the culprit: freebsd-01[shawn]:/home/shawn/projects/broken-capsicum/extattr (1) $ sudo mdconfig -a -t swap -s 500m md0 freebsd-01[shawn]:/home/shawn/projects/broken-capsicum/extattr $ sudo newfs= md0 /dev/md0: 500.0MB (1024000 sectors) block size 32768, fragment size 4096 using 4 cylinder groups of 125.03MB, 4001 blks, 16128 inodes. super-block backups (for fsck_ffs -b #) at: 192, 256256, 512320, 768384 freebsd-01[shawn]:/home/shawn/projects/broken-capsicum/extattr $ sudo mount /dev/md0 /mnt freebsd-01[shawn]:/home/shawn/projects/broken-capsicum/extattr $ sudo touch /mnt/blah freebsd-01[shawn]:/home/shawn/projects/broken-capsicum/extattr $ sudo setextattr system test-01 asdf /mnt/blah freebsd-01[shawn]:/home/shawn/projects/broken-capsicum/extattr $ sudo obj/extattr /mnt/blah --=20 You are receiving this mail because: You are the assignee for the bug.=