From: Yu Watanabe Date: Thu, 19 Sep 2024 10:08:06 +0000 (+0900) Subject: tpm2-util: update comment X-Git-Tag: v257-rc1~397^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b094398b0f0f82545dafa5ef88490054dd1ed48f;p=thirdparty%2Fsystemd.git tpm2-util: update comment has-tpm2 command is moved to systemd-analyze. Follow-up for 58e359604ffdca12bb4d2c5807b96e070611c0f6. --- diff --git a/src/shared/tpm2-util.h b/src/shared/tpm2-util.h index 06836976181..0bd9c3d9d1b 100644 --- a/src/shared/tpm2-util.h +++ b/src/shared/tpm2-util.h @@ -450,8 +450,8 @@ typedef struct { } systemd_tpm2_plugin_params; typedef enum Tpm2Support { - /* NOTE! The systemd-creds tool returns these flags 1:1 as exit status. Hence these flags are pretty - * much ABI! Hence, be extra careful when changing/extending these definitions. */ + /* NOTE! The systemd-analyze has-tpm2 command returns these flags 1:1 as exit status. Hence these + * flags are pretty much ABI! Hence, be extra careful when changing/extending these definitions. */ TPM2_SUPPORT_NONE = 0, /* no support */ TPM2_SUPPORT_FIRMWARE = 1 << 0, /* firmware reports TPM2 was used */ TPM2_SUPPORT_DRIVER = 1 << 1, /* the kernel has a driver loaded for it */