From: Philip Homburg Date: Wed, 9 Nov 2005 15:48:41 +0000 (+0000) Subject: Grant tty permission to use SYS_VM_MAP and SYS_IOPENABLE. X-Git-Tag: v3.1.2a~506 X-Git-Url: http://zhaoyanbai.com/repos/%22https:/www.google.com/jsapi/static/mdoc.3.html?a=commitdiff_plain;h=b85736bd7b4e0076b9e91cfc95b14eab6f795011;p=minix.git Grant tty permission to use SYS_VM_MAP and SYS_IOPENABLE. --- diff --git a/kernel/table.c b/kernel/table.c index c145b3e3e..bbff56c7f 100755 --- a/kernel/table.c +++ b/kernel/table.c @@ -82,7 +82,7 @@ PUBLIC char *t_stack[TOT_STACK_SPACE / sizeof(char *)]; #define PM_C ~(c(SYS_DEVIO) | c(SYS_SDEVIO) | c(SYS_VDEVIO) | c(SYS_IRQCTL) | c(SYS_INT86)) #define FS_C (c(SYS_KILL) | c(SYS_VIRCOPY) | c(SYS_VIRVCOPY) | c(SYS_UMAP) | c(SYS_GETINFO) | c(SYS_EXIT) | c(SYS_TIMES) | c(SYS_SETALARM)) #define DRV_C (FS_C | c(SYS_SEGCTL) | c(SYS_IRQCTL) | c(SYS_INT86) | c(SYS_DEVIO) | c(SYS_VDEVIO) | c(SYS_SDEVIO)) -#define TTY_C (DRV_C | c(SYS_ABORT)) +#define TTY_C (DRV_C | c(SYS_ABORT) | c(SYS_VM_MAP) | c(SYS_IOPENABLE)) #define MEM_C (DRV_C | c(SYS_PHYSCOPY) | c(SYS_PHYSVCOPY) | c(SYS_VM_MAP) | \ c(SYS_IOPENABLE))