Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 4.43 KB

2.md

File metadata and controls

58 lines (44 loc) · 4.43 KB

Team Name: 98102284-98170668

Student Name of member 1: 98102284 Student No. of member 1: Parsa Mohammadian

Student Name of member 2: 98170668 Student No. of member 2: Sara Azarnoush

  • Read Session Contents.

Section 2.3.1

  • syscalls-list

Section 2.3.2

  • running-code
  • The syscall runs successfully and returns the status code 0, which indicates success. So after that, a folder named testdir is created in the directory where we run the program.
  • __NR_mkdir is a macro associated with mkdir system call number. We saw it in unistd.h file. The __NR prefix is an abbreviation for the word number.
  • The syscall function invokes a requested system call. It takes the syscall number as the first parameter and syscall inputs as the rest of the paramters. It returns a long integer which indicates success on 0 and error on other numbers.

Section 2.3.3

  • code-2
  • running-code-2

Section 2.3.4

  • first-part-code

  • first-part-run

  • second-part-code

  • second-part-run

  • third-part-code

  • third-part-run

  • forth-part-code

  • forth-part-run

Section 2.3.5

  • Do 13 subtasks from 1 to 13 and add screenshots of each:

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    9. 9
    10. 10
    11. 11
    12. 12
    13. 13
  • hello-code

  • hello-run

  • adder-code

  • adder-run