mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Kernel: Merge Process::fork() into sys$fork()
There was no good reason for this to be a separate function.
This commit is contained in:
parent
cb6734c5e7
commit
8ea4217c01
2 changed files with 4 additions and 12 deletions
|
@ -280,7 +280,6 @@ public:
|
|||
size_t amount_purgeable_volatile() const;
|
||||
size_t amount_purgeable_nonvolatile() const;
|
||||
|
||||
Process* fork(RegisterDump&);
|
||||
int exec(String path, Vector<String> arguments, Vector<String> environment);
|
||||
|
||||
bool is_superuser() const { return m_euid == 0; }
|
||||
|
@ -311,7 +310,7 @@ private:
|
|||
friend class Scheduler;
|
||||
friend class Region;
|
||||
|
||||
Process(String&& name, uid_t, gid_t, pid_t ppid, RingLevel, RefPtr<Custody> cwd = nullptr, RefPtr<Custody> executable = nullptr, TTY* = nullptr, Process* fork_parent = nullptr);
|
||||
Process(const String& name, uid_t, gid_t, pid_t ppid, RingLevel, RefPtr<Custody> cwd = nullptr, RefPtr<Custody> executable = nullptr, TTY* = nullptr, Process* fork_parent = nullptr);
|
||||
|
||||
Range allocate_range(VirtualAddress, size_t);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue