1 /* 2 * Copyright (c) 1982, 1986, 1989 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * from: @(#)sys_process.c 7.22 (Berkeley) 5/11/91 8 */ 9 10 #define IPCREG 11 #include "param.h" 12 #include "proc.h" 13 #include "vnode.h" 14 #include "seg.h" 15 #include "buf.h" 16 #include "ptrace.h" 17 18 #include "machine/reg.h" 19 #include "machine/psl.h" 20 #include "vm/vm.h" 21 #include "vm/vm_page.h" 22 23 #include "user.h" 24 25 /* 26 * Process debugging system call. 27 */ 28 ptrace(curp, uap, retval) 29 struct proc *curp; 30 register struct args { 31 int req; 32 int pid; 33 int *addr; 34 int data; 35 } *uap; 36 int *retval; 37 { 38 39 /* 40 * Body deleted. 41 */ 42 return (ENOSYS); 43 } 44 45 procxmt(p) 46 register struct proc *p; 47 { 48 49 /* 50 * Body deleted. 51 */ 52 return (0); 53 } 54 55 /* 56 * Enable process profiling system call. 57 */ 58 /* ARGSUSED */ 59 profil(p, uap, retval) 60 struct proc *p; 61 register struct args { 62 short *bufbase; 63 unsigned bufsize; 64 unsigned pcoffset; 65 unsigned pcscale; 66 } *uap; 67 int *retval; 68 { 69 70 /* 71 * Body deleted. 72 */ 73 return (ENOSYS); 74 } 75