Rate This Document
Findability
Accuracy
Completeness
Readability

tlogcat Log

Case No.

4.1.10

Test Objective

Test the tlogcat log tool.

Test Networking

See Test Networking.

Prerequisites

  1. The TrustZone kit has been burnt into the server and the TrustZone license has been activated.
  2. The REE patch has been loaded to the server. The CA and TA can be loaded and can communicate with each other properly.

Test Procedure

  1. Log in to the REE OS and load the TrustZone REE patch. (See Expected Result 1.)

    insmod tzdriver

    /usr/bin/teecd &

  2. Use the tlogcat tool to view TEE security logs. (See Expected Result 2.)
  3. Run the test CA and TA, and use the tlogcat tool to view TEE security logs. (See Expected Result 3.)
  4. Run the tlogcat -f & command. (See Expected Result 4.)
  5. Repeat 3. (See Expected Result 5.)

Expected Result

  1. The REE patch is loaded and no error information is displayed.
  2. The tlogcat tool is executed successfully. The TEE security log information is displayed, including the log information about all CPU physical cores initialized by the secure OS.
  3. The TEE security logs contain new information about the test TA, which meets the expectation.
  4. The command is executed successfully. You can run the ps command to view the resident tlogcat process.
  5. The TEE security logs contain new information about the test TA, which meets the expectation. A log file named after the TA UUID is generated in the /var/log/tee/ directory, and the log file records the log information about the test TA.

Test Result

  

Remarks