mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-09 15:24:54 -04:00
fuse-overlayfs: accept nosuid,nodev,exec,noexec
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
de3727adb2
commit
130e0000e5
8
main.c
8
main.c
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user