mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-23 00:16:17 +04:00
add unimplemented syscalls: SYS_GETGROUPS, SYS_SETGROUPS. Now busybox:id can run.
This commit is contained in:
parent
56e472c8f8
commit
aa5d0028f0
@ -208,6 +208,14 @@ pub fn syscall(id: usize, args: [usize; 6], tf: &mut TrapFrame) -> isize {
|
|||||||
warn!("sys_getpgid is unimplemented");
|
warn!("sys_getpgid is unimplemented");
|
||||||
Ok(0)
|
Ok(0)
|
||||||
}
|
}
|
||||||
|
SYS_GETGROUPS=> {
|
||||||
|
warn!("sys_getgroups is unimplemented");
|
||||||
|
Ok(0)
|
||||||
|
}
|
||||||
|
SYS_SETGROUPS=> {
|
||||||
|
warn!("sys_setgroups is unimplemented");
|
||||||
|
Ok(0)
|
||||||
|
}
|
||||||
SYS_SIGALTSTACK => {
|
SYS_SIGALTSTACK => {
|
||||||
warn!("sys_sigaltstack is unimplemented");
|
warn!("sys_sigaltstack is unimplemented");
|
||||||
Ok(0)
|
Ok(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user