livepatch sysfs API issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Here's another issue [1] which Jessica found.  It affects the livepatch
sysfs API, so we should probably fix it soon before we get actual users.

Here's our current sysfs layout for displaying patched function names:

  /sys/kernel/livepatch/<patch>/<object>/<func>

A problem occurs when patching two distinct functions which have the
same name:

  sysfs: cannot create duplicate filename '/kernel/livepatch/kpatch_s_next_ambig/vmlinux/s_next'

Does anybody rely on the "func" sysfs entry?  I suppose our options are
to either remove "func" completely or replace it with something more
unique like the function address.

[1] https://github.com/dynup/kpatch/issues/493

-- 
Josh
--
To unsubscribe from this list: send the line "unsubscribe live-patching" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux