commit | fc24fa5e00ac5d6bfdeebcacd5c86fbc5d64765a | [log] [tgz] |
---|---|---|
author | Alexander Filippov <a.filippov@yadro.com> | Tue Feb 01 14:57:59 2022 +0300 |
committer | Alexander Amelkin <a.amelkin@yadro.com> | Wed Nov 16 17:48:50 2022 +0000 |
tree | 7e92fcd4fa05723a49a7facc882416866c819611 | |
parent | f6f3bb0fe3f1ca8922c65115e35b9845e09bd386 [diff] |
user_mgmt: Discard no-access privilege Due wrong interpretation of the IPMI spec there is appeared the `no-access` privilege in the OpenBMC. But it's a state of unconfigured channel and shouldn't be used as the valid user's privilege. This commit is a part of the patch set removing `priv-noaccess` from OpenBMC. This makes `ipmid` discarding the attempts to set `priv-noaccess` privilege for existing users. Tested: Command: ipmitool user priv <user id> 0xF Response: IPMI command failed: Invalid data field in request Command: ipmitool channel setaccesss <channel id> <user id> privilege=0xF Response: IPMI command failed: Invalid data field in request Change-Id: Id1c65d83e94e6f7f161afd26840331db7ca0c745 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage