1 /*- 2 * Copyright (c) 1982, 1986, 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * from: @(#)kern_exec.c 7.43 (Berkeley) 5/9/91 8 */ 9 10 #include "param.h" 11 #include "systm.h" 12 #include "filedesc.h" 13 #include "kernel.h" 14 #include "proc.h" 15 #include "mount.h" 16 #include "malloc.h" 17 #include "namei.h" 18 #include "vnode.h" 19 #include "seg.h" 20 #include "file.h" 21 #include "acct.h" 22 #include "exec.h" 23 #include "ktrace.h" 24 #include "resourcevar.h" 25 26 #include "machine/cpu.h" 27 #include "machine/reg.h" 28 29 #include "mman.h" 30 #include "vm/vm.h" 31 #include "vm/vm_param.h" 32 #include "vm/vm_map.h" 33 #include "vm/vm_kern.h" 34 #include "vm/vm_pager.h" 35 36 #include "signalvar.h" 37 #include "kinfo_proc.h" 38 39 #ifdef HPUXCOMPAT 40 #include "user.h" /* for pcb */ 41 #include "hp300/hpux/hpux_exec.h" 42 #endif 43 44 #ifdef COPY_SIGCODE 45 extern char sigcode[], esigcode[]; 46 #define szsigcode (esigcode - sigcode) 47 #else 48 #define szsigcode 0 49 #endif 50 51 /* 52 * exec system call 53 */ 54 /* ARGSUSED */ 55 execve(p, uap, retval) 56 register struct proc *p; 57 register struct args { 58 char *fname; 59 char **argp; 60 char **envp; 61 } *uap; 62 int *retval; 63 { 64 65 /* 66 * Body deleted. 67 */ 68 return (ENOSYS); 69 } 70