]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.c
SecurityPkg: Update PlatformSecureLibNull with PCD to get physical presence.
authorLiming Gao <liming.gao@intel.com>
Thu, 23 Jun 2016 09:52:33 +0000 (17:52 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 29 Jun 2016 01:43:00 +0000 (09:43 +0800)
commitc99bcf3d8aa5c098881360e8598b4c9e612d0a2b
tree724c1eab212ed91cc2639a0db12b535b98a4cdf0
parente2b083de916cfc56a227df6f4ef67202cf5449c8
SecurityPkg: Update PlatformSecureLibNull with PCD to get physical presence.

This is an incompatible change. It uses PcdUserPhysicalPresence value instead
of hard code TRUE. Because PcdUserPhysicalPresence default value is FALSE,
this patch changes UserPhysicalPresent() return value from TRUE to FALSE.

From Security point, it is not safe to always return TRUE. If user wants this
behavior, he can still configure PcdUserPhysicalPresence value to TRUE in
the platform DSC file.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.c
SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf