1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-23 16:36:18 +04:00
Commit Graph

35 Commits

Author SHA1 Message Date
WangRunji
b836b11792 reformat code using cargo fmt 2019-03-27 18:45:24 +08:00
Jiajie Chen
adb66167f8 Fix a potential racing in Condvar 2019-03-24 23:53:09 +08:00
Jiajie Chen
285ffc7618 Move absolute/relative path resolution to rcore-fs, implement dummy sys_fchown, sys_fchownat and sys_symlinkat 2019-03-24 18:25:13 +08:00
Jiajie Chen
556d263d8e Implement sys_openat and sys_renameat 2019-03-24 00:36:13 +08:00
Jiajie Chen
547baa9ecd Implement symlink following 2019-03-23 15:47:44 +08:00
WangRunji
5ddd5ece8d rename, simplify 2019-03-22 23:45:57 +08:00
WangRunji
17e644e54e unimportant changes 2019-03-18 00:18:03 +08:00
Jiajie Chen
8860f1e4a3 Implement mapping from riscv to x86_64 syscall numbering 2019-03-15 23:55:01 +08:00
Jiajie Chen
a4c1d1231b Use rust user shell instead of kernel shell and fix sys_exec 2019-03-14 20:51:30 +08:00
Jiajie Chen
af63d937d6 Add udp remote endpoint state 2019-03-12 13:38:20 +08:00
Jiajie Chen
b7aee438db Fix sys_kill and add killtest 2019-03-11 17:55:39 +08:00
Jiajie Chen
17c08ce26c Fix sys_exit/sys_exit_group deadlock 2019-03-11 17:19:00 +08:00
WangRunji
98b3b12c96 continue refactoring process 2019-03-11 01:06:44 +08:00
Jiajie Chen
8cb11b7aa8 Implement tid/pid/ppid separation 2019-03-10 15:23:15 +08:00
Jiajie Chen
6697861860 Add is_listening to TcpSocketState, support sys_poll for listen 2019-03-10 00:58:10 +08:00
WangRunji
84c12ae6e1 rename functions. ignore readonly in mmap to avoid page fault. 2019-03-09 15:55:00 +08:00
WangRunji
ab63c933c2 fix sys_nanosleep 2019-03-09 14:08:56 +08:00
WangRunji
491353acfd impl sys_futex. fix clear_child_tid for thread exit 2019-03-09 12:54:26 +08:00
WangRunji
84b2af3cdb refactor sys_close_internal to SocketWrapper::drop 2019-03-09 12:49:59 +08:00
WangRunji
dc55238989 fix sys_clone newtls 2019-03-09 00:47:02 +08:00
WangRunji
d51c52902d minimal impl sys_clone 2019-03-08 22:37:47 +08:00
WangRunji
c3563192b5 fix SysResult::Ok(isize -> usize) 2019-03-08 19:04:39 +08:00
WangRunji
fdc28724a3 fix sys_wait -1. update fs. 2019-03-08 15:54:03 +08:00
Jiajie Chen
35dad6853f Enable SSE and save FP registers in trapframe, implement sys_pread, sys_uname and sys_sched_getaffinity, support FIXED in mmap 2019-03-08 14:24:20 +08:00
Jiajie Chen
8809c6ca7f Improve sys_wait and replace CR with LF 2019-03-07 23:32:47 +08:00
Jiajie Chen
6e7dc9e349 Minor fixes around thread pool, writev, fs and implement gettid 2019-03-07 23:04:52 +08:00
Jiajie Chen
cca53536d1 Implement sys_pipe, fix sys_chdir, add dummy sys_setuid, and set an ephermal port when binding port 0 2019-03-07 19:31:46 +08:00
Jiajie Chen
a1576b12ad Fix dup2 socket ref count and sys_accept, close sockets on sys_exit 2019-03-07 14:55:31 +08:00
Jiajie Chen
c5aa5922bd Fix forking and sys_dup2, implement sys_getsockopt and update sys_exec 2019-03-07 14:21:26 +08:00
WangRunji
738554386b introduce VMError to simplify EFAULT error handling 2019-03-03 01:27:30 +08:00
WangRunji
a979b6b5ec impl sys_getppid. fix checking pointer for process syscalls 2019-03-02 19:09:39 +08:00
WangRunji
344a537684 fix SysError to match Linux error code 2019-02-28 10:59:52 +08:00
WangRunji
c7f9921e06 support TLS for musl. partial impl sys_exit_group. 2019-02-28 00:15:44 +08:00
WangRunji
08c8d89974 update SFS to new rcore-fs 2019-02-22 17:10:57 +08:00
WangRunji
d26a1bc617 split syscall mod 2019-02-22 14:10:24 +08:00