LI Qing
29eed82a7e
Add support for the mode of fallocate
2021-09-01 19:24:22 +08:00
LI Qing
dc37995bf0
Add getdents support for procfs's inode
2021-08-03 20:40:07 +08:00
LI Qing
eb046d4241
Add O_TRUNC support in open syscall and rewrite the truncate test
2021-06-04 11:47:38 +08:00
Hui, Chunyang
f0fa35b004
Add errno info when return error in make test
2021-02-24 14:47:29 +08:00
LI Qing
0b51d83811
Add ProcFS
2021-01-20 12:42:00 +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
He Sun
221f5b78e8
Rewrite epoll implementation and the test
2020-04-02 17:43:24 +08:00
He Sun
65694815a4
Add eventfd file type and system call
2020-03-24 22:16:41 +08:00
LI Qing
61cf75e68b
Add readlink from /proc/self/fd/<fd> to get file paths
...
* Fix readlink from `/proc/self/exe` to get absolute path of the executable file
* Add readlink from`/proc/self/fd/<fd>` to get the file's real path
Note that for now we only support read links _statically_, meaning that even
if the file or any of its ancestors is moved after the file is opened, the
absolute paths obtained from the API does not change.
2020-01-23 04:40:54 +00:00
He Sun
2357f8ed1c
Refactor THROW_ERROR macro in tests
...
1. Rename the macro name as all uppercase letters
2. Rewrite the macro in `do { ... } while (0)` instead of `while (1) { ... }`
2019-11-28 11:10:23 +00:00
Tate, Hongliang Tian
e1e46c9935
Add clock_gettimeofday
2019-07-18 10:51:12 +00:00
Tate, Hongliang Tian
f0e7bae0d7
Works with a minimal version of Occlum's libc
2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
a4f37f8917
Use new name Occlum in code
2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
a66c55f95f
Add open, read, write and close
2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
4fbfe7bf0c
Add syscall getpid and wait4 (this latter one is fake)
2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
637e15f6c6
Add syscall spawn
2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
7671dbf470
Load and run a Hello World program
2019-02-16 16:23:30 +08:00