Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#5] Validate user virtual address #47

Merged
merged 2 commits into from
Apr 10, 2017
Merged

[#5] Validate user virtual address #47

merged 2 commits into from
Apr 10, 2017

Conversation

hangpark
Copy link
Owner

@hangpark hangpark commented Apr 9, 2017

See #5.

Now system call checks user's given address by using page fault. get_byte() and put_byte() are given in the manual.

For a temporary measure, two basic system call exit() and write() are implemented minimaly. exit() does not care about the process hierarchy, but only triggers thread termination process after printing given termination message. write() does not care about file descriptor, except the standard output. These features should be improved later.

For a temporary measure, two basic system call `exit()` and `write()`
are implemented minimaly. `exit()` does not care about the process
hierarchy, but only triggers thread termination process after printing
given termination message. `write()` does not care about file
descriptor, except the standard output.

These features should be improved later.
Now system call checks user's given address by using page fault.
`get_byte()` and `put_byte()` are given in the manual.
@hangpark hangpark added this to the Project #2 milestone Apr 9, 2017
@hangpark hangpark self-assigned this Apr 9, 2017
@hangpark hangpark requested a review from Lment April 9, 2017 21:12
@hangpark hangpark merged commit 97e79a9 into develop Apr 10, 2017
@hangpark hangpark deleted the iss/5 branch April 10, 2017 03:17
This was referenced Apr 10, 2017
@hangpark hangpark mentioned this pull request May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant