From b90e23c312f5eb9132540eec0f0cba0ac49fe0404932a50e06b16c345a6965af Mon Sep 17 00:00:00 2001 From: Nikolay Gueorguiev Date: Thu, 20 Jun 2024 14:05:02 +0000 Subject: [PATCH] - Amended read_values.c (bsc#1226609) * Added print for 'qc_type_name', amended the layers - Updated %description in the .spec file OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=215 --- read_values.c | 7 ++++--- s390-tools.changes | 7 +++++++ s390-tools.spec | 4 +++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/read_values.c b/read_values.c index 863c46f..c701a5e 100644 --- a/read_values.c +++ b/read_values.c @@ -37,9 +37,9 @@ enum datatypes { #define WITHOUT_KEY 0 #define WITH_KEY 1 -static char *versionstring = "Version 1.0.4 2023-12-17 06:58"; +static char *versionstring = "Version 1.0.5 2024-06-20 14:30"; -static char *version = "1.0.4"; +static char *version = "1.0.5"; void *configuration_handle = NULL; int layers = -1; @@ -249,6 +249,7 @@ void print_scc() { print_version(); print_attribute("Type", 0, qc_type, string, WITH_KEY); +print_attribute("Type Name", 0, qc_type_name, string, WITH_KEY); print_attribute("Sequence Code", 0, qc_sequence_code, string, WITH_KEY); print_attribute("CPUs Total", 0, qc_num_ifl_total, integer, WITH_KEY); print_attribute("CPUs IFL", 0, qc_num_ifl_total, integer, WITH_KEY); @@ -368,7 +369,7 @@ struct utsname uts; } /* endif */ } /* endif */ - for ( i = 0; i < 8; i++) { + for ( i = 0; i < layers; i++) { erg = qc_get_attribute_int(configuration_handle, qc_layer_type_num, i, &Layer); if (erg == 1) { print_attribute("Secure mode on ", i, qc_has_secure, integer, WITH_KEY); diff --git a/s390-tools.changes b/s390-tools.changes index ce0d32b..0687bbe 100644 --- a/s390-tools.changes +++ b/s390-tools.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jun 20 13:58:08 UTC 2024 - Nikolay Gueorguiev + +- Amended read_values.c (bsc#1226609) + * Added print for 'qc_type_name', amended the layers +- Updated %description in the .spec file + ------------------------------------------------------------------- Thu Apr 25 14:56:25 UTC 2024 - Dominique Leuenberger diff --git a/s390-tools.spec b/s390-tools.spec index b479d4e..e53c5db 100644 --- a/s390-tools.spec +++ b/s390-tools.spec @@ -231,8 +231,10 @@ zgetdump - tool to get linux system dumps from DASD - x86_64 genprotimg - create a protected virtualization image pvattest - create, perform, and verify protected virtualization attestation measurements +pvsecret - manage secrets for IBM Secure Execution guests. +pvapconfig - used to automatically set up the AP configuration within an IBM Secure Execution guest. -Note: The package requires - s390-tools-genprotimg-data-*.noarch.rpm - installed +Note: Auxiliary data package - s390-tools-genprotimg-data %package -n osasnmpd Summary: OSA-Express SNMP subagent