~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-kernel-livepatch

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-kernel-livepatch (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-kernel-livepatch (Version linux-5.0.21)


  1 What:           /sys/kernel/livepatch               1 What:           /sys/kernel/livepatch
  2 Date:           Nov 2014                            2 Date:           Nov 2014
  3 KernelVersion:  3.19.0                              3 KernelVersion:  3.19.0
  4 Contact:        live-patching@vger.kernel.org       4 Contact:        live-patching@vger.kernel.org
  5 Description:                                        5 Description:
  6                 Interface for kernel live patc      6                 Interface for kernel live patching
  7                                                     7 
  8                 The /sys/kernel/livepatch dire      8                 The /sys/kernel/livepatch directory contains subdirectories for
  9                 each loaded live patch module.      9                 each loaded live patch module.
 10                                                    10 
 11 What:           /sys/kernel/livepatch/<patch>      11 What:           /sys/kernel/livepatch/<patch>
 12 Date:           Nov 2014                           12 Date:           Nov 2014
 13 KernelVersion:  3.19.0                             13 KernelVersion:  3.19.0
 14 Contact:        live-patching@vger.kernel.org      14 Contact:        live-patching@vger.kernel.org
 15 Description:                                       15 Description:
 16                 The patch directory contains s     16                 The patch directory contains subdirectories for each kernel
 17                 object (vmlinux or a module) i     17                 object (vmlinux or a module) in which it patched functions.
 18                                                    18 
 19 What:           /sys/kernel/livepatch/<patch>/     19 What:           /sys/kernel/livepatch/<patch>/enabled
 20 Date:           Nov 2014                           20 Date:           Nov 2014
 21 KernelVersion:  3.19.0                             21 KernelVersion:  3.19.0
 22 Contact:        live-patching@vger.kernel.org      22 Contact:        live-patching@vger.kernel.org
 23 Description:                                       23 Description:
 24                 A writable attribute that indi     24                 A writable attribute that indicates whether the patched
 25                 code is currently applied.  Wr     25                 code is currently applied.  Writing 0 will disable the patch
 26                 while writing 1 will re-enable     26                 while writing 1 will re-enable the patch.
 27                                                    27 
 28 What:           /sys/kernel/livepatch/<patch>/     28 What:           /sys/kernel/livepatch/<patch>/transition
 29 Date:           Feb 2017                           29 Date:           Feb 2017
 30 KernelVersion:  4.12.0                             30 KernelVersion:  4.12.0
 31 Contact:        live-patching@vger.kernel.org      31 Contact:        live-patching@vger.kernel.org
 32 Description:                                       32 Description:
 33                 An attribute which indicates w     33                 An attribute which indicates whether the patch is currently in
 34                 transition.                        34                 transition.
 35                                                    35 
                                                   >>  36 What:           /sys/kernel/livepatch/<patch>/signal
                                                   >>  37 Date:           Nov 2017
                                                   >>  38 KernelVersion:  4.15.0
                                                   >>  39 Contact:        live-patching@vger.kernel.org
                                                   >>  40 Description:
                                                   >>  41                 A writable attribute that allows administrator to affect the
                                                   >>  42                 course of an existing transition. Writing 1 sends a fake
                                                   >>  43                 signal to all remaining blocking tasks. The fake signal
                                                   >>  44                 means that no proper signal is delivered (there is no data in
                                                   >>  45                 signal pending structures). Tasks are interrupted or woken up,
                                                   >>  46                 and forced to change their patched state.
                                                   >>  47 
 36 What:           /sys/kernel/livepatch/<patch>/     48 What:           /sys/kernel/livepatch/<patch>/force
 37 Date:           Nov 2017                           49 Date:           Nov 2017
 38 KernelVersion:  4.15.0                             50 KernelVersion:  4.15.0
 39 Contact:        live-patching@vger.kernel.org      51 Contact:        live-patching@vger.kernel.org
 40 Description:                                       52 Description:
 41                 A writable attribute that allo     53                 A writable attribute that allows administrator to affect the
 42                 course of an existing transiti     54                 course of an existing transition. Writing 1 clears
 43                 TIF_PATCH_PENDING flag of all      55                 TIF_PATCH_PENDING flag of all tasks and thus forces the tasks to
 44                 the patched or unpatched state     56                 the patched or unpatched state. Administrator should not
 45                 use this feature without a cle     57                 use this feature without a clearance from a patch
 46                 distributor. Removal (rmmod) o     58                 distributor. Removal (rmmod) of patch modules is permanently
 47                 disabled when the feature is u     59                 disabled when the feature is used. See
 48                 Documentation/livepatch/livepa !!  60                 Documentation/livepatch/livepatch.txt for more information.
 49                                                << 
 50 What:           /sys/kernel/livepatch/<patch>/ << 
 51 Date:           Jun 2024                       << 
 52 KernelVersion:  6.11.0                         << 
 53 Contact:        live-patching@vger.kernel.org  << 
 54 Description:                                   << 
 55                 An attribute which indicates w << 
 56                 atomic-replace.                << 
 57                                                    61 
 58 What:           /sys/kernel/livepatch/<patch>/     62 What:           /sys/kernel/livepatch/<patch>/<object>
 59 Date:           Nov 2014                           63 Date:           Nov 2014
 60 KernelVersion:  3.19.0                             64 KernelVersion:  3.19.0
 61 Contact:        live-patching@vger.kernel.org      65 Contact:        live-patching@vger.kernel.org
 62 Description:                                       66 Description:
 63                 The object directory contains      67                 The object directory contains subdirectories for each function
 64                 that is patched within the obj     68                 that is patched within the object.
 65                                                << 
 66 What:           /sys/kernel/livepatch/<patch>/ << 
 67 Date:           August 2022                    << 
 68 KernelVersion:  6.1.0                          << 
 69 Contact:        live-patching@vger.kernel.org  << 
 70 Description:                                   << 
 71                 An attribute which indicates w << 
 72                 patched.                       << 
 73                                                    69 
 74 What:           /sys/kernel/livepatch/<patch>/     70 What:           /sys/kernel/livepatch/<patch>/<object>/<function,sympos>
 75 Date:           Nov 2014                           71 Date:           Nov 2014
 76 KernelVersion:  3.19.0                             72 KernelVersion:  3.19.0
 77 Contact:        live-patching@vger.kernel.org      73 Contact:        live-patching@vger.kernel.org
 78 Description:                                       74 Description:
 79                 The function directory contain     75                 The function directory contains attributes regarding the
 80                 properties and state of the pa     76                 properties and state of the patched function.
 81                                                    77 
 82                 The directory name contains th     78                 The directory name contains the patched function name and a
 83                 sympos number corresponding to     79                 sympos number corresponding to the nth occurrence of the symbol
 84                 name in kallsyms for the patch     80                 name in kallsyms for the patched object.
 85                                                    81 
 86                 There are currently no such at     82                 There are currently no such attributes.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php