rust/cpacfinfo: New CLI tool to provide CPACF information

The new cpacfinfo command provides information about CPACF, such as which CPACF functions are installed, and make use of the new MSA 13 Query Authentication Information function.

Signed-off-by: Finn Callies <fcallies@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Finn Callies
2024-09-26 08:43:28 +02:00
committed by Steffen Eiden
parent 03340afe88
commit 57a32d98ef
13 changed files with 1569 additions and 0 deletions
+26
View File
@@ -160,6 +160,21 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
[[package]]
name = "cpacfinfo"
version = "0.1.0"
dependencies = [
"anyhow",
"cc",
"clap",
"lazy_static",
"libc",
"serde",
"serde_json",
"utils",
"zerocopy",
]
[[package]]
name = "curl"
version = "0.4.44"
@@ -600,6 +615,17 @@ dependencies = [
"syn",
]
[[package]]
name = "serde_json"
version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46266871c240a00b8f503b877622fe33430b3c7d963bdc0f2adc511e54a1eae3"
dependencies = [
"itoa",
"ryu",
"serde",
]
[[package]]
name = "serde_test"
version = "1.0.176"