Skip to content
Commit a421980d authored by Dibyendu Roy's avatar Dibyendu Roy Committed by Gerrit - the friendly Code Review server
Browse files

Bluetooth: Replace %p with %pK



The %pK restrictions are used to eliminate exposing kernel addresses.
When kptr_restrict is set to "0" there are no restrictions. When
kptr_restrict is set to "1", kernel pointers printed using the %pK
format specifier will be replaced with 0's unless the user has
CAP_SYSLOG. When kptr_restrict is set to "2", kernel pointers printed
using %pK will be replaced with 0's regardless of privileges.

Change-Id: Ie56b7f253a55d4402c434502932a7c5fe56b2c00
Signed-off-by: default avatarDibyendu Roy <dibyen@codeaurora.org>
parent 8a871e8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment