trapexit
7 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
201 additions and
196 deletions
-
libfuse/util/mount.mergerfs.c
|
|
|
@ -148,17 +148,22 @@ int main(int argc, char *argv[]) |
|
|
|
|
|
|
|
opts = xstrdup(argv[i]); |
|
|
|
opt = strtok(opts, ","); |
|
|
|
while (opt) { |
|
|
|
while (opt) |
|
|
|
{ |
|
|
|
int j; |
|
|
|
int ignore = 0; |
|
|
|
const char *ignore_opts[] = { "", |
|
|
|
const char *ignore_opts[] = |
|
|
|
{ |
|
|
|
"", |
|
|
|
"nofail", |
|
|
|
"user", |
|
|
|
"nouser", |
|
|
|
"users", |
|
|
|
"auto", |
|
|
|
"noauto", |
|
|
|
"_netdev", |
|
|
|
NULL}; |
|
|
|
NULL |
|
|
|
}; |
|
|
|
if (strncmp(opt, "setuid=", 7) == 0) { |
|
|
|
setuid = xstrdup(opt + 7); |
|
|
|
ignore = 1; |
|
|
|
|