- 17 Mar, 2018 4 commits
-
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
From the manpage: If the nonblocking read() found no events to read, then it returns -1 with errno set to EAGAIN. In that case, we exit the loop. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
- 16 Mar, 2018 12 commits
-
-
Gabriel Krisman Bertazi authored
This can be done because of there are only 3 cases: - *at syscall: Either dfd is valid or path is absolute and DFD is ignored - !*at syscall & absolute path: dfd is ignored - !*at syscall & !absolute path: dfd defaults to AT_CWD and it behaves like a relative path on a !*at syscall. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
AT syscalls continue to work only with absolute paths. This will be fixed by next commits. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Move everything into a wrapper in preparation to work on rename(2). Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Should search_ci_path return -ENOENT, we can't assume the syscall would fail, since we might be doing a file creation. We could be smart and catch it from the syscall parameters, but let's not do that now. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
After the first element. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
We can do it, as long as we don't mess up POSIX. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
- 15 Mar, 2018 8 commits
-
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
event->len is not very accurate, so calculate with strlen. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Now that relocation logic is simpler and correct, we no longer a large initial sg index vector. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
- 14 Mar, 2018 1 commit
-
-
Gabriel Krisman Bertazi authored
This is done with libunistring. Since normalization is expensive, we try to do it only once and cache the result in a pointer stored inside unused fields of struct record. We identify if we already did the normalization for a specific record by flags in the unused bits of record->d_type. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
- 13 Mar, 2018 8 commits
-
-
Gabriel Krisman Bertazi authored
This allows us to verify two paths with one test. If the file was pre-created, the dcache record buffer will be filled. Otherwise, the dynamically created list will be tested. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
This will be reused by the dynamic delete code. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Dynamic unlinking, is what we are calling a file/directory unlink that occurs after the directory cache was built by libcasefold. This test tries to verify the cache was invalidated correctly. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Only directory dentries have valid ownership. The plan is to handle directory creation when element is removed from cache. Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
- 10 Mar, 2018 7 commits
-
-
Gabriel Krisman Bertazi authored
We might benefit from reducing the pathwalk in kernelspace Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
New syscalls supported: * futimesat Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
New syscalls supported: * setxattr * lsetxattr * getxattr * lgetxattr * listxattr * llistxattr * removexattr * lremovexattr Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
We don't actually care about fchown(2) because it handles fd instead of files, the one we actually care is chown(2). Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
New syscalls supported: * acct * chroot * readlink * swapon * swapoff * truncate * statfs * readlinkat Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-
Gabriel Krisman Bertazi authored
New syscalls supported: * mkdir * mkdirat * rmdir Signed-off-by:
Gabriel Krisman Bertazi <krisman@collabora.co.uk>
-