Remove procgroup capabilities
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m6s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m6s
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
#ifndef _KERNEL_PROC_CAPABILITY_H
|
||||
#define _KERNEL_PROC_CAPABILITY_H
|
||||
|
||||
#define PROC_CAP_TERMINAL (1 << 0)
|
||||
#define PROC_CAP_KB (1 << 1)
|
||||
|
||||
#endif // _KERNEL_PROC_CAPABILITY_H
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <limine/requests.h>
|
||||
#include <mm/malloc.h>
|
||||
#include <mm/pmm.h>
|
||||
#include <proc/capability.h>
|
||||
#include <proc/proc.h>
|
||||
#include <proc/procgroup.h>
|
||||
#include <proc/reschedule.h>
|
||||
@@ -344,7 +343,6 @@ void proc_init (void) {
|
||||
proc_register (spin_proc, thiscpu, &rctx);
|
||||
|
||||
struct proc* init = proc_from_file (thiscpu->kproc, "RD", "/init", &rctx);
|
||||
init->procgroup->capabilities |= (PROC_CAP_TERMINAL | PROC_CAP_KB);
|
||||
proc_register (init, thiscpu, &rctx);
|
||||
|
||||
spin_lock (&spin_proc->cpu->lock, &fc);
|
||||
|
||||
@@ -35,7 +35,6 @@ struct procgroup {
|
||||
struct list_node_link* mappings;
|
||||
uintptr_t map_base;
|
||||
struct procgroup_tls tls;
|
||||
uint64_t capabilities;
|
||||
};
|
||||
|
||||
struct procgroup* procgroup_create (void);
|
||||
|
||||
Reference in New Issue
Block a user