mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:18:11 +00:00
Launching an arbitrary ELF executable from disk works! :^)
This is so cool! It's a bit messy now with two Task constructors, but eventually they should fold into a single constructor somehow.
This commit is contained in:
parent
befeabd8fe
commit
b824f15619
10 changed files with 141 additions and 16 deletions
|
@ -5,7 +5,9 @@ extern "C" int main(int, char**);
|
|||
extern "C" int _start()
|
||||
{
|
||||
// FIXME: Pass appropriate argc/argv.
|
||||
main(0, nullptr);
|
||||
int status = main(0, nullptr);
|
||||
|
||||
Syscall::invoke(Syscall::PosixExit, status);
|
||||
|
||||
// Birger's birthday <3
|
||||
return 20150614;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue