From 6d9d88d07e132259c35f9493b15429e19198489c Mon Sep 17 00:00:00 2001 From: Jarkko Sakkinen Date: Wed, 21 Mar 2012 16:34:05 -0700 Subject: [PATCH] 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-format-patch failed