mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Hurd: ptrace: use __hurd_fail for EOPNOTSUPP
This commit is contained in:
parent
25fe89324c
commit
bff6491355
@ -1,3 +1,8 @@
|
||||
2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
|
||||
|
||||
* sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
|
||||
EOPNOTSUPP.
|
||||
|
||||
2012-10-25 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* Makeconfig (run-program-prefix): Fix comment.
|
||||
|
@ -160,7 +160,7 @@ ptrace (enum __ptrace_request request, ... )
|
||||
case PTRACE_SINGLESTEP:
|
||||
/* This is a machine-dependent kernel RPC on
|
||||
machines that support it. Punt. */
|
||||
return EOPNOTSUPP;
|
||||
return __hurd_fail (EOPNOTSUPP);
|
||||
|
||||
case PTRACE_ATTACH:
|
||||
case PTRACE_DETACH:
|
||||
@ -227,7 +227,7 @@ ptrace (enum __ptrace_request request, ... )
|
||||
case PTRACE_PEEKUSER:
|
||||
case PTRACE_POKEUSER:
|
||||
/* U area, what's that? */
|
||||
return EOPNOTSUPP;
|
||||
return __hurd_fail (EOPNOTSUPP);
|
||||
|
||||
case PTRACE_GETREGS:
|
||||
case PTRACE_SETREGS:
|
||||
@ -248,7 +248,7 @@ ptrace (enum __ptrace_request request, ... )
|
||||
return get_regs (MACHINE_THREAD_FLOAT_STATE_FLAVOR,
|
||||
MACHINE_THREAD_FLOAT_STATE_COUNT);
|
||||
#else
|
||||
return EOPNOTSUPP;
|
||||
return __hurd_fail (EOPNOTSUPP);
|
||||
#endif
|
||||
|
||||
case PTRACE_GETFPAREGS:
|
||||
@ -261,7 +261,7 @@ ptrace (enum __ptrace_request request, ... )
|
||||
return get_regs (MACHINE_THREAD_FPA_STATE_FLAVOR,
|
||||
MACHINE_THREAD_FPA_STATE_COUNT);
|
||||
#else
|
||||
return EOPNOTSUPP;
|
||||
return __hurd_fail (EOPNOTSUPP);
|
||||
#endif
|
||||
|
||||
case PTRACE_POKETEXT:
|
||||
|
Loading…
Reference in New Issue
Block a user