fuse-overlayfs: accept nosuid,nodev,exec,noexec

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2019-02-18 20:03:38 +01:00
parent de3727adb2
commit 130e0000e5
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED

8
main.c
View File

@ -3664,6 +3664,14 @@ fuse_opt_proc (void *data, const char *arg, int key, struct fuse_args *outargs)
return 1;
if (strcmp (arg, "dev") == 0)
return 1;
if (strcmp (arg, "nosuid") == 0)
return 1;
if (strcmp (arg, "nodev") == 0)
return 1;
if (strcmp (arg, "exec") == 0)
return 1;
if (strcmp (arg, "noexec") == 0)
return 1;
if (key == FUSE_OPT_KEY_NONOPT)
{