44 Commits (cf3fd0ec93995ac4aab3290cc183be4c7d92b558)

Author SHA1 Message Date
Jiajie Chen cf3fd0ec93 Fix ioctl numbers and sys_poll for mipsel
6 years ago
chyyuu 00685d9205 set 8MB user stack size, add more flags for sys_clone
6 years ago
WangRunji f74a3b8e8b by default: use busybox sh, disable log, build in release mode
6 years ago
WangRunji 520bb2d957 change args from Iter to Vec<String>
6 years ago
Jiajie Chen 0ff24fe589 Implement env support in sys_exec
6 years ago
chyyuu 56e472c8f8 fix bug: sys_exec should name as exec_path, then loader can find the exec file.
6 years ago
Jiajie Chen ff50a45396 Now ready to use busybox sh for user shell
6 years ago
Jiajie Chen b5f194d20f Fix get_ppid for init process
6 years ago
Jiajie Chen 8115256162 Check exec args
6 years ago
WangRunji b836b11792 reformat code using `cargo fmt`
6 years ago
Jiajie Chen adb66167f8 Fix a potential racing in Condvar
6 years ago
Jiajie Chen 285ffc7618 Move absolute/relative path resolution to rcore-fs, implement dummy sys_fchown, sys_fchownat and sys_symlinkat
6 years ago
Jiajie Chen 556d263d8e Implement sys_openat and sys_renameat
6 years ago
Jiajie Chen 547baa9ecd Implement symlink following
6 years ago
WangRunji 5ddd5ece8d rename, simplify
6 years ago
WangRunji 17e644e54e unimportant changes
6 years ago
Jiajie Chen 8860f1e4a3 Implement mapping from riscv to x86_64 syscall numbering
6 years ago
Jiajie Chen a4c1d1231b Use rust user shell instead of kernel shell and fix sys_exec
6 years ago
Jiajie Chen af63d937d6 Add udp remote endpoint state
6 years ago
Jiajie Chen b7aee438db Fix sys_kill and add killtest
6 years ago
Jiajie Chen 17c08ce26c Fix sys_exit/sys_exit_group deadlock
6 years ago
WangRunji 98b3b12c96 continue refactoring process
6 years ago
Jiajie Chen 8cb11b7aa8 Implement tid/pid/ppid separation
6 years ago
Jiajie Chen 6697861860 Add is_listening to TcpSocketState, support sys_poll for listen
6 years ago
WangRunji 84c12ae6e1 rename functions. ignore readonly in mmap to avoid page fault.
6 years ago
WangRunji ab63c933c2 fix sys_nanosleep
6 years ago
WangRunji 491353acfd impl sys_futex. fix clear_child_tid for thread exit
6 years ago
WangRunji 84b2af3cdb refactor sys_close_internal to SocketWrapper::drop
6 years ago
WangRunji dc55238989 fix sys_clone newtls
6 years ago
WangRunji d51c52902d minimal impl sys_clone
6 years ago
WangRunji c3563192b5 fix SysResult::Ok(isize -> usize)
6 years ago
WangRunji fdc28724a3 fix sys_wait -1. update fs.
6 years ago
Jiajie Chen 35dad6853f Enable SSE and save FP registers in trapframe, implement sys_pread, sys_uname and sys_sched_getaffinity, support FIXED in mmap
6 years ago
Jiajie Chen 8809c6ca7f Improve sys_wait and replace CR with LF
6 years ago
Jiajie Chen 6e7dc9e349 Minor fixes around thread pool, writev, fs and implement gettid
6 years ago
Jiajie Chen cca53536d1 Implement sys_pipe, fix sys_chdir, add dummy sys_setuid, and set an ephermal port when binding port 0
6 years ago
Jiajie Chen a1576b12ad Fix dup2 socket ref count and sys_accept, close sockets on sys_exit
6 years ago
Jiajie Chen c5aa5922bd Fix forking and sys_dup2, implement sys_getsockopt and update sys_exec
6 years ago
WangRunji 738554386b introduce VMError to simplify EFAULT error handling
6 years ago
WangRunji a979b6b5ec impl sys_getppid. fix checking pointer for process syscalls
6 years ago
WangRunji 344a537684 fix SysError to match Linux error code
6 years ago
WangRunji c7f9921e06 support TLS for musl. partial impl sys_exit_group.
6 years ago
WangRunji 08c8d89974 update SFS to new rcore-fs
6 years ago
WangRunji d26a1bc617 split syscall mod
6 years ago