implement sys_join wrapper in sysproc.c