-
Notifications
You must be signed in to change notification settings - Fork 1
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
Remove static ELF binary support #19
Conversation
src/compartment.c
Outdated
assert(new_comp->elf_type == ET_DYN || new_comp->elf_type == ET_EXEC); | ||
if (new_comp->elf_type != ET_DYN) | ||
{ | ||
errx(1, "Only supporting DYN ELF types!"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this means "Only DYN ELF is supported"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, as per the Type
property in readelf -h
. Should I reword?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 18f6c8f.
Please squash. |
Since we moved to supporting dynamic `so` ELFs, support for static ELFs has likely been broken. For code quality, we currently remove code that handle static ELFs, as well as intercepts that were introduced primarily for use with static ELFs.
18f6c8f
to
0283343
Compare
Squashed. |
Since we moved to supporting dynamic
so
ELFs, support for static ELFs has likely been broken. For code quality, we currently remove code that handle static ELFs, as well as intercepts that were introduced primarily for use with static ELFs.