mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:47:46 +00:00
Implement sys$getcwd properly.
Also fixed broken strcpy that didn't copy the null terminator.
This commit is contained in:
parent
8e640539ef
commit
0f20be05a6
5 changed files with 18 additions and 27 deletions
|
@ -141,7 +141,7 @@ private:
|
|||
friend class MemoryManager;
|
||||
friend bool scheduleNewTask();
|
||||
|
||||
Task(String&& name, uid_t, gid_t, pid_t parentPID, RingLevel, RetainPtr<VirtualFileSystem::Node>&& = nullptr);
|
||||
Task(String&& name, uid_t, gid_t, pid_t parentPID, RingLevel, RetainPtr<VirtualFileSystem::Node>&& cwd = nullptr, RetainPtr<VirtualFileSystem::Node>&& executable = nullptr);
|
||||
|
||||
void allocateLDT();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue