diff options
author | Anton Kling <anton@kling.gg> | 2024-12-11 18:47:33 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-12 15:48:20 +0100 |
commit | 633feeea57c298306d8664c9c2768ab46fb7c6f4 (patch) | |
tree | d91cd1c19d3e850b978c7ada526246e3b35e6608 /kernel/fs/procfs.c | |
parent | bc828883c51c3c0f35872019f4db632e4ce82dc5 (diff) |
signal: Remove old way of sending signals and instead use procfs
Diffstat (limited to 'kernel/fs/procfs.c')
-rw-r--r-- | kernel/fs/procfs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/fs/procfs.c b/kernel/fs/procfs.c index f6a4fef..69022d4 100644 --- a/kernel/fs/procfs.c +++ b/kernel/fs/procfs.c @@ -134,7 +134,7 @@ vfs_inode_t *open_process(u64 pid, int id) { 0 /*is_open*/, 0, process /*internal_object*/, 0 /*file_size*/, procfs_open, NULL /*create_file*/, process_read, process_write, process_close, NULL /*create_directory*/, NULL /*get_vm_object*/, - NULL /*truncate*/, NULL /*stat*/, NULL /*send_signal*/, NULL /*connect*/); + NULL /*truncate*/, NULL /*stat*/, NULL /*connect*/); if (!inode) { return NULL; } @@ -152,8 +152,7 @@ vfs_inode_t *procfs_open(const char *p) { 0 /*is_open*/, 0, NULL /*internal_object*/, 0 /*file_size*/, procfs_open, NULL /*create_file*/, procfs_read, NULL /* write */, procfs_close, NULL /*create_directory*/, NULL /*get_vm_object*/, - NULL /*truncate*/, NULL /*stat*/, NULL /*send_signal*/, - NULL /*connect*/); + NULL /*truncate*/, NULL /*stat*/, NULL /*connect*/); } int got_num; @@ -180,6 +179,6 @@ vfs_inode_t *procfs_mount(void) { 0 /*is_open*/, 0, NULL /*internal_object*/, 0 /*file_size*/, procfs_open, NULL /*create_file*/, procfs_read, NULL /* write */, procfs_close, NULL /*create_directory*/, NULL /*get_vm_object*/, NULL /*truncate*/, - NULL /*stat*/, NULL /*send_signal*/, NULL /*connect*/); + NULL /*stat*/, NULL /*connect*/); return inode; } |