sysfs-kernel-livepatch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. What: /sys/kernel/livepatch
  2. Date: Nov 2014
  3. KernelVersion: 3.19.0
  4. Contact: live-patching@vger.kernel.org
  5. Description:
  6. Interface for kernel live patching
  7. The /sys/kernel/livepatch directory contains subdirectories for
  8. each loaded live patch module.
  9. What: /sys/kernel/livepatch/<patch>
  10. Date: Nov 2014
  11. KernelVersion: 3.19.0
  12. Contact: live-patching@vger.kernel.org
  13. Description:
  14. The patch directory contains subdirectories for each kernel
  15. object (vmlinux or a module) in which it patched functions.
  16. What: /sys/kernel/livepatch/<patch>/enabled
  17. Date: Nov 2014
  18. KernelVersion: 3.19.0
  19. Contact: live-patching@vger.kernel.org
  20. Description:
  21. A writable attribute that indicates whether the patched
  22. code is currently applied. Writing 0 will disable the patch
  23. while writing 1 will re-enable the patch.
  24. What: /sys/kernel/livepatch/<patch>/transition
  25. Date: Feb 2017
  26. KernelVersion: 4.12.0
  27. Contact: live-patching@vger.kernel.org
  28. Description:
  29. An attribute which indicates whether the patch is currently in
  30. transition.
  31. What: /sys/kernel/livepatch/<patch>/<object>
  32. Date: Nov 2014
  33. KernelVersion: 3.19.0
  34. Contact: live-patching@vger.kernel.org
  35. Description:
  36. The object directory contains subdirectories for each function
  37. that is patched within the object.
  38. What: /sys/kernel/livepatch/<patch>/<object>/<function,sympos>
  39. Date: Nov 2014
  40. KernelVersion: 3.19.0
  41. Contact: live-patching@vger.kernel.org
  42. Description:
  43. The function directory contains attributes regarding the
  44. properties and state of the patched function.
  45. The directory name contains the patched function name and a
  46. sympos number corresponding to the nth occurrence of the symbol
  47. name in kallsyms for the patched object.
  48. There are currently no such attributes.