From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yong Subject: [RFC PATCH v2 3/3] UBIFS: ACL: add ACL config option Date: Sun, 6 Sep 2015 17:40:21 +0000 Message-ID: <1441561221-18899-4-git-send-email-shengyong1@huawei.com> References: <1441561221-18899-1-git-send-email-shengyong1@huawei.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , To: , , Return-path: Received: from szxga01-in.huawei.com ([58.251.152.64]:60117 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbbIFJwd (ORCPT ); Sun, 6 Sep 2015 05:52:33 -0400 In-Reply-To: <1441561221-18899-1-git-send-email-shengyong1@huawei.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Add CONFIG_UBIFS_FS_POSIX_ACL to select ACL for UBIFS. Signed-off-by: Sheng Yong --- fs/ubifs/Kconfig | 11 +++++++++++ fs/ubifs/Makefile | 1 + 2 files changed, 12 insertions(+) diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig index ba66d50..3ca8e8d 100644 --- a/fs/ubifs/Kconfig +++ b/fs/ubifs/Kconfig @@ -35,3 +35,14 @@ config UBIFS_FS_ZLIB default y help Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. + +config UBIFS_FS_POSIX_ACL + bool "UBIFS POSIX Access Control Lists" + depends on UBIFS_FS + select FS_POSIX_ACL + help + Posix Access Control Lists (ACLs) support permissions for users and + groups beyond the owner/group/world scheme. + + To learn more about Access Control Lists, visit the Posix ACLs for + Linux website . diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile index 2c6f0cb..ab8aea5 100644 --- a/fs/ubifs/Makefile +++ b/fs/ubifs/Makefile @@ -4,3 +4,4 @@ ubifs-y += shrinker.o journal.o file.o dir.o super.o sb.o io.o ubifs-y += tnc.o master.o scan.o replay.o log.o commit.o gc.o orphan.o ubifs-y += budget.o find.o tnc_commit.o compress.o lpt.o lprops.o ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o xattr.o debug.o +ubifs-$(CONFIG_UBIFS_FS_POSIX_ACL) += acl.o -- 1.9.1