aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2022-02-08 14:53:45 -0800
committerKees Cook <[email protected]>2022-02-13 16:50:07 -0800
commitd694dbaefd6fa6bdde84b704779eab53942753a5 (patch)
tree4a6dacecc5f1886cf5c3f50da348cdb1d2330a70 /scripts/gdb/linux
parentf0202b8ca48cef152d4cdf775f39be6d3b372e1e (diff)
Compiler Attributes: Add __overloadable for Clang
In order for FORTIFY_SOURCE to use __pass_object_size on an "extern inline" function, as all the fortified string functions are, the functions must be marked as being overloadable (i.e. different prototypes due to the implicitly injected object size arguments). This allows the __pass_object_size versions to take precedence. Cc: Nathan Chancellor <[email protected]> Cc: [email protected] Reviewed-by: Miguel Ojeda <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions