diff options
author | Andrew Kaster <akaster@serenityos.org> | 2021-10-31 16:47:20 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-14 22:52:35 +0100 |
commit | eb1181b89866557979c2818c2f5aa2ebf31d32d2 (patch) | |
tree | 0a601eadd10d54a457719b513e1d7778fd507817 /Kernel/Process.h | |
parent | bc29c7f04ffee4b9f29c4ef2b8bfcb9efc4f1df2 (diff) | |
download | serenity-eb1181b89866557979c2818c2f5aa2ebf31d32d2.zip |
Kernel: Convert Process-related const member functions to static
Process::get_syscall_path_argument() and
ProcFSExposedComponent::modified_time() both are independent of this.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index b957f62938..634c36d628 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -546,8 +546,8 @@ private: ErrorOr<siginfo_t> do_waitid(Variant<Empty, NonnullRefPtr<Process>, NonnullRefPtr<ProcessGroup>> waitee, int options); - ErrorOr<NonnullOwnPtr<KString>> get_syscall_path_argument(Userspace<const char*> user_path, size_t path_length) const; - ErrorOr<NonnullOwnPtr<KString>> get_syscall_path_argument(const Syscall::StringArgument&) const; + static ErrorOr<NonnullOwnPtr<KString>> get_syscall_path_argument(Userspace<const char*> user_path, size_t path_length); + static ErrorOr<NonnullOwnPtr<KString>> get_syscall_path_argument(const Syscall::StringArgument&); bool has_tracee_thread(ProcessID tracer_pid); |