[vlc-devel] [PATCH 1/2] compat: Workaround sendmsg bug on some ArmV8 Android devices
remi at remlab.net
Thu Apr 4 14:06:53 CEST 2019
I can only think of three ways to solve this:
1) Custom headers pretending that return type is int (will potentially break non-buggy devices tough).
2) Interposed wrappers for all affected calls.
3) Replacement (asm) implementation for all affected calls.
It can't be done in VLC build system as the problem affects contribs too.
Le 4 avril 2019 14:45:53 GMT+03:00, "Hugo Beauzée-Luyssen" <hugo at beauzee.fr> a écrit :
>On Thu, Apr 4, 2019, at 1:42 PM, Rémi Denis-Courmont wrote:
>> Hi all,
>> 5 minutes git archeology through bionic repo leads to this:
>> The bug affect basically all system call wrappers with a signed
>> return value type (including ssize_t).
>> Clearly this patch ain't going to work.
>> Le 4 avril 2019 10:54:44 GMT+03:00, "Hugo Beauzée-Luyssen"
>> <hugo at beauzee.fr> a écrit : On Wed, Apr 3, 2019, at 9:24 PM, Rémi
>> Denis-Courmont wrote:
>> >> I don't know what you did or did not imply. When somebody states
>that a patch
>> >> is ugly, I tend to assume that they dislike the form rather than
>> >> My chief concerns are that, on the one hand, other system calls
>> >> exhibit the bug, and on the other hand, contribs may be affected
>as well. In
>> >> other words, I am concerned not that the patch is ugly, but that
>> >> solve the problem(s).
>> > It solves the observed problem, but it doesn't solve problems I
>don't know about indeed.
>Let aside the passive aggressiveness of the reply, this is exactly what
>I was hoping for by submitting the patch, that someone who knows
>libc/kernel more than I do figures out what the problem is.
>I looked at the syscall wrapper but did not check the __set_errno it
>called, that's my bad.
>Thanks for finding the actual error.
> Hugo Beauzée-Luyssen
> hugo at beauzee.fr
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel