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

Added CLI flag to dump syscalls #63

Merged
merged 4 commits into from
May 12, 2024
Merged

Added CLI flag to dump syscalls #63

merged 4 commits into from
May 12, 2024

Conversation

skx
Copy link
Owner

@skx skx commented May 12, 2024

This pull-request adds a new flag -syscalls to dump the list of syscalls we've implemented. Since some of these syscalls are fake I've added a marker for that in our structure and ensured it is displayed.

To avoid gaps in our syscall list I implemented two new syscalls:

  • L_WRITE
    • Write a character to the printer. (Use "print.log" file instead).
  • DRV_SETRO
    • This should set a drive as read-only, instead it does nothing.
  • F_ATTRIB
    • This should set file attributes, instead it does nothing.

This pull-request adds a new flag `-syscalls` to dump the list of
syscalls we've implemented.  Since some of these syscalls are fake
I've added a marker for that in our structure and ensured it is
displayed.

To avoid gaps in our syscall list I implemented two new syscalls:

* L_WRITE
  * Write a character to the printer.  (Use "print.log" file instead).
* DRV_SETRO
  * This should set a drive as read-only, instead it does nothing.
* F_ATTRIB
  * This should set file attributes, instead it does nothing.
@skx skx self-assigned this May 12, 2024
@skx skx added the enhancement New feature or request label May 12, 2024
@skx skx merged commit 8aff186 into master May 12, 2024
2 checks passed
@skx skx deleted the syscalls branch May 12, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant