projects
/
project
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd81bc
)
block.c: Add ability to mount with ACL and XATTR support
author
Daniel Dickinson
<
[email protected]
>
Sun, 22 May 2016 09:30:38 +0000
(
05:30
-0400)
committer
John Crispin
<
[email protected]
>
Thu, 19 May 2016 05:47:57 +0000
(07:47 +0200)
Some users will want to use OpenWrt/LEDE devices as NAS
devices and have full POSIX ACL and user_xattr support
(along with other possible use cases), therefore add
support to mount with POSIX ACLs and/or user XATTR
support.
Signed-off-by: Daniel Dickinson <
[email protected]
>
block.c
patch
|
blob
|
history
diff --git
a/block.c
b/block.c
index 397db0f7e709810a50a7c443af061523f413d393..13992f20ebbce0bccb0fb664188c6d2b3e9a3c81 100644
(file)
--- a/
block.c
+++ b/
block.c
@@
-170,6
+170,10
@@
static const struct mount_flag mount_flags[] = {
{ "relatime", MS_RELATIME },
{ "norelatime", ~MS_RELATIME },
{ "strictatime", MS_STRICTATIME },
+ { "acl", MS_POSIXACL },
+ { "noacl", ~MS_POSIXACL },
+ { "nouser_xattr", MS_NOUSER },
+ { "user_xattr", ~MS_NOUSER },
};
static char *blobmsg_get_strdup(struct blob_attr *attr)