Kernel: Expose process executable paths in /proc/all

This commit is contained in:
Andreas Kling 2020-12-27 00:54:13 +01:00
commit 21ccbc2167
Notes: sideshowbarker 2024-07-19 00:34:28 +09:00
4 changed files with 5 additions and 4 deletions

View file

@ -391,10 +391,8 @@ public:
u32 m_ticks_in_kernel_for_dead_children { 0 };
Custody& current_directory();
Custody* executable()
{
return m_executable.ptr();
}
Custody* executable() { return m_executable.ptr(); }
const Custody* executable() const { return m_executable.ptr(); }
int number_of_open_file_descriptors() const;
int max_open_file_descriptors() const