[PATCH] Check for additional PTRACE options, events, etc.
Steve Bennett
steveb at workware.net.au
Tue Jul 19 21:10:30 UTC 2011
On 19/07/2011, at 11:12 PM, Denys Vlasenko wrote:
> On Tue, Jul 19, 2011 at 8:14 AM, Steve Bennett <steveb at workware.net.au> wrote:
>> On 19/07/2011, at 5:32 AM, Andreas Schwab wrote:
>>>
>>> Steve Bennett <steveb-Sr3WRjsTenvtt0EhB6fy4g at public.gmane.org> writes:
>>>
>>>> @@ -306,16 +306,7 @@ AC_CHECK_MEMBERS([struct sigcontext.sc_hi2],,, [#include <signal.h>
>>>>
>>>> AC_CHECK_DECLS([sys_errlist])
>>>> AC_CHECK_DECLS([sys_siglist, _sys_siglist],,, [#include <signal.h>])
>>>> -AC_CHECK_DECLS([\
>>>> - PTRACE_SETOPTIONS, \
>>>> - PTRACE_GETEVENTMSG, \
>>>> - PTRACE_GETSIGINFO, \
>>>> - PTRACE_O_TRACEFORK, \
>>>> - PTRACE_O_TRACEVFORK, \
>>>> - PTRACE_O_TRACECLONE, \
>>>> - PTRACE_EVENT_FORK, \
>>>> - PTRACE_EVENT_VFORK, \
>>>> - PTRACE_EVENT_CLONE],,, [#include <sys/ptrace.h>])
>>>> +AC_CHECK_DECLS([PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, PTRACE_O_TRACESYSGOOD, PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_EXIT, PTRACE_EVENT_CLONE],,, [#include <sys/ptrace.h>])
>>>
>>> Just remove the backslashes.
>>>
>>> Andreas.
>>
>> Good to know that *someone* understand the m4 quoting rules.
>> Is it worth updating the patch. Is anyone going to apply this?
>> Denis?
>
> Pushed to strace git:
>
> commit d166c55f0d293137bbe04bc79b03f51bd8a530e0
> Author: Denys Vlasenko <dvlasenk at redhat.com>
> Date: Tue Jul 19 14:49:57 2011 +0200
>
> Remove superfluous backslash-continuation in configure.ac
>
> * configure.ac: remove superfluous backslash continuation
> in AC_CHECK_DECLS
Thanks, but it also needs some extra checks and some changes to defs.h
See attached.
Cheers,
Steve
--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au P: +61 434 921 300
E: steveb at workware.net.au F: +61 7 3391 6002
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-for-additional-PTRACE-options-events-etc.patch
Type: application/octet-stream
Size: 1852 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110720/2a4a1987/attachment.obj>
More information about the Strace-devel
mailing list