sysfs-kernel-livepatch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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>/<object>
  25. Date: Nov 2014
  26. KernelVersion: 3.19.0
  27. Contact: live-patching@vger.kernel.org
  28. Description:
  29. The object directory contains subdirectories for each function
  30. that is patched within the object.
  31. What: /sys/kernel/livepatch/<patch>/<object>/<function,sympos>
  32. Date: Nov 2014
  33. KernelVersion: 3.19.0
  34. Contact: live-patching@vger.kernel.org
  35. Description:
  36. The function directory contains attributes regarding the
  37. properties and state of the patched function.
  38. The directory name contains the patched function name and a
  39. sympos number corresponding to the nth occurrence of the symbol
  40. name in kallsyms for the patched object.
  41. There are currently no such attributes.