brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 3735d86 Raw
87 lines · plain
1What:		/sys/kernel/livepatch2Date:		Nov 20143KernelVersion:	3.19.04Contact:	live-patching@vger.kernel.org5Description:6		Interface for kernel live patching7 8		The /sys/kernel/livepatch directory contains subdirectories for9		each loaded live patch module.10 11What:		/sys/kernel/livepatch/<patch>12Date:		Nov 201413KernelVersion:	3.19.014Contact:	live-patching@vger.kernel.org15Description:16		The patch directory contains subdirectories for each kernel17		object (vmlinux or a module) in which it patched functions.18 19What:		/sys/kernel/livepatch/<patch>/enabled20Date:		Nov 201421KernelVersion:	3.19.022Contact:	live-patching@vger.kernel.org23Description:24		A writable attribute that indicates whether the patched25		code is currently applied.  Writing 0 will disable the patch26		while writing 1 will re-enable the patch.27 28What:		/sys/kernel/livepatch/<patch>/transition29Date:		Feb 201730KernelVersion:	4.12.031Contact:	live-patching@vger.kernel.org32Description:33		An attribute which indicates whether the patch is currently in34		transition.35 36What:		/sys/kernel/livepatch/<patch>/force37Date:		Nov 201738KernelVersion:	4.15.039Contact:	live-patching@vger.kernel.org40Description:41		A writable attribute that allows administrator to affect the42		course of an existing transition. Writing 1 clears43		TIF_PATCH_PENDING flag of all tasks and thus forces the tasks to44		the patched or unpatched state. Administrator should not45		use this feature without a clearance from a patch46		distributor. Removal (rmmod) of patch modules is permanently47		disabled when the feature is used. See48		Documentation/livepatch/livepatch.rst for more information.49 50What:		/sys/kernel/livepatch/<patch>/replace51Date:		Jun 202452KernelVersion:	6.11.053Contact:	live-patching@vger.kernel.org54Description:55		An attribute which indicates whether the patch supports56		atomic-replace.57 58What:		/sys/kernel/livepatch/<patch>/<object>59Date:		Nov 201460KernelVersion:	3.19.061Contact:	live-patching@vger.kernel.org62Description:63		The object directory contains subdirectories for each function64		that is patched within the object.65 66What:		/sys/kernel/livepatch/<patch>/<object>/patched67Date:		August 202268KernelVersion:	6.1.069Contact:	live-patching@vger.kernel.org70Description:71		An attribute which indicates whether the object is currently72		patched.73 74What:		/sys/kernel/livepatch/<patch>/<object>/<function,sympos>75Date:		Nov 201476KernelVersion:	3.19.077Contact:	live-patching@vger.kernel.org78Description:79		The function directory contains attributes regarding the80		properties and state of the patched function.81 82		The directory name contains the patched function name and a83		sympos number corresponding to the nth occurrence of the symbol84		name in kallsyms for the patched object.85 86		There are currently no such attributes.87