Hi Jonas,

On 10/17/2018 08:36 AM, Jonas Bonn wrote:
The driver vtables are read-only structures.  This patch declares them as
'const' allowing the compiler to (optionally) put them in the RELRO
section.  RELRO pages may be marked as read-only by the linker after
the relocations have been done ensuring that they aren't inadvertently
or maliciously altered at runtime.
---

I've had this patch sitting around in my tree for a couple of months.
Constification of the driver vtables is mostly for correctness and
doesn't provide any noticeable difference in performance.

I have another couple of patches that take care of plugins/ and core
ofono, but I thought I'd gauge the response on this first...

/Jonas

Looks fine to me.  Applied, thanks.

Regards,
-Denis

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to