diff options
Diffstat (limited to 'Documentation/ABI/testing/sysfs-kernel-livepatch')
-rw-r--r-- | Documentation/ABI/testing/sysfs-kernel-livepatch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-kernel-livepatch b/Documentation/ABI/testing/sysfs-kernel-livepatch new file mode 100644 index 000000000000..5bf42a840b22 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-kernel-livepatch | |||
@@ -0,0 +1,44 @@ | |||
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 | |||
8 | The /sys/kernel/livepatch directory contains subdirectories for | ||
9 | each loaded live patch module. | ||
10 | |||
11 | What: /sys/kernel/livepatch/<patch> | ||
12 | Date: Nov 2014 | ||
13 | KernelVersion: 3.19.0 | ||
14 | Contact: live-patching@vger.kernel.org | ||
15 | Description: | ||
16 | The patch directory contains subdirectories for each kernel | ||
17 | object (vmlinux or a module) in which it patched functions. | ||
18 | |||
19 | What: /sys/kernel/livepatch/<patch>/enabled | ||
20 | Date: Nov 2014 | ||
21 | KernelVersion: 3.19.0 | ||
22 | Contact: live-patching@vger.kernel.org | ||
23 | Description: | ||
24 | A writable attribute that indicates whether the patched | ||
25 | code is currently applied. Writing 0 will disable the patch | ||
26 | while writing 1 will re-enable the patch. | ||
27 | |||
28 | What: /sys/kernel/livepatch/<patch>/<object> | ||
29 | Date: Nov 2014 | ||
30 | KernelVersion: 3.19.0 | ||
31 | Contact: live-patching@vger.kernel.org | ||
32 | Description: | ||
33 | The object directory contains subdirectories for each function | ||
34 | that is patched within the object. | ||
35 | |||
36 | What: /sys/kernel/livepatch/<patch>/<object>/<function> | ||
37 | Date: Nov 2014 | ||
38 | KernelVersion: 3.19.0 | ||
39 | Contact: live-patching@vger.kernel.org | ||
40 | Description: | ||
41 | The function directory contains attributes regarding the | ||
42 | properties and state of the patched function. | ||
43 | |||
44 | There are currently no such attributes. | ||