mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Kernel: Add sys$set_coredump_metadata() syscall
This can be used by applications to store information (key/value pairs) likely useful for debugging, which will then be embedded in the coredump.
This commit is contained in:
parent
7413a7c509
commit
91332515a6
3 changed files with 34 additions and 1 deletions
|
@ -196,7 +196,8 @@ namespace Kernel {
|
|||
S(adjtime) \
|
||||
S(allocate_tls) \
|
||||
S(prctl) \
|
||||
S(mremap)
|
||||
S(mremap) \
|
||||
S(set_coredump_metadata)
|
||||
|
||||
namespace Syscall {
|
||||
|
||||
|
@ -442,6 +443,11 @@ struct SC_ptrace_peek_params {
|
|||
u32* out_data;
|
||||
};
|
||||
|
||||
struct SC_set_coredump_metadata_params {
|
||||
StringArgument key;
|
||||
StringArgument value;
|
||||
};
|
||||
|
||||
void initialize();
|
||||
int sync();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue