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