X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SecurityPkg%2FLibrary%2FPlatformSecureLibNull%2FPlatformSecureLibNull.c;fp=SecurityPkg%2FLibrary%2FPlatformSecureLibNull%2FPlatformSecureLibNull.c;h=0c6ded22f3e6d330889a5eb7000756de6bab28ea;hp=8dc07ec74a10967a7cc7e65ca56a5989a95b591b;hb=b3548d32ddb553a9e95503457c66d11462622d16;hpb=5a702acd3df099307d9bae0725f97b52b4895382 diff --git a/SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.c b/SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.c index 8dc07ec74a..0c6ded22f3 100644 --- a/SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.c +++ b/SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.c @@ -1,16 +1,16 @@ /** @file - NULL PlatformSecureLib instance does NOT really detect whether a physical present + NULL PlatformSecureLib instance does NOT really detect whether a physical present user exists but return TRUE directly. This instance can be used to verify security related features during platform enabling and development. It should be replaced by a platform-specific method(e.g. Button pressed) in a real platform for product. -Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.
-This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at +Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
+This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ @@ -20,7 +20,7 @@ BOOLEAN mUserPhysicalPresence = FALSE; /** This function provides a platform-specific method to detect whether the platform - is operating by a physically present user. + is operating by a physically present user. Programmatic changing of platform security policy (such as disable Secure Boot, or switch between Standard/Custom Secure Boot mode) MUST NOT be possible during @@ -29,7 +29,7 @@ BOOLEAN mUserPhysicalPresence = FALSE; NOTE THAT: This function cannot depend on any EFI Variable Service since they are not available when this function is called in AuthenticateVariable driver. - + @retval TRUE The platform is operated by a physically present user. @retval FALSE The platform is NOT operated by a physically present user. @@ -40,7 +40,7 @@ UserPhysicalPresent ( VOID ) { - return mUserPhysicalPresence; + return mUserPhysicalPresence; }