parent
3b1711102f
commit
185e9d48ab
@ -0,0 +1,22 @@
|
||||
#include <unistd.h>
|
||||
//#include <sys.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include<asm/segment.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
|
||||
char sys_name[24];//系统内核的内存区域
|
||||
|
||||
int sys_execve2(const char * name)
|
||||
{
|
||||
printk("yes");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sys_getdents(char * name,unsigned int size)
|
||||
{
|
||||
printk("yes2");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in new issue