forked from confidential-containers/guest-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AA: avoid creating AAEL if it is disabled
Before this commit, if we disabled eventlog recording in AA's config, there will still be a file `/run/attestation-agent/eventlog` but with no contents. This file would be collected by tdx attester, treated as a valid AAEL. But on CoCo-AS side the AAEL parser will fail because nothing is in it. This commit will avoid creating this file once we disabled in AA's config. Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
- Loading branch information
Showing
1 changed file
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters