1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

Factor out the "non-syscall" parts of sys$execve() into exec().

..to prepare for sharing code with createUserProcess().
This commit is contained in:
Andreas Kling 2018-11-03 10:20:23 +01:00
parent 8f51f0e6b2
commit c5eec9cbfc
2 changed files with 41 additions and 33 deletions

View file

@ -158,6 +158,7 @@ public:
void send_signal(int signal, Process* sender);
Process* fork(RegisterDump&);
int exec(const String& path, Vector<String>&& arguments, Vector<String>&& environment);
private:
friend class MemoryManager;