-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kpatch: Add subcommand '--active-functions' to adjust new sysfs attri…
…bute 'stack_order' of livepatch Add an subcommand of kpatch list with '--active-functions' option to adjust kernel new attribute 'stack_order' of livepatch of kernel v6.13 or later. Now, using 'kpatch list --active-functions' can output the enabling function in the system and the relationship from the enabling function to its object and its related module. For older kernel, which is not support 'stack_order' attribute, if there are just one klp module loaded in the system, we support to output the active functions. However, if there are more than one klp module loaded, we can not output the active functions becase the information without 'stack_order' is not accurate. Suggested-by: Joe Lawrence <[email protected]> Signed-off-by: Wardenjohn <[email protected]>
- Loading branch information
1 parent
5787dcd
commit e9b233d
Showing
2 changed files
with
116 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters