# Re: livepatch: old\_name@old\_addr scheme in livepatch sysfs directory

- From: Jiri Kosina \<hidden\>
- Date: 2015-11-01 09:07:25 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2015/11/4611299
- Thread: https://ratatoskr.run/linux-api/2015/10/4611086/t.md

```text
On Sat, 31 Oct 2015, Chris J Arges wrote:

> Makes sense to me. Is there a reason why the sysfs entries are visible
> to non-root users?

Well, kptr_restrict applies only to values printed using '%pK'. So if the 
sysfs handler is using other printk() format string to print the pointer, 
it'll be leaked out (and should eventually be fixed).

Thanks,

-- 
Jiri Kosina
SUSE Labs
```
