Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/kernel/livepatch
0002 Date:           Nov 2014
0003 KernelVersion:  3.19.0
0004 Contact:        live-patching@vger.kernel.org
0005 Description:
0006                 Interface for kernel live patching
0007 
0008                 The /sys/kernel/livepatch directory contains subdirectories for
0009                 each loaded live patch module.
0010 
0011 What:           /sys/kernel/livepatch/<patch>
0012 Date:           Nov 2014
0013 KernelVersion:  3.19.0
0014 Contact:        live-patching@vger.kernel.org
0015 Description:
0016                 The patch directory contains subdirectories for each kernel
0017                 object (vmlinux or a module) in which it patched functions.
0018 
0019 What:           /sys/kernel/livepatch/<patch>/enabled
0020 Date:           Nov 2014
0021 KernelVersion:  3.19.0
0022 Contact:        live-patching@vger.kernel.org
0023 Description:
0024                 A writable attribute that indicates whether the patched
0025                 code is currently applied.  Writing 0 will disable the patch
0026                 while writing 1 will re-enable the patch.
0027 
0028 What:           /sys/kernel/livepatch/<patch>/transition
0029 Date:           Feb 2017
0030 KernelVersion:  4.12.0
0031 Contact:        live-patching@vger.kernel.org
0032 Description:
0033                 An attribute which indicates whether the patch is currently in
0034                 transition.
0035 
0036 What:           /sys/kernel/livepatch/<patch>/force
0037 Date:           Nov 2017
0038 KernelVersion:  4.15.0
0039 Contact:        live-patching@vger.kernel.org
0040 Description:
0041                 A writable attribute that allows administrator to affect the
0042                 course of an existing transition. Writing 1 clears
0043                 TIF_PATCH_PENDING flag of all tasks and thus forces the tasks to
0044                 the patched or unpatched state. Administrator should not
0045                 use this feature without a clearance from a patch
0046                 distributor. Removal (rmmod) of patch modules is permanently
0047                 disabled when the feature is used. See
0048                 Documentation/livepatch/livepatch.rst for more information.
0049 
0050 What:           /sys/kernel/livepatch/<patch>/<object>
0051 Date:           Nov 2014
0052 KernelVersion:  3.19.0
0053 Contact:        live-patching@vger.kernel.org
0054 Description:
0055                 The object directory contains subdirectories for each function
0056                 that is patched within the object.
0057 
0058 What:           /sys/kernel/livepatch/<patch>/<object>/<function,sympos>
0059 Date:           Nov 2014
0060 KernelVersion:  3.19.0
0061 Contact:        live-patching@vger.kernel.org
0062 Description:
0063                 The function directory contains attributes regarding the
0064                 properties and state of the patched function.
0065 
0066                 The directory name contains the patched function name and a
0067                 sympos number corresponding to the nth occurrence of the symbol
0068                 name in kallsyms for the patched object.
0069 
0070                 There are currently no such attributes.