linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SELinux inode size gotcha in btrfs.
@ 2012-02-27 22:18 Alex
  2012-02-27 23:09 ` Hugo Mills
  2012-02-27 23:17 ` David Sterba
  0 siblings, 2 replies; 5+ messages in thread
From: Alex @ 2012-02-27 22:18 UTC (permalink / raw)
  To: linux-btrfs

Hi All,


I've come across the 'gotcha' in XFS where the inode size defaults to 256 [1]
whereas for SELinux the attributes play better when you initialise it at
creation to 512.

>From my reading of the btrfs specs [2] it doesn't look like you'll get caught
with that as the inodes "will not contain embedded file data or extended
attribute data. These things are stored in other item types."

Have I read that right? I've seen xattr bugs patches etc but nothing that would
hit the SE Linux domain.




[1]
http://www.gentoo.org/proj/en/hardened/selinux/selinux-handbook.xml?part=2&chap=1
[2] http://btrfs.ipv5.de/index.php?title=Btrfs_design#Inodes


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-28 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 22:18 SELinux inode size gotcha in btrfs Alex
2012-02-27 23:09 ` Hugo Mills
2012-02-27 23:17 ` David Sterba
2012-02-28 11:30   ` Alex
2012-02-28 11:37     ` Hugo Mills

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).