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