All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex <alex@bpmit.com>
To: linux-btrfs@vger.kernel.org
Subject: SELinux inode size gotcha in btrfs.
Date: Mon, 27 Feb 2012 22:18:55 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120227T210703-631@post.gmane.org> (raw)

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


             reply	other threads:[~2012-02-27 22:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27 22:18 Alex [this message]
2012-02-27 23:09 ` SELinux inode size gotcha in btrfs Hugo Mills
2012-02-27 23:17 ` David Sterba
2012-02-28 11:30   ` Alex
2012-02-28 11:37     ` Hugo Mills

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20120227T210703-631@post.gmane.org \
    --to=alex@bpmit.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.