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 support for Linux compilation #40

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

0152la
Copy link
Contributor

@0152la 0152la commented Oct 16, 2024

Can now compile compartment.c and its dependents on Linux. Added a compartment_harness.c file which can be used to also execute on Linux. Currently only executing the compartment data gathering (mostly reading in ELF data and doing the relocation stuff), and cleaning up. No mapping or execution happening.

Fix various bugs found during the porting process.

@0152la 0152la requested a review from ltratt October 16, 2024 15:01
include/linux_harness.h Outdated Show resolved Hide resolved
tests/compartment_harness.c Outdated Show resolved Hide resolved
@ltratt
Copy link
Contributor

ltratt commented Oct 17, 2024

Please squash.

Can now compile `compartment.c` and its dependents on Linux. Added a
`compartment_harness.c` file which can be used to also execute on Linux.
Currently only executing the compartment data gathering (mostly reading
in ELF data and doing the relocation stuff), and cleaning up. No mapping
or execution happening.

Fix various bugs found during the porting process.
@0152la 0152la force-pushed the comp_linux_harness-2 branch from f39c840 to 831cfd3 Compare October 17, 2024 11:07
@0152la
Copy link
Contributor Author

0152la commented Oct 17, 2024

Squashed.

@ltratt ltratt added this pull request to the merge queue Oct 17, 2024
Merged via the queue into capablevms:master with commit e0c0e12 Oct 17, 2024
2 checks passed
@0152la 0152la deleted the comp_linux_harness-2 branch October 22, 2024 13:43
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