From f7eea3b1edf9597b3478f4755cff1a70c129bb0d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 10 Sep 1994 15:53:12 +0000 Subject: Formerly host.c.~8~ --- proc/host.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'proc/host.c') diff --git a/proc/host.c b/proc/host.c index 9ddf5a39..929d4c4d 100644 --- a/proc/host.c +++ b/proc/host.c @@ -130,8 +130,8 @@ S_proc_gethostname (struct proc *p, /* Implement proc_getprivports as described in . */ kern_return_t S_proc_getprivports (struct proc *p, - mach_port_t *hostpriv, - mach_port_t *devpriv) + mach_port_t *hostpriv, + mach_port_t *devpriv) { if (! check_uid (p, 0)) return EPERM; @@ -145,10 +145,10 @@ S_proc_getprivports (struct proc *p, /* Implement proc_setexecdata as described in . */ kern_return_t S_proc_setexecdata (struct proc *p, - mach_port_t *ports, - u_int nports, - int *ints, - u_int nints) + mach_port_t *ports, + u_int nports, + int *ints, + u_int nints) { int i; struct execdata_notify *n; @@ -183,11 +183,11 @@ S_proc_setexecdata (struct proc *p, /* Implement proc_getexecdata as described in . */ kern_return_t S_proc_getexecdata (struct proc *p, - mach_port_t **ports, - mach_msg_type_name_t *portspoly, - u_int *nports, - int **ints, - u_int *nints) + mach_port_t **ports, + mach_msg_type_name_t *portspoly, + u_int *nports, + int **ints, + u_int *nints) { /* XXX memory leak here */ @@ -210,7 +210,7 @@ S_proc_getexecdata (struct proc *p, /* Implement proc_execdata_notify as described in . */ kern_return_t S_proc_execdata_notify (struct proc *p, - mach_port_t notify) + mach_port_t notify) { struct execdata_notify *n = malloc (sizeof (struct execdata_notify)); mach_port_t foo; -- cgit v1.2.3