Kernel management method, device and computer program product
AssigneeEMC IP Holding Company LLC
InventorsYizhou Zhou, Zhibin Zhang
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure relate to a method, device and computer program product for kernel management. The method comprises: receiving, from a server, a plurality of instances of a kernel module to be loaded into a kernel, the plurality of instances corresponding to a plurality of candidate versions, determining a current version of the kernel in response to the kernel being started or updated, and loading, to the kernel, an instance of the plurality of instances corresponding to the current version. Embodiments of the present disclosure may improve the security of the operating system, meet close-source requirement of a commercial operating system and also simplify the process of the kernel module referring to one or more APIs.
Claims12
A method of kernel management, comprising:
- receiving, from a server, a plurality of instances of a kernel module to be loaded into a kernel, the plurality of instances corresponding to a plurality of candidate versions of the kernel, wherein the plurality of candidate versions comprises a current version of the kernel;
- determining the current version of the kernel in response to the kernel being started or updated;
- and
- loading, to the kernel, an instance of the plurality of instances corresponding to the current version, wherein the loading comprises updating an application programming interface (API) table of the instance, the API table comprising an address, in the kernel, of an API used by the instance.
An electronic device, comprising:
- at least one central processing unit;
- and
- at least one memory coupled to the at least one central processing unit and storing machine-executable instructions, the instructions, when executed by the at least one central processing unit, causing the electronic device to perform a method, the method, comprising:
- receiving, from a server, a plurality of instances of a kernel module to be loaded into a kernel, the plurality of instances corresponding to a plurality of candidate versions of the kernel, wherein the plurality of candidate versions comprises a current version of the kernel;
- determining the current version of the kernel in response to the kernel being started or updated;
- and
- loading an instance of the plurality of instances corresponding to the current version to the kernel, wherein the loading comprises updating an application programming interface (API) table of the instance, the API table comprising an address, in the kernel, of an API used by the instance.
A computer program product tangibly stored on a non-transient computer readable medium and including machine executable instructions which, when executed, cause the machine to perform a method, the method comprising:
- receiving, from a server, a plurality of instances of a kernel module to be loaded into a kernel, the plurality of instances corresponding to a plurality of candidate versions of the kernel, wherein the plurality of candidate versions comprises a current version of the kernel;
- determining the current version of the kernel in response to the kernel being started or updated;
- and
- loading, to the kernel, an instance of the plurality of instances corresponding to the current version, wherein the loading comprises updating an application programming interface (API) table of the instance, the API table comprising an address, in the kernel, of an API used by the instance.
Dependencies are inferred from the claim text.