From: Jarkko Sakkinen Date: Wed, 21 Mar 2012 23:34:05 +0000 (-0700) Subject: tmpfs: security xattr setting on inode creation X-Git-Tag: v3.4-rc1~158^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d9d88d07e132259c35f9493b15429e19198489c;p=pandora-kernel.git tmpfs: security xattr setting on inode creation Adds to generic xattr support introduced in Linux 3.0 by implementing initxattrs callback. This enables consulting of security attributes from LSM and EVM when inode is created. [hughd@google.com: moved under CONFIG_TMPFS_XATTR, with memcpy in shmem_xattr_alloc] Signed-off-by: Jarkko Sakkinen Reviewed-by: James Morris Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed