Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize tcti in advance #839

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 5, 2023

  1. Initialize tcti in advance

    init_thread_func creates a thread and then initializes the tcti.
    When /dev/tpm0 does not exist, the thread is created. If other processes communicate with abrmd, the connection may be established. However, /dev/tpm0 does not exist, and init_thread_func releases resources. After the resources are released randomly, the resources may still be used by id_pid_mix_from_incall to randomly obtain the kernel dump in uint64.
    The patch initializes the tcti in advance to avoid concurrency.
    
    tpm2-software#838
    15058718379 authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    9220ceb View commit details
    Browse the repository at this point in the history