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

Add syscall tests and so harness #22

Merged
merged 2 commits into from
Feb 26, 2024
Merged

Conversation

0152la
Copy link
Contributor

@0152la 0152la commented Feb 23, 2024

Add two tests performing syscalls, to show the running syscalls themselves from within a restricted DDC environment works. I think this is useful to have for future potential work (e.g., could we provide a compartment-safe printing function, instead of crashing with printf, if making printf be compatible proves hard).

Adds a harness to be able to run so files natively, without having to go through the compartment library. Useful for debugging / differential testing.

Add two tests performing syscalls, to show the running syscalls
themselves from within a restricted DDC environment works. I think this
is useful to have for future potential work (e.g., could we provide a
compartment-safe printing function, instead of crashing with `printf`,
if making `printf` be compatible proves hard).

Adds a harness to be able to run `so` files natively, without having to
go through the compartment library. Useful for debugging / differential
testing.
@0152la 0152la requested a review from ltratt February 23, 2024 12:17
@ltratt ltratt added this pull request to the merge queue Feb 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 23, 2024
@0152la
Copy link
Contributor Author

0152la commented Feb 26, 2024

Fixed in a611820.

@ltratt
Copy link
Contributor

ltratt commented Feb 26, 2024

Please squash.

Add two tests performing syscalls, to show the running syscalls
themselves from within a restricted DDC environment works. I think this
is useful to have for future potential work (e.g., could we provide a
compartment-safe printing function, instead of crashing with `printf`,
if making `printf` be compatible proves hard).

Adds a harness to be able to run `so` files natively, without having to
go through the compartment library. Useful for debugging / differential
testing.
@0152la
Copy link
Contributor Author

0152la commented Feb 26, 2024

Squashed.

@ltratt ltratt added this pull request to the merge queue Feb 26, 2024
Merged via the queue into capablevms:master with commit 2fd8c54 Feb 26, 2024
2 checks passed
@0152la 0152la deleted the test-syscall branch June 4, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants