Kernel management method, device and computer program product
First Claim
1. 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.
3 Assignments
0 Petitions
Accused Products
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.
4 Citations
12 Claims
-
1. 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. - View Dependent Claims (2, 3, 4)
-
-
5. 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. - View Dependent Claims (6, 7, 8)
-
-
9. 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. - View Dependent Claims (10, 11, 12)
-
Specification