add unimplemented syscalls: SYS_GETGROUPS, SYS_SETGROUPS. Now busybox:id can run.
@@ -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)
