LI Qing
d7b994bc7d
Fix getdents cannot output all entries in a directory
2021-02-24 13:24:54 +08:00
LI Qing
22b02850a3
Add Glibc as an optional libc and fix test cases
2020-12-16 19:21:22 +08:00
LI Qing
9bf2a77e16
Add getdents syscall
2020-11-18 16:44:11 +08:00
LI Qing
292fc28340
Add "*at()" system calls
...
The syscalls implemented in this submission are as follows:
fchmodat, fchownat, linkat, mkdirat, renameat, readlinkat, unlinkat
2020-09-18 12:39:12 +08:00
Hui, Chunyang
5b695c9539
Format c/c++ files in src, tools and test
2020-05-27 07:09:18 +00:00
LI Qing
b610e5b8b8
Fix getdents when the next dir entry cannot fit into the output buffer
...
The output buffer given to getdents may not be large enough for the next directory
entry. If no directory entries has been loaded into the buffer, just return
EINVAL. Otherwise, return the total length of the directory entries already
loaded in the buffer
2020-01-23 04:40:54 +00:00
WangRunji
6e9f00b5db
fix process cwd. fix open path
2019-03-29 14:20:25 +08:00
WangRunji
011b4bf8e7
add test for readdir
2019-03-29 14:20:25 +08:00