summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-30 20:23:50 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-30 22:30:25 +0200
commit55821c91f8b9da1a5281328859ab1ca2fc2dd304 (patch)
treef61dceb2428d90dc7db32963ef555d51c00bac2b /Kernel/Process.h
parent393851418b01f55052ad2f486ae808c959b7e3a4 (diff)
downloadserenity-55821c91f8b9da1a5281328859ab1ca2fc2dd304.zip
Kernel: Rename Process::cwd_custody() to Process::current_directory().
...and executable_custody() to just executable().
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 38f05a6fb1..6e1c30e723 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -233,8 +233,8 @@ public:
template<typename T>
bool validate_write_typed(T* value, size_t count = 1) { return validate_write(value, sizeof(T) * count); }
- Custody& cwd_custody();
- Custody* executable_custody() { return m_executable_custody.ptr(); }
+ Custody& current_directory();
+ Custody* executable() { return m_executable.ptr(); }
int number_of_open_file_descriptors() const;
int max_open_file_descriptors() const { return m_max_open_file_descriptors; }
@@ -319,8 +319,8 @@ private:
byte m_termination_status { 0 };
byte m_termination_signal { 0 };
- RetainPtr<Custody> m_executable_custody;
- RetainPtr<Custody> m_cwd_custody;
+ RetainPtr<Custody> m_executable;
+ RetainPtr<Custody> m_cwd;
TTY* m_tty { nullptr };