Replace %p with %pK to prevent leaking kernel address
BUG: 27532522 Change-Id: Ic0710a9a8cfc682acd88ecf3bbfeece2d798c4a4 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
This commit is contained in:
parent
d72c72fba3
commit
afa1ef5fb7
|
@ -1928,7 +1928,7 @@ static int qtaguid_ctrl_proc_show(struct seq_file *m, void *v)
|
|||
);
|
||||
f_count = atomic_long_read(
|
||||
&sock_tag_entry->socket->file->f_count);
|
||||
seq_printf(m, "sock=%p tag=0x%llx (uid=%u) pid=%u "
|
||||
seq_printf(m, "sock=%pK tag=0x%llx (uid=%u) pid=%u "
|
||||
"f_count=%lu\n",
|
||||
sock_tag_entry->sk,
|
||||
sock_tag_entry->tag, uid,
|
||||
|
|
Loading…
Reference in New Issue