-
Notifications
You must be signed in to change notification settings - Fork 33
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
kernel: add linux compatibility layer #552
Draft
willdurand
wants to merge
1
commit into
master
Choose a base branch
from
linux-compat
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
willdurand
force-pushed
the
linux-compat
branch
2 times, most recently
from
February 17, 2022 20:45
158c1e6
to
c5fe5e8
Compare
This was referenced Mar 3, 2022
(rebased) It isn't working anymore since the x86_64 "process" code has been removed in the main branch. |
willdurand
force-pushed
the
linux-compat
branch
3 times, most recently
from
April 2, 2022 13:09
a50c764
to
972a964
Compare
I updated this POC to run unmodified binaries in kernel mode. |
willdurand
force-pushed
the
linux-compat
branch
8 times, most recently
from
April 3, 2022 12:24
430c599
to
6c4ffe3
Compare
willdurand
force-pushed
the
linux-compat
branch
6 times, most recently
from
April 4, 2022 19:20
ad976d8
to
b16f574
Compare
willdurand
commented
Apr 4, 2022
willdurand
commented
Apr 4, 2022
willdurand
force-pushed
the
linux-compat
branch
3 times, most recently
from
April 6, 2022 08:13
5392782
to
4b2c915
Compare
willdurand
force-pushed
the
linux-compat
branch
6 times, most recently
from
July 17, 2022 21:03
4fa5150
to
2fd5de9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It does not quite work yet, although binaries built for ArvernOS run onLinux... "Just" need to make the opposite to happen now.
It totally works
on x86_64 (because other archs don't have support for loading executing ELFs), although there are hacks everywhere! There are also many limitations, e.g., Linux binaries should be:-fno-pie
)musl
because glibc does weird stuff before calling amain()
function...Other limitations are related to ArvernOS itself:
fork
/clone
)sleep
implementationScreenshots