]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SecurityPkg Variable: If a preexisting variable is rewritten with differ...
authorStar Zeng <star.zeng@intel.com>
Fri, 16 Aug 2013 03:19:45 +0000 (03:19 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Aug 2013 03:19:45 +0000 (03:19 +0000)
commit6e67fec07f7fe4033da696eb2d08c5617edaa590
treea88242283f04d83a5d177496bcf1884270222936
parent3d2f91ecdefae3e89c923c5a155b8acd0e645aec
MdeModulePkg/SecurityPkg Variable: If a preexisting variable is rewritten with different attributes, SetVariable() shall not modify the variable and shall return EFI_INVALID_PARAMETER.

Two exceptions to this rule:
1. No access attributes specified
2. The only attribute differing is EFI_VARIABLE_APPEND_WRITE

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14552 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c