Update include directives and remove linux_execve.

This commit is contained in:
Marcel Moolenaar 2000-08-22 01:27:36 +00:00
parent 51705ff7da
commit 6fd44518f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64905

View File

@ -44,9 +44,9 @@
#include <sys/conf.h>
#include <sys/tty.h>
#include <i386/linux/linux.h>
#include <i386/linux/linux_proto.h>
#include <i386/linux/linux_util.h>
#include <machine/../linux/linux.h>
#include <machine/../linux/linux_proto.h>
#include <compat/linux/linux_util.h>
int
linux_creat(struct proc *p, struct linux_creat_args *args)
@ -732,26 +732,6 @@ linux_symlink(struct proc *p, struct linux_symlink_args *args)
return symlink(p, &bsd);
}
int
linux_execve(struct proc *p, struct linux_execve_args *args)
{
struct execve_args bsd;
caddr_t sg;
sg = stackgap_init();
CHECKALTEXIST(p, &sg, args->path);
#ifdef DEBUG
printf("Linux-emul(%d): execve(%s)\n",
p->p_pid, args->path);
#endif
bsd.fname = args->path;
bsd.argv = args->argp;
bsd.envv = args->envp;
return execve(p, &bsd);
}
int
linux_readlink(struct proc *p, struct linux_readlink_args *args)
{