commit | 85feb13037fba1df6a26417b3e358cb2a4f53050 | [log] [tgz] |
---|---|---|
author | Yong Li <yong.b.li@linux.intel.com> | Fri Aug 09 16:06:03 2019 +0800 |
committer | Yong Li <yong.b.li@intel.com> | Tue Aug 27 22:41:05 2019 +0000 |
tree | 95518012004d6fd45b7b35ecb462f03fd6cd021f | |
parent | 390b43544b5a23380d92d26304237ccc8fd00847 [diff] |
Add additional check for i2c master write read command For security reasons, in i2c master RW IPMI command, if the write date count > 1, needs to check if it is in MTF mode. Tested: In normal mode, ipmitool raw 0x6 0x52 0xf 0xa2 8 0 works, but ipmitool raw 0x6 0x52 0xf 0xa2 8 0 0 fails with Insufficient privilege level. Boot into MFG mode, the above command works. Signed-off-by: Yong Li <yong.b.li@linux.intel.com> Change-Id: I364f41f632ed3790bcd1d9e9193c9c4a3529af53