https://github.com/davidwang200099/CS356-Project1
https://github.com/davidwang200099/CS356-Project1
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidwang200099/CS356-Project1
- Owner: davidwang200099
- Created: 2020-04-19T04:05:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-11T03:55:13.000Z (almost 5 years ago)
- Last Synced: 2024-11-07T12:43:53.780Z (8 months ago)
- Language: C
- Size: 705 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cs - @davidwang200099, 2020 Spring
README
# Project One of Operating System Projects
This project is composed of 4 subproblems. Each question requires one source file in this repo.For more information, please read "CS356-Project1.pdf" and "CS356prj1.pdf".
## Problem One: Adding a System Call to discover the structure of Android Process Tree
The source file is sys_ptree.c and is compiled with the help of Makefile and make.## Problem Two: Testing the Newly-added System Call
The source file is test_ptree.c and is compiled with the help of Android.mk by ndk-build. Remember to compile the file in a folder named jni.## Problem Three: Generating new processes using fork() and execl()
The source file is generate_process.c and is compiled with the help of Android.mk.## Problem Four: Burger Buddies Problem
This problem asks us to simulate what happens in a fastfood restaurant.The source file is BBC.c and is compiled with the help of Android.mk.