* Make checking of permission for other users more strict. Now
the same privilege is required for the mount owner as for ptrace
on the process performing the filesystem operation.
-
+
2005-04-23 Miklos Szeredi <miklos@szeredi.hu>
* Released 2.3-pre5
on unmount
* libfuse: add 'use_ino' option to help. Patch by Valient Gough
-
+
2005-02-07 Miklos Szeredi <miklos@szeredi.hu>
* Cleaned up directory reading (temporary file is not used)
* should use this.
*
* The filesystem may choose between two modes of operation:
- *
+ *
* 1) The readdir implementation ignores the offset parameter, and
* passes zero to the filler function's offset. The filler
* function will not return '1' (unless an error happens), so the
if (newlen > dh->needlen)
return 1;
}
-
+
newptr = realloc(dh->contents, newlen);
if (!newptr) {
dh->error = -ENOMEM;
if ((f->flags & FUSE_ALLOW_ROOT) && in->uid != f->owner && in->uid != 0 &&
in->opcode != FUSE_INIT && in->opcode != FUSE_READ &&
- in->opcode != FUSE_WRITE && in->opcode != FUSE_FSYNC &&
+ in->opcode != FUSE_WRITE && in->opcode != FUSE_FSYNC &&
in->opcode != FUSE_RELEASE && in->opcode != FUSE_READDIR &&
in->opcode != FUSE_FSYNCDIR && in->opcode != FUSE_RELEASEDIR) {
send_reply(f, in, -EACCES, NULL, 0);
for (node = f->id_table[i]; node != NULL; node = node->id_next) {
if (node->is_hidden) {
char *path = get_path(f, node->nodeid);
- if (path)
+ if (path) {
f->op.unlink(path);
+ free(path);
+ }
}
}
}