18c2ecf20Sopenharmony_ciWhat:		/sys/kernel/livepatch
28c2ecf20Sopenharmony_ciDate:		Nov 2014
38c2ecf20Sopenharmony_ciKernelVersion:	3.19.0
48c2ecf20Sopenharmony_ciContact:	live-patching@vger.kernel.org
58c2ecf20Sopenharmony_ciDescription:
68c2ecf20Sopenharmony_ci		Interface for kernel live patching
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci		The /sys/kernel/livepatch directory contains subdirectories for
98c2ecf20Sopenharmony_ci		each loaded live patch module.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>
128c2ecf20Sopenharmony_ciDate:		Nov 2014
138c2ecf20Sopenharmony_ciKernelVersion:	3.19.0
148c2ecf20Sopenharmony_ciContact:	live-patching@vger.kernel.org
158c2ecf20Sopenharmony_ciDescription:
168c2ecf20Sopenharmony_ci		The patch directory contains subdirectories for each kernel
178c2ecf20Sopenharmony_ci		object (vmlinux or a module) in which it patched functions.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/enabled
208c2ecf20Sopenharmony_ciDate:		Nov 2014
218c2ecf20Sopenharmony_ciKernelVersion:	3.19.0
228c2ecf20Sopenharmony_ciContact:	live-patching@vger.kernel.org
238c2ecf20Sopenharmony_ciDescription:
248c2ecf20Sopenharmony_ci		A writable attribute that indicates whether the patched
258c2ecf20Sopenharmony_ci		code is currently applied.  Writing 0 will disable the patch
268c2ecf20Sopenharmony_ci		while writing 1 will re-enable the patch.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/transition
298c2ecf20Sopenharmony_ciDate:		Feb 2017
308c2ecf20Sopenharmony_ciKernelVersion:	4.12.0
318c2ecf20Sopenharmony_ciContact:	live-patching@vger.kernel.org
328c2ecf20Sopenharmony_ciDescription:
338c2ecf20Sopenharmony_ci		An attribute which indicates whether the patch is currently in
348c2ecf20Sopenharmony_ci		transition.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/force
378c2ecf20Sopenharmony_ciDate:		Nov 2017
388c2ecf20Sopenharmony_ciKernelVersion:	4.15.0
398c2ecf20Sopenharmony_ciContact:	live-patching@vger.kernel.org
408c2ecf20Sopenharmony_ciDescription:
418c2ecf20Sopenharmony_ci		A writable attribute that allows administrator to affect the
428c2ecf20Sopenharmony_ci		course of an existing transition. Writing 1 clears
438c2ecf20Sopenharmony_ci		TIF_PATCH_PENDING flag of all tasks and thus forces the tasks to
448c2ecf20Sopenharmony_ci		the patched or unpatched state. Administrator should not
458c2ecf20Sopenharmony_ci		use this feature without a clearance from a patch
468c2ecf20Sopenharmony_ci		distributor. Removal (rmmod) of patch modules is permanently
478c2ecf20Sopenharmony_ci		disabled when the feature is used. See
488c2ecf20Sopenharmony_ci		Documentation/livepatch/livepatch.rst for more information.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/<object>
518c2ecf20Sopenharmony_ciDate:		Nov 2014
528c2ecf20Sopenharmony_ciKernelVersion:	3.19.0
538c2ecf20Sopenharmony_ciContact:	live-patching@vger.kernel.org
548c2ecf20Sopenharmony_ciDescription:
558c2ecf20Sopenharmony_ci		The object directory contains subdirectories for each function
568c2ecf20Sopenharmony_ci		that is patched within the object.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/<object>/<function,sympos>
598c2ecf20Sopenharmony_ciDate:		Nov 2014
608c2ecf20Sopenharmony_ciKernelVersion:	3.19.0
618c2ecf20Sopenharmony_ciContact:	live-patching@vger.kernel.org
628c2ecf20Sopenharmony_ciDescription:
638c2ecf20Sopenharmony_ci		The function directory contains attributes regarding the
648c2ecf20Sopenharmony_ci		properties and state of the patched function.
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci		The directory name contains the patched function name and a
678c2ecf20Sopenharmony_ci		sympos number corresponding to the nth occurrence of the symbol
688c2ecf20Sopenharmony_ci		name in kallsyms for the patched object.
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci		There are currently no such attributes.
71