[PATCH phosphor-host-ipmid v3] Support for restricted mode for IPMI commands

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu May 19 03:10:39 AEST 2016


Only IPMI whitelisted commands are supported in restricted mode.Following commands are restricted in restricted mode.

1) Warm Reset  (Netfn: APP, Cmd: 0x02)
2) Set LAN Parameters  (Netfn: STORAGE, Cmd: 0x01)
4)Set ACPI Power State - Currently No Op
5) Wilcard Commands(APP, CHASSIS, SENSOR, STORAGE, TRANSPORT) - Currently No Op

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/phosphor-host-ipmid/81)
<!-- Reviewable:end -->


https://github.com/openbmc/phosphor-host-ipmid/pull/81

tomjose (1):
  Support for restricted mode for IPMI commands

 apphandler.C       | 23 +++++++++--------
 chassishandler.C   | 10 ++++----
 dcmihandler.C      |  4 +--
 globalhandler.C    |  4 +--
 groupext.C         |  2 +-
 ipmid-api.h        | 13 ++++++++--
 ipmid.C            | 73 ++++++++++++++++++++++++++++++++++++++++++++++++------
 sensorhandler.C    |  8 +++---
 storagehandler.C   | 13 +++++-----
 transporthandler.C |  9 +++----
 10 files changed, 114 insertions(+), 45 deletions(-)

-- 
2.8.2




More information about the openbmc mailing list