aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2016-05-24 10:28:30 -0700
committerAndreas Blaesius <skate4life@gmx.de>2016-10-13 19:39:21 +0200
commitf0483fd257785bd7b3c340d6067bf62458274348 (patch)
tree6433b16b00ec7bf6165c1a5d839eecb0eec08f1e /net
parent1e5778a88980a142ebfc0b2b95add82798303551 (diff)
downloadkernel_samsung_espresso10-f0483fd257785bd7b3c340d6067bf62458274348.zip
kernel_samsung_espresso10-f0483fd257785bd7b3c340d6067bf62458274348.tar.gz
kernel_samsung_espresso10-f0483fd257785bd7b3c340d6067bf62458274348.tar.bz2
Replace %p with %pK to prevent leaking kernel address
BUG: 27532522 Change-Id: Ic0710a9a8cfc682acd88ecf3bbfeece2d798c4a4 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/xt_qtaguid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_qtaguid.c b/net/netfilter/xt_qtaguid.c
index aa5f091..6cfe790 100644
--- a/net/netfilter/xt_qtaguid.c
+++ b/net/netfilter/xt_qtaguid.c
@@ -1970,7 +1970,7 @@ static int qtaguid_ctrl_proc_read(char *page, char **num_items_returned,
f_count = atomic_long_read(
&sock_tag_entry->socket->file->f_count);
len = snprintf(outp, char_count,
- "sock=%p tag=0x%llx (uid=%u) pid=%u "
+ "sock=%pK tag=0x%llx (uid=%u) pid=%u "
"f_count=%lu\n",
sock_tag_entry->sk,
sock_tag_entry->tag, uid,