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

Discuss two concepts explaining the value of justice in the…

Discuss two concepts explaining the value of justice in the US (as discussed in this course). Rubric: (I cannot actually write on this rubric, this is for reference purposes). rubric proficient competent novice identify relevant terms     4 pts    2 pts    0 pts explain and describe in adequate detail    10 pts    5 pts    0 pts stays focused (avoids tangents)     4 pts      2     0

Discuss political and economic liberty in the US (as discuss…

Discuss political and economic liberty in the US (as discussed in this course). Rubric: (I cannot actually write on this rubric, this is for reference purposes). rubric proficient competent novice identify relevant terms     4 pts    2 pts    0 pts explain and describe in adequate detail    10 pts    5 pts    0 pts stays focused (avoids tangents)     4 pts      2     0

Hypothetical: Amazon wanted to build a new warehouse in Cler…

Hypothetical: Amazon wanted to build a new warehouse in Clermont County.  To see how much support they would have for this from the public, they conducted a phone survey.  They asked the following questions: “Wouldn’t you like to see new job opportunities created in the area?” This was followed with: “Would you shop at Amazon.com more if you knew how much it was helping the area?”  The survey covered appropriate demographics, and had an appropriate sample size.  Just based on this information, discuss the problem with this as a poll. Focus on just one problem with the poll.  (identify the error, define the error, apply it to the facts of the scenario).  rubric proficient competent novice identify ONE relevant error     4 pts    2 pts    0 pts define the error    8 pts    4 pts    0 pts apply it to the facts of the scenario     6     3     0