aboutsummaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorAntoine Tenart <atenart@kernel.org>2021-11-22 15:24:56 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-22 14:53:45 +0000
commitcb902b332f9545635911063b671927defa5866bf (patch)
tree4574da77a58f6d22e3bad4d40c6ae7bbea2c5dcb /net/core
parente968b1b3e9b86c4751faea019a5d340fee9e9142 (diff)
sections: global data can be in .bss
When checking an address is located in a global data section also check for the .bss section as global variables initialized to 0 can be in there (-fzero-initialized-in-bss). This was found when looking at ensure_safe_net_sysctl which was failing to detect non-init sysctl pointing to a global data section when the data was in the .bss section. Signed-off-by: Antoine Tenart <atenart@kernel.org> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions