Re: livepatch: old_name@old_addr scheme in livepatch sysfs directory

From
Jessica Yu <hidden>
Date
2015-11-01 01:53:11
Also in
lkml
Reply to
Chris J Arges, 2015-10-31
+++ Chris J Arges [30/10/15 22:44 -0500]:
The following directory structure will allow for cases when the same
function name exists in a single object.
/sys/kernel/livepatch/<patch>/<object>/<function@address>
Hi Chris, thanks for the patch.

I think the last time this issue was discussed, the conclusion was
that concatenating the address to the function name constitutes as an
information leak (as the sysfs entry is visible to non-root users).

One option suggested by Josh in that thread would be to do something
like "func.n", where n is just the nth occurrence of the symbol name.

Another option might be to keep the func@addr format but not make these
entries visible to non-root users.

Jessica
Thread (5 messages) 5 messages, 3 authors, last reply 2015-11-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help