f2fs: support xattr security labels
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 3 Jun 2013 10:46:19 +0000 (19:46 +0900)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 26 Nov 2014 10:42:33 +0000 (18:42 +0800)
commit090748a40e8ce43386dd22ec5a33d34d0d411e72
treeb4b78669dd27df6a877378f93ed20c1c666e47df
parent48ec812dccb0df3f5406e9565b92b0e44107f74f
f2fs: support xattr security labels

This patch adds the support of security labels for f2fs, which will be used
by Linus Security Models (LSMs).

Quote from http://en.wikipedia.org/wiki/Linux_Security_Modules:
"Linux Security Modules (LSM) is a framework that allows the Linux kernel to
support a variety of computer security models while avoiding favoritism toward
any single security implementation. The framework is licensed under the terms of
the GNU General Public License and is standard part of the Linux kernel since
Linux 2.6. AppArmor, SELinux, Smack and TOMOYO Linux are the currently accepted
modules in the official kernel.".

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 8ae8f1627f39bae505b90cade50cd8a911b8bda6)
fs/f2fs/Kconfig
fs/f2fs/acl.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/xattr.c
fs/f2fs/xattr.h