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

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Apr 7 18:40:35 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       | 12 ++++++++++++
 chassishandler.C   |  7 ++++++-
 globalhandler.C    |  7 ++++++-
 ipmid-api.h        |  4 ++++
 ipmid.C            | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 sensorhandler.C    |  5 +++++
 storagehandler.C   |  5 +++++
 transporthandler.C | 13 +++++++++++--
 8 files changed, 100 insertions(+), 6 deletions(-)

-- 
2.7.1




More information about the openbmc mailing list