1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:27:34 +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:
Andreas Kling 2018-10-22 15:42:39 +02:00
parent befeabd8fe
commit b824f15619
10 changed files with 141 additions and 16 deletions

View file

@ -16,6 +16,9 @@ class Zone;
class Task : public InlineLinkedListNode<Task> {
friend class InlineLinkedListNode<Task>;
public:
static Task* create(const String& path, uid_t, gid_t);
Task(String&& name, uid_t, gid_t);
#ifdef TASK_SANITY_CHECKS
static void checkSanity(const char* msg = nullptr);
#else