From ffa2c9f8bf4e9d27a59e71feef2e2beb4e1cb470 Mon Sep 17 00:00:00 2001 From: Joshua Stone Date: Wed, 17 Sep 2025 12:54:01 -0400 Subject: [PATCH 1/3] init --- product-guide/manual.adoc | 2 +- user-guide/manual.adoc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/product-guide/manual.adoc b/product-guide/manual.adoc index 693c612..57b33d2 100644 --- a/product-guide/manual.adoc +++ b/product-guide/manual.adoc @@ -449,7 +449,7 @@ sudo dnf install -y epel-release sudo crb enable sudo dnf install -y \ rsync cmake git ninja-build gcc ruby \ - openssl-devel jansson-devel \ + openssl-devel jansson-devel valgrind-devel \ doxygen graphviz plantuml texlive-bibtex \ asciidoctor \ rpm-build rpmlint diff --git a/user-guide/manual.adoc b/user-guide/manual.adoc index 950bd6c..7ff1934 100644 --- a/user-guide/manual.adoc +++ b/user-guide/manual.adoc @@ -368,9 +368,6 @@ digraph figure { } ---- -==== EID CBOR CODEC Callback Limitation -The dynamic backend calls host callback functions `eid_to_cbor` and `eid_from_cbor` with QCBOR contexts. Thus, BPAs **must** use QCBOR to append data to the context passed to these callback functions when using the dynamic backend. Future versions of BSL will remove this limitation. - [#sec-api] == API Overview @@ -491,6 +488,9 @@ The default initialization vector length as specified by <>. `BSLP_POLICYPREDICATE_ARRAY_CAPACITY` = 100:: Maximum number of policy rules and policy predicates a policy provider may hold. In future BSL versions, the number of policy rules will not be limited, and this value will be removed. +`POLICY_RULE_DESCRIPTION_MAX_STRLEN` = 100:: +Maximum length of sample policy provider rule description. When initializing a policy rule, only characters at position `0` through `POLICY_RULE_DESCRIPTION_MAX_STRLEN-1` are copied. + `MOCK_BPA_MAX_POLICIES` = 100:: The maximum number of policies a Mock BPA registry may hold. In future BSL versions, the number of policies will not be limited, and this value will be removed. From c30e143fa8ce3b7e70e55743291d84dad716980b Mon Sep 17 00:00:00 2001 From: Joshua Stone Date: Wed, 17 Sep 2025 18:57:05 -0400 Subject: [PATCH 2/3] mend --- user-guide/manual.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-guide/manual.adoc b/user-guide/manual.adoc index 7ff1934..c03c1a9 100644 --- a/user-guide/manual.adoc +++ b/user-guide/manual.adoc @@ -489,7 +489,7 @@ The default initialization vector length as specified by <>. Maximum number of policy rules and policy predicates a policy provider may hold. In future BSL versions, the number of policy rules will not be limited, and this value will be removed. `POLICY_RULE_DESCRIPTION_MAX_STRLEN` = 100:: -Maximum length of sample policy provider rule description. When initializing a policy rule, only characters at position `0` through `POLICY_RULE_DESCRIPTION_MAX_STRLEN-1` are copied. +Maximum length of sample policy provider rule description. When initializing a policy rule, only characters at position `0` through `POLICY_RULE_DESCRIPTION_MAX_STRLEN-1` are copied from the source string buffer. `MOCK_BPA_MAX_POLICIES` = 100:: The maximum number of policies a Mock BPA registry may hold. In future BSL versions, the number of policies will not be limited, and this value will be removed. From 196a9aff52863cc71318867c97473ef7105079b3 Mon Sep 17 00:00:00 2001 From: Joshua Stone Date: Mon, 22 Sep 2025 15:55:09 -0400 Subject: [PATCH 3/3] add loc to user guide --- user-guide/manual.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/user-guide/manual.adoc b/user-guide/manual.adoc index c03c1a9..0dfbc97 100644 --- a/user-guide/manual.adoc +++ b/user-guide/manual.adoc @@ -460,6 +460,9 @@ Each file's JSON encoding must have the attribute `policyrule_set`, which contai `key_wrap`:: An extra security context parameter id `key_wrap` will be parsed. When the value is set to "0", key wrapping will be skipped. For all other values, key wrapping will be enabled. Decision to key wrap is a required parameter for security operations when executed within the implementations of the Default Security Contexts. + `loc`:: + An attribute of `filter` that specifies the interaction point (APPIN, APPOUT, CLIN, CLOUT) where the policy rule should be applied. + ===== Example JSON-Encoded Policy Provider An example with two policy rules is as follows: