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:
@@ -8,7 +8,6 @@
|
||||
#include <kb_defs.h>
|
||||
#include <libk/ringbuffer.h>
|
||||
#include <libk/std.h>
|
||||
#include <proc/capability.h>
|
||||
#include <proc/proc.h>
|
||||
#include <proc/reschedule.h>
|
||||
#include <proc/suspension_q.h>
|
||||
@@ -180,9 +179,6 @@ static void ps2kb_irq (void* arg, void* regs, bool user, struct reschedule_ctx*
|
||||
DEFINE_DEVICE_OP (ps2kb_read_key) {
|
||||
uint64_t frb, fsq;
|
||||
|
||||
if (!(proc->procgroup->capabilities & PROC_CAP_KB))
|
||||
return -ST_PERMISSION_ERROR;
|
||||
|
||||
uint8_t* chbuf = (uint8_t*)a1;
|
||||
|
||||
if (chbuf == NULL)
|
||||
|
||||
Reference in New Issue
Block a user