summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-15 14:43:10 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-15 14:43:10 +0100
commit457a5df7d50daca6bed8dd03bdc391c7f024b469 (patch)
tree990f0d68e92a27e8a35cadf9131900f4d435e661 /Kernel/Process.h
parentc735c56e4cdc6b3a7f292fdf78eb6c04b417afcd (diff)
downloadserenity-457a5df7d50daca6bed8dd03bdc391c7f024b469.zip
Rename:
VirtualFileSystem -> VFS VirtualFileSystem::Node -> Vnode
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 6a6586dee0..a354d00285 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -222,7 +222,7 @@ private:
friend class Scheduler;
friend class Region;
- Process(String&& name, uid_t, gid_t, pid_t ppid, RingLevel, RetainPtr<VirtualFileSystem::Node>&& cwd = nullptr, RetainPtr<VirtualFileSystem::Node>&& executable = nullptr, TTY* = nullptr, Process* fork_parent = nullptr);
+ Process(String&& name, uid_t, gid_t, pid_t ppid, RingLevel, RetainPtr<Vnode>&& cwd = nullptr, RetainPtr<Vnode>&& executable = nullptr, TTY* = nullptr, Process* fork_parent = nullptr);
int do_exec(const String& path, Vector<String>&& arguments, Vector<String>&& environment);
void push_value_on_stack(dword);
@@ -276,13 +276,13 @@ private:
byte m_termination_status { 0 };
byte m_termination_signal { 0 };
- RetainPtr<VirtualFileSystem::Node> m_cwd;
- RetainPtr<VirtualFileSystem::Node> m_executable;
+ RetainPtr<Vnode> m_cwd;
+ RetainPtr<Vnode> m_executable;
TTY* m_tty { nullptr };
Region* allocate_region(LinearAddress, size_t, String&& name, bool is_readable = true, bool is_writable = true);
- Region* allocate_file_backed_region(LinearAddress, size_t, RetainPtr<VirtualFileSystem::Node>&& vnode, String&& name, bool is_readable, bool is_writable);
+ Region* allocate_file_backed_region(LinearAddress, size_t, RetainPtr<Vnode>&& vnode, String&& name, bool is_readable, bool is_writable);
Region* allocate_region_with_vmo(LinearAddress, size_t, RetainPtr<VMObject>&&, size_t offset_in_vmo, String&& name, bool is_readable, bool is_writable);
bool deallocate_region(Region& region);