mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
d16d805d96
It makes much more sense to have these actions being performed via the prctl syscall, as they both require 2 plain arguments to be passed to the syscall layer, and in contrast to most syscalls, we don't get in these removed syscalls an automatic representation of Userspace<T>, but two FlatPtr(s) to perform casting on them in the prctl syscall which is suited to what has been done in the removed syscalls. Also, it makes sense to have these actions in the prctl syscall, because they are strongly related to the process control concept of the prctl syscall.
16 lines
381 B
C
16 lines
381 B
C
/*
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define PR_SET_DUMPABLE 1
|
|
#define PR_GET_DUMPABLE 2
|
|
#define PR_SET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 3
|
|
#define PR_GET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 4
|
|
#define PR_SET_COREDUMP_METADATA_VALUE 5
|
|
#define PR_SET_PROCESS_NAME 6
|
|
#define PR_GET_PROCESS_NAME 7
|