[PATCH v2 1/1] livepatch: Add using attribute to klp_func for using function show

2024-08-04 Thread zhangyongde.zyd
From: Wardenjohn One system may contains more than one livepatch module. We can see which patch is enabled. If some patches applied to one system modifing the same function, livepatch will use the function enabled on top of the function stack. However, we can not excatly know which function of wh

[PATCH v2 0/1] livepatch: Add using attribute to klp_func for using function

2024-08-04 Thread zhangyongde.zyd
This patch introduce one sysfs attribute of "using" to klp_func. For example, if there are serval patches make changes to function "meminfo_proc_show", the attribute "enabled" of all the patch is 1. With this attribute, we can easily know the version enabling belongs to which patch. Changes v1 =>

[PATCH] livepatch: Add using attribute to klp_func for using func show

2024-07-18 Thread zhangyongde.zyd
From: Wardenjohn One system may contains more than one livepatch module. We can see which patch is enabled. If some patches applied to one system modifing the same function, livepatch will use the function enabled on top of the function stack. However, we can not excatly know which function of wh