Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 16:03:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277908] Capsicum filesystem extended attribute support is broken
Message-ID:  <bug-277908-227-gvcvBf06oh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277908-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277908-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277908

--- Comment #1 from Shawn Webb <shawn.webb@hardenedbsd.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277908-227-gvcvBf06oh>