diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-08 11:33:18 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-08-08 11:38:15 -0700 |
commit | ee3c680c300237c49a3c70610aa5794185c4adac (patch) | |
tree | cfad7e357e920cc7b2abfd6a34736b870a1610e4 /meta-oe/recipes-security/softhsm | |
parent | 9ef040501ec511554508fe74e05a7d1ef54ce9ce (diff) | |
download | meta-openembedded-contrib-ee3c680c300237c49a3c70610aa5794185c4adac.tar.gz |
audit: Upgrade to 3.0.8 and fix build with linux 5.17+
audit errors out due to swig munging it does with kernel headers
| audit_wrap.c: In function '_wrap_audit_rule_data_buf_set':
| audit_wrap.c:4701:17: error: cast specifies array type
| 4701 | arg1->buf = (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
| | ^
| audit_wrap.c:4701:15: error: invalid use of flexible array member
| 4701 | arg1->buf = (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
| | ^
| audit_wrap.c:4703:15: error: invalid use of flexible array member
| 4703 | arg1->buf = 0;
| | ^
These errors are due to VLAIS from kernel headers, so we copy
linux/audit.h and make the needed change in local audit.h and make
needed arrangements in build to use it when building audit package
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-oe/recipes-security/softhsm')
0 files changed, 0 insertions, 0 deletions