From: David Quigley Date: Wed, 22 May 2013 16:50:36 +0000 (-0400) Subject: LSM: Add flags field to security_sb_set_mnt_opts for in kernel mount data. X-Git-Tag: v3.11-rc1~72^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=649f6e7718891fe7691e5084ce3fa623acba3129;p=pandora-kernel.git LSM: Add flags field to security_sb_set_mnt_opts for in kernel mount data. There is no way to differentiate if a text mount option is passed from user space or the kernel. A flags field is being added to the security_sb_set_mnt_opts hook to allow for in kernel security flags to be sent to the LSM for processing in addition to the text options received from mount. This patch also updated existing code to fix compilation errors. Acked-by: Eric Paris Acked-by: James Morris Signed-off-by: David P. Quigley 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