From c9c29f02b15520b1e58afc500d56c28809178c85 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Wed, 19 Mar 2025 17:24:34 -0700 Subject: [PATCH] parser: add an abi that is equivalent to not specifying an abi Signed-off-by: Ryan Lee --- parser/parser_yacc.y | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/parser/parser_yacc.y b/parser/parser_yacc.y index d1fe72d2e..355fb3801 100644 --- a/parser/parser_yacc.y +++ b/parser/parser_yacc.y @@ -1782,6 +1782,11 @@ static int abi_features_base(struct aa_features **features, char *filename, bool if (search) { if (strcmp(filename, "kernel") == 0) return aa_features_new_from_kernel(features); + else if (strcmp(filename, "default") == 0) { + return aa_features_new_from_string(features, + default_features_abi, + strlen(default_features_abi)); + } f = search_path(filename, &fullpath, &cached); PDEBUG("abi lookup '%s' -> '%s' f %p cached %d\n", filename, fullpath, f, cached); if (!f && cached) {