Skip to content

Port our first executable #23

@d4ilyrun

Description

@d4ilyrun

Binary execution

Now that we have a (semi) functioning userland, it is possible for us to execute compiled binaries. To complete this important step of our kernel, we need to be able to load an executable, setup the new process's memory and execute the binary's code.

Executable format

To start with, we'll only support the most common executable format: ELF.

ABI

Even though we have already implemented a syscall interface, it will be necessary to actually implement the most common ones that are still missing (open, read, write, ...). We'll also have to compile the binaries ourselves for them to work with our syscall ABI.

TODO

Metadata

Metadata

Assignees

Labels

arch: noneNot architecture specifictarget: kernelKernel related featurestype: newImplement a new feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions