History log of /openbmc/phosphor-host-ipmid/generate_whitelist.sh (Results 1 – 6 of 6)
Revision Date Author Comments
# 3aaddc7b 11-Feb-2025 Patrick Williams <patrick@stwcx.xyz>

generate_whitelist: adjust variable name

Remove all references to `whitelist` in the variable naming in favor
of `allowlist`.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Icfd5366

generate_whitelist: adjust variable name

Remove all references to `whitelist` in the variable naming in favor
of `allowlist`.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Icfd536682cbdbb9ecf74d27e0fe028d98999084f

show more ...


# deeceae3 28-Jan-2025 Konstantin Aladyshev <aladyshev22@gmail.com>

Fix bug in the name of array of whitelisted commands

The commit 68d9d40530351e3f3db2c00a25969b0efc9fbe3f
("Update terminology used within repo") has changed the name of the
array of whitelisted IPMI

Fix bug in the name of array of whitelisted commands

The commit 68d9d40530351e3f3db2c00a25969b0efc9fbe3f
("Update terminology used within repo") has changed the name of the
array of whitelisted IPMI commands from 'whitelist' to 'allowlist'
in the .hpp code, but didn't do it in the "generate_whitelist.sh"
script that generates the .cpp file with the relevant array.
This leads to the following error message at the service start:
"""
ipmid[363]: ERROR opening IPMI provider
/usr/lib/ipmid-providers/libwhitelist.so.0.1:
/usr/lib/ipmid-providers/libwhitelist.so.0.1: undefined symbol:
allowlist
"""
Correct array name to fix the issue.

Change-Id: I6d2fe94d0712181db13bb71cf2bd71e2db54d6c0
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>

show more ...


# 68d9d405 09-Nov-2023 Matt Simmering <matthew.simmering@intel.com>

Update terminology used within repo

Update the terms to more inclusive language. This change if only for
variables used in the repo.

Change-Id: I5151c9c2efab707b5dbc707e55333a3cb8c4e32b
Signed-off-

Update terminology used within repo

Update the terms to more inclusive language. This change if only for
variables used in the repo.

Change-Id: I5151c9c2efab707b5dbc707e55333a3cb8c4e32b
Signed-off-by: Matt Simmering <matthew.simmering@intel.com>

show more ...


# 064f039f 03-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

shellcheck: fix minor issues

A few scripts were missing the proper #! which identified them
as shell scripts. Fixed this and the shellcheck errors that ended
up being raised.

Signed-off-by: Patric

shellcheck: fix minor issues

A few scripts were missing the proper #! which identified them
as shell scripts. Fixed this and the shellcheck errors that ended
up being raised.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I867786c5821b4bd0ef4b50de03c893a71301142b

show more ...


# 4b9efaa0 12-Aug-2016 Patrick Williams <patrick@stwcx.xyz>

ipmiwhitelist: Change .H -> .hpp

Change-Id: I1b4d00211913d1be61f33dfb02227ffc8f859584
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>


# 9a61b4f4 11-Jul-2016 Tom Joseph <tomjoseph@in.ibm.com>

Whitelist IPMI commands based on Restricted mode

Whitelisting of IPMI commands is done to ensure that in restricted
mode only whitelisted commands are executed. Commands that are not
whitelisted is

Whitelist IPMI commands based on Restricted mode

Whitelisting of IPMI commands is done to ensure that in restricted
mode only whitelisted commands are executed. Commands that are not
whitelisted is restricted and insufficient privilege is returned as the
completion code.

When the server is deployed it would be set to restricted mode. In this
scenario certain IPMI commands need to be restricted which would not be
added to the whitelist.

Change-Id: I90b8124e34263c4ffc5bcf06a28a7e88231aaf40
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>

show more ...