From: David Quigley Date: Wed, 22 May 2013 16:50:35 +0000 (-0400) Subject: Security: Add Hook to test if the particular xattr is part of a MAC model. X-Git-Tag: v3.11-rc1~72^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=746df9b59c8a5f162c907796c7295d3c4c0d8995;p=pandora-kernel.git Security: Add Hook to test if the particular xattr is part of a MAC model. The interface to request security labels from user space is the xattr interface. When requesting the security label from an NFS server it is important to make sure the requested xattr actually is a MAC label. This allows us to make sure that we get the desired semantics from the attribute instead of something else such as capabilities or a time based LSM. Acked-by: Eric Paris Acked-by: James Morris Signed-off-by: Matthew N. Dodd Signed-off-by: Miguel Rodel Felipe Signed-off-by: Phua Eu Gene Signed-off-by: Khin Mi Mi Aung Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed