The invention discloses a Linux process
code segment measurement enhancement method based on a dual-
system architecture. The method comprises the following steps: S1, collecting a process reference value; and S2, adding a kernel key
data monitoring mechanism. And S3, measuring the process in real time. Based on a trusted execution environment, a prototype
system for measuring the process in real time when the Linux
operating system runs is realized on the basis of trusted startup, and the prototype
system provides a mechanism for immediately initiating real-time measurement when kernel key data operation is abnormal while periodically measuring a process
code segment. Kernel key data comprises a
system call table, an interrupt descriptor table and SELinux enabling and configuration information, and the scheme solves a certain TOCTTOU problem and enhances the security of the Linux system. According to the method, real-time measurement on the processes related to kernel key data operation during operation of the computing component
operating system is completed, the safety of the system is enhanced in the operation process of the
operating system, the credibility of a computing platform is guaranteed, and the method conforms to the active immune credible idea.