1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 08:06:17 +04:00

add unimplemented syscalls: SYS_GETGROUPS, SYS_SETGROUPS. Now busybox:id can run.

This commit is contained in:
chyyuu 2019-04-17 16:35:44 +08:00
parent 56e472c8f8
commit aa5d0028f0

View File

@ -208,6 +208,14 @@ pub fn syscall(id: usize, args: [usize; 6], tf: &mut TrapFrame) -> isize {
warn!("sys_getpgid is unimplemented");
Ok(0)
}
SYS_GETGROUPS=> {
warn!("sys_getgroups is unimplemented");
Ok(0)
}
SYS_SETGROUPS=> {
warn!("sys_setgroups is unimplemented");
Ok(0)
}
SYS_SIGALTSTACK => {
warn!("sys_sigaltstack is unimplemented");
Ok(0)