162306a36Sopenharmony_ciWhat:		/sys/kernel/livepatch
262306a36Sopenharmony_ciDate:		Nov 2014
362306a36Sopenharmony_ciKernelVersion:	3.19.0
462306a36Sopenharmony_ciContact:	live-patching@vger.kernel.org
562306a36Sopenharmony_ciDescription:
662306a36Sopenharmony_ci		Interface for kernel live patching
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci		The /sys/kernel/livepatch directory contains subdirectories for
962306a36Sopenharmony_ci		each loaded live patch module.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>
1262306a36Sopenharmony_ciDate:		Nov 2014
1362306a36Sopenharmony_ciKernelVersion:	3.19.0
1462306a36Sopenharmony_ciContact:	live-patching@vger.kernel.org
1562306a36Sopenharmony_ciDescription:
1662306a36Sopenharmony_ci		The patch directory contains subdirectories for each kernel
1762306a36Sopenharmony_ci		object (vmlinux or a module) in which it patched functions.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/enabled
2062306a36Sopenharmony_ciDate:		Nov 2014
2162306a36Sopenharmony_ciKernelVersion:	3.19.0
2262306a36Sopenharmony_ciContact:	live-patching@vger.kernel.org
2362306a36Sopenharmony_ciDescription:
2462306a36Sopenharmony_ci		A writable attribute that indicates whether the patched
2562306a36Sopenharmony_ci		code is currently applied.  Writing 0 will disable the patch
2662306a36Sopenharmony_ci		while writing 1 will re-enable the patch.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/transition
2962306a36Sopenharmony_ciDate:		Feb 2017
3062306a36Sopenharmony_ciKernelVersion:	4.12.0
3162306a36Sopenharmony_ciContact:	live-patching@vger.kernel.org
3262306a36Sopenharmony_ciDescription:
3362306a36Sopenharmony_ci		An attribute which indicates whether the patch is currently in
3462306a36Sopenharmony_ci		transition.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/force
3762306a36Sopenharmony_ciDate:		Nov 2017
3862306a36Sopenharmony_ciKernelVersion:	4.15.0
3962306a36Sopenharmony_ciContact:	live-patching@vger.kernel.org
4062306a36Sopenharmony_ciDescription:
4162306a36Sopenharmony_ci		A writable attribute that allows administrator to affect the
4262306a36Sopenharmony_ci		course of an existing transition. Writing 1 clears
4362306a36Sopenharmony_ci		TIF_PATCH_PENDING flag of all tasks and thus forces the tasks to
4462306a36Sopenharmony_ci		the patched or unpatched state. Administrator should not
4562306a36Sopenharmony_ci		use this feature without a clearance from a patch
4662306a36Sopenharmony_ci		distributor. Removal (rmmod) of patch modules is permanently
4762306a36Sopenharmony_ci		disabled when the feature is used. See
4862306a36Sopenharmony_ci		Documentation/livepatch/livepatch.rst for more information.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/<object>
5162306a36Sopenharmony_ciDate:		Nov 2014
5262306a36Sopenharmony_ciKernelVersion:	3.19.0
5362306a36Sopenharmony_ciContact:	live-patching@vger.kernel.org
5462306a36Sopenharmony_ciDescription:
5562306a36Sopenharmony_ci		The object directory contains subdirectories for each function
5662306a36Sopenharmony_ci		that is patched within the object.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/<object>/patched
5962306a36Sopenharmony_ciDate:		August 2022
6062306a36Sopenharmony_ciKernelVersion:	6.1.0
6162306a36Sopenharmony_ciContact:	live-patching@vger.kernel.org
6262306a36Sopenharmony_ciDescription:
6362306a36Sopenharmony_ci		An attribute which indicates whether the object is currently
6462306a36Sopenharmony_ci		patched.
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ciWhat:		/sys/kernel/livepatch/<patch>/<object>/<function,sympos>
6762306a36Sopenharmony_ciDate:		Nov 2014
6862306a36Sopenharmony_ciKernelVersion:	3.19.0
6962306a36Sopenharmony_ciContact:	live-patching@vger.kernel.org
7062306a36Sopenharmony_ciDescription:
7162306a36Sopenharmony_ci		The function directory contains attributes regarding the
7262306a36Sopenharmony_ci		properties and state of the patched function.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ci		The directory name contains the patched function name and a
7562306a36Sopenharmony_ci		sympos number corresponding to the nth occurrence of the symbol
7662306a36Sopenharmony_ci		name in kallsyms for the patched object.
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ci		There are currently no such attributes.
79