]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'kallsyms-restrictions'
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Nov 2017 00:33:33 +0000 (16:33 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Nov 2017 00:33:33 +0000 (16:33 -0800)
commitdcc1394041efa805ae8ec50d9d7ced73d60ea905
tree964f879da4eaa770214ea79850d53b52729c20d1
parent58cf9e9eb4aeecfefddd8650101fdc1f3013d3eb
parent621c64796340fd0564bbdfe890354a71e85a6173
Merge branch 'kallsyms-restrictions'

Merge /proc/kallsyms pointer value restrictions.

Instead of using %pK, and making it about root access (at the wrong
time, no less), make the whole choice of whether to show the actual
pointer value be very explicit to the kallsyms code.

In particular, we can now default to not doing so, and yet avoid
annoying kernel profiling by actually looking at whether kernel
profiling is allowed or not (by default it is not).

This is all mostly preparation for the real "let's stop leaking kernel
addresses" work that Tobin Harding is working on.

Small steps.

* kallsyms-restrictions:
  stop using '%pK' for /proc/kallsyms pointer values