]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
Add the EDKII_VARIABLE_LOCK_PROTOCOL implementation in SecurityPkg variable drivers.
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / RuntimeDxe / VariableRuntimeDxe.inf
index 785808419ddbc58c04095fa23c2881d19f437296..dbd7d6e470a4c8fae10f8f7a0ee140b111e21643 100644 (file)
@@ -1,7 +1,12 @@
 ## @file\r
 #  Component description file for Authenticated Variable module.\r
 #\r
-# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+#  Caution: This module requires additional review when modified.\r
+#  This driver will have external input - variable data.\r
+#  This external input must be validated carefully to avoid security issue like\r
+#  buffer overflow, integer overflow.\r
+#\r
+# Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution. The full text of the license may be found at\r
   UefiDriverEntryPoint\r
   PcdLib\r
   BaseCryptLib\r
-  PlatformSecureLib  \r
+  PlatformSecureLib\r
+  HobLib\r
 \r
 [Protocols]\r
   gEfiFirmwareVolumeBlockProtocolGuid           ## SOMETIMES_CONSUMES\r
   gEfiVariableWriteArchProtocolGuid             ## ALWAYS_PRODUCES\r
   gEfiVariableArchProtocolGuid                  ## ALWAYS_PRODUCES\r
   gEfiFaultTolerantWriteProtocolGuid            ## SOMETIMES_CONSUMES\r
+  gEdkiiVariableLockProtocolGuid                ## ALWAYS_PRODUCES\r
 \r
 [Guids]\r
-  gEfiAuthenticatedVariableGuid                 ## PRODUCES ## Configuration Table Guid \r
+  gEfiAuthenticatedVariableGuid                 ## PRODUCES ## Configuration Table Guid\r
   gEfiGlobalVariableGuid                        ## PRODUCES ## Variable Guid\r
-  gEfiEventVirtualAddressChangeGuid             ## PRODUCES ## Event\r
-  gEfiCertRsa2048Sha256Guid\r
+  gEfiEventVirtualAddressChangeGuid             ## CONSUMES ## Event\r
+  gEfiCertTypeRsa2048Sha256Guid\r
   gEfiImageSecurityDatabaseGuid\r
   gEfiCertX509Guid\r
   gEfiCertPkcs7Guid\r
-  gEfiCertRsa2048Guid  \r
+  gEfiCertRsa2048Guid\r
+  gEfiSecureBootEnableDisableGuid\r
+  gEfiCustomModeEnableGuid\r
+  gEfiSystemNvDataFvGuid                        ## CONSUMES\r
+  gEfiCertDbGuid\r
+  gEfiHardwareErrorVariableGuid                 ## SOMETIMES_CONSUMES\r
+  gEfiEndOfDxeEventGroupGuid                    ## CONSUMES ## Event\r
 \r
 [Pcd]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize\r
@@ -80,8 +93,7 @@
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdMaxAppendVariableSize\r
-  \r
+\r
 [FeaturePcd]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics  ## SOMETIME_CONSUMES (statistic the information of variable.)\r
 \r
 #   EVENT_TYPE_NOTIFY_SIGNAL                    ## PRODUCES\r
 #\r
 #\r
-    \r
+\r