summaryrefslogtreecommitdiff
path: root/gril
diff options
context:
space:
mode:
authorJonas Bonn <jonas@norrbonn.se>2018-10-17 15:36:10 +0200
committerDenis Kenzior <denkenz@gmail.com>2018-10-17 09:56:27 -0500
commit67701b1c40cc088c54027ba06e85ed5ec2727790 (patch)
tree1d541fe75c16be2fa607d9ac54516d36cfff13ee /gril
parentef6c257a3e78e5efbfa07971311427602553b483 (diff)
downloadofono-67701b1c40cc088c54027ba06e85ed5ec2727790.tar.gz
drivers: constify vtables
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.
Diffstat (limited to 'gril')
0 files changed, 0 insertions, 0 deletions