]> asedeno.scripts.mit.edu Git - linux.git/commit
ubifs: Add CONFIG_UBIFS_FS_SECURITY to disable/enable security labels
authorHyunchul Lee <cheol.lee@lge.com>
Fri, 3 Mar 2017 07:44:03 +0000 (16:44 +0900)
committerRichard Weinberger <richard@nod.at>
Mon, 8 May 2017 18:48:23 +0000 (20:48 +0200)
commit8326c1eec2449f0e868f7b19a5fa7bfa0386ab48
tree6e960532202962d3b1cda2ce0a8e6a0737518eb5
parent997d30cb7490eb1ac37a3fb02a222fabf1f25fa9
ubifs: Add CONFIG_UBIFS_FS_SECURITY to disable/enable security labels

When write syscall is called, every time security label is searched to
determine that file's privileges should be changed.
If LSM(Linux Security Model) is not used, this is useless.

So introduce CONFIG_UBIFS_SECURITY to disable security labels. it's default
value is "y".

Signed-off-by: Hyunchul Lee <cheol.lee@lge.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/Kconfig
fs/ubifs/ubifs.h
fs/ubifs/xattr.c