1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:47:35 +00:00

Kernel: Convert Process-related const member functions to static

Process::get_syscall_path_argument() and
ProcFSExposedComponent::modified_time() both are independent of this.
This commit is contained in:
Andrew Kaster 2021-10-31 16:47:20 -06:00 committed by Andreas Kling
parent bc29c7f04f
commit eb1181b898
3 changed files with 5 additions and 5 deletions

View file

@ -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);