[PATCH v2 libinput] FreeBSD portability fixes
Peter Hutterer
peter.hutterer at who-t.net
Tue Dec 12 22:41:02 UTC 2017
On Tue, Dec 12, 2017 at 03:55:10PM +0000, Emil Velikov wrote:
> On 11 December 2017 at 04:21, Peter Hutterer <peter.hutterer at who-t.net> wrote:
>
> >> - ptrace(PTRACE_CONT, NULL, NULL);
> >> + ptrace(PTRACE_CONT, ppid, NULL, 0);
>
> >
> > split this one out please, I'd rather not have it hidden in a bsd-suppport
> > patch, thanks.
> >
> Was going to ask - the PTRACE_CONT piece seems like a nice bugfix, does it not?
> Currently the ppid is missing, which will result in an "interesting"
> ptracing experience.
yeah, it's a bug but it's not the end of the world. This code is only used
to detect if the test suite runs under gdb to disable libcheck's fork
mode. Not quite worthy of a cve :)
Cheers,
Peter
More information about the wayland-devel
mailing list