diff options
author | Roland McGrath <roland@gnu.org> | 1994-09-10 15:53:12 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-09-10 15:53:12 +0000 |
commit | f7eea3b1edf9597b3478f4755cff1a70c129bb0d (patch) | |
tree | 6c5fdfa1149699968d9b29b795a6cf5bde982ff3 /proc/host.c | |
parent | 1858b54697edb0ef7414b0d3ae326a4c7d9cf53c (diff) |
Formerly host.c.~8~
Diffstat (limited to 'proc/host.c')
-rw-r--r-- | proc/host.c | 24 |
1 files changed, 12 insertions, 12 deletions
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 <hurd/proc.defs>. */ 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 <hurd/proc.defs>. */ 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 <hurd/proc.defs>. */ 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 <hurd/proc.defs>. */ 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; |