The xv6 pstree project requires to add a new system call get…

The xv6 pstree project requires to add a new system call getprocs. In order to add the new system call getprocs, what C code changes need to be made to the following code fragment in xv6 syscall.c? extern int sys_chdir(void);extern int sys_close(void);…extern int sys_wait(void);extern int sys_write(void);extern int sys_uptime(void);static int (*syscalls    sys_fork,    sys_exit,…   sys_mknod,  sys_unlink,    sys_link,   sys_mkdir,   sys_clos,};voidsyscall(void){ int num; num = proc->tf->eax; if(num > 0 && num < NELEM(syscalls) && syscalls) {   proc->tf->eax = syscalls(); } else {   cprintf(“%d %s: unknown sys call %d\n”,           proc->pid, proc->name, num);   proc->tf->eax = -1; }}  

As discussed in this course, discuss how the US constitution…

As discussed in this course, discuss how the US constitution addressed one conflict/debate during drafting.  (explain what the conflict was, then discuss how it was addressed).   Rubric: (I cannot actually write on this rubric, this is for reference purposes). rubric proficient competent novice identify relevant conflict     2 pts    0 pts    0 pts explain the conflict    8 pts    4 pts    0 pts discuss how it was addressed     5     2     0 stays focused (avoids tangents)      3 pts     1.5      0      

Discuss two elements of the nature and process of voting/ele…

Discuss two elements of the nature and process of voting/elections that is different in other countries as compared to the US.  Please explain all relevant terms and concepts.  (as discussed in this course). rubric proficient competent novice identify relevant elements     4 pts    2 pts    0 pts explain them     10 pts    5 pts    0 pts discuss and apply them with enough depth of explanation    4     2     0