server: Remove the use_ptrace variable.
This commit is contained in:
parent
31425c4d58
commit
f9ff7bf4d9
|
@ -71,8 +71,6 @@
|
||||||
inline static int ptrace(int req, ...) { errno = EPERM; return -1; /*FAIL*/ }
|
inline static int ptrace(int req, ...) { errno = EPERM; return -1; /*FAIL*/ }
|
||||||
#endif /* HAVE_SYS_PTRACE_H */
|
#endif /* HAVE_SYS_PTRACE_H */
|
||||||
|
|
||||||
static const int use_ptrace = 1; /* set to 0 to disable ptrace */
|
|
||||||
|
|
||||||
/* handle a status returned by wait4 */
|
/* handle a status returned by wait4 */
|
||||||
static int handle_child_status( struct thread *thread, int pid, int status, int want_sig )
|
static int handle_child_status( struct thread *thread, int pid, int status, int want_sig )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue