diff options
author | marcel <marcel@FreeBSD.org> | 2000-08-22 01:27:36 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-08-22 01:27:36 +0000 |
commit | 17c9b37854ae700afc1632f37915d725e88ab2a3 (patch) | |
tree | 486d8982e61c2c06aa8e38f86296a1bb7526979a /sys | |
parent | 2a224f32431ab64d8469eb34ad49850b134b57e7 (diff) | |
download | FreeBSD-src-17c9b37854ae700afc1632f37915d725e88ab2a3.zip FreeBSD-src-17c9b37854ae700afc1632f37915d725e88ab2a3.tar.gz |
Update include directives and remove linux_execve.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_file.c | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 2cb2303..66e80c6 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -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) @@ -733,26 +733,6 @@ linux_symlink(struct proc *p, struct linux_symlink_args *args) } 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) { struct readlink_args bsd; |