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 /*
46  * Transmit a tracing request from the parent to the child process
47  * being debugged. This code runs in the context of the child process
48  * to fulfill the command requested by the parent.
49  */
50 procxmt(p)
51 	register struct proc *p;
52 {
53 
54 	/*
55 	 * Body deleted.
56 	 */
57 	return (0);
58 }
59 
60 /*
61  * Enable process profiling system call.
62  */
63 /* ARGSUSED */
64 profil(p, uap, retval)
65 	struct proc *p;
66 	register struct args {
67 		short	*bufbase;
68 		unsigned bufsize;
69 		unsigned pcoffset;
70 		unsigned pcscale;
71 	} *uap;
72 	int *retval;
73 {
74 
75 	/*
76 	 * Body deleted.
77 	 */
78 	return (ENOSYS);
79 }
80