]> git.baikalelectronics.ru Git - kernel.git/commit
srcu: Avoid srcutorture security-based pointer obfuscation
authorPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 29 Jun 2019 00:11:10 +0000 (17:11 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Thu, 1 Aug 2019 21:05:51 +0000 (14:05 -0700)
commit665b208676d70735412f2710b2574779bf2c9330
tree2f300b0292ce3946bed6c36c691176c3c6a81005
parent944c217beff49eaa2a8ad96eda973ae8f6506755
srcu: Avoid srcutorture security-based pointer obfuscation

Because pointer output is now obfuscated, and because what you really
want to know is whether or not the callback lists are empty, this commit
replaces the srcu_data structure's head callback pointer printout with
a single character that is "." is the callback list is empty or "C"
otherwise.

This is the only remaining user of rcu_segcblist_head(), so this
commit also removes this function's definition.  It also turns out that
rcu_segcblist_tail() no longer has any callers, so this commit removes
that function's definition while in the area.  They were both marked
"Interim", and their end has come.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/rcu_segcblist.h
kernel/rcu/srcutree.c