Trailing whitespace
This commit is contained in:
parent
07111ed295
commit
855e4d5be4
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sys_process.c,v 1.171 2016/10/14 08:37:05 skrll Exp $ */
|
||||
/* $NetBSD: sys_process.c,v 1.172 2016/10/14 08:38:31 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
|
||||
@ -118,7 +118,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.171 2016/10/14 08:37:05 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.172 2016/10/14 08:38:31 skrll Exp $");
|
||||
|
||||
#include "opt_ptrace.h"
|
||||
#include "opt_ktrace.h"
|
||||
@ -661,7 +661,7 @@ sys_ptrace(struct lwp *l, const struct sys_ptrace_args *uap, register_t *retval)
|
||||
}
|
||||
} else
|
||||
tmp = -tmp;
|
||||
|
||||
|
||||
if (tmp > 0) {
|
||||
if (req == PT_DETACH) {
|
||||
error = EINVAL;
|
||||
@ -677,7 +677,7 @@ sys_ptrace(struct lwp *l, const struct sys_ptrace_args *uap, register_t *retval)
|
||||
resume_all = 0;
|
||||
signo = 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* From the 4.4BSD PRM:
|
||||
* "The data argument is taken as a signal number and the
|
||||
@ -804,7 +804,7 @@ sys_ptrace(struct lwp *l, const struct sys_ptrace_args *uap, register_t *retval)
|
||||
break;
|
||||
}
|
||||
memset(&pe, 0, sizeof(pe));
|
||||
pe.pe_set_event = ISSET(t->p_slflag, PSL_TRACEFORK) ?
|
||||
pe.pe_set_event = ISSET(t->p_slflag, PSL_TRACEFORK) ?
|
||||
PTRACE_FORK : 0;
|
||||
error = copyout(&pe, SCARG(uap, addr), sizeof(pe));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user