Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 系统:在Minix中拒绝请求44_Linux_Bsd_Minix - Fatal编程技术网

Linux 系统:在Minix中拒绝请求44

Linux 系统:在Minix中拒绝请求44,linux,bsd,minix,Linux,Bsd,Minix,当我试图在Minix 3.2中执行自己的代码时,我得到“SYSTEM:denied request 44 from 109894”。我把代码和生成文件都打了一遍,这样可能会有一些打字错误。然而,这个程序编译得很好 我的c文件: #include <stdio.h> #include <stdlib.h> #include <minix/syslib.h> int main(int argc, char **argv) { printf("test"); r

当我试图在Minix 3.2中执行自己的代码时,我得到“SYSTEM:denied request 44 from 109894”。我把代码和生成文件都打了一遍,这样可能会有一些打字错误。然而,这个程序编译得很好

我的c文件:

#include <stdio.h>
#include <stdlib.h>
#include <minix/syslib.h>

int main(int argc, char **argv) {
 printf("test");
return EXIT_SUCCESS;
}
#包括
#包括
#包括
int main(int argc,字符**argv){
printf(“测试”);
返回退出成功;
}
我的生成文件:

PROG = helloproc
SRC = helloproc.c

MAN=

.include <bsd.prog.mk>
PROG=helloproc
SRC=helloproc.c
人=
包括

Minix使用BSD编译平台(因此是标记)。

显然,在/usr/srcs/drivers以外的地方运行应用程序时,可以将其作为普通程序而不是驱动程序运行