diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-08 11:33:18 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-08-09 09:55:30 -0700 |
commit | 3a6f77e5166e4300071773a45187c7b01b87d119 (patch) | |
tree | 37858e656b1f9886bf1aa53a8af1340a81ed2b1f /meta-initramfs/conf | |
parent | d15e41f86c5737f1111515afa87f852b96f56847 (diff) | |
download | meta-openembedded-contrib-3a6f77e5166e4300071773a45187c7b01b87d119.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>
(cherry picked from commit ee3c680c300237c49a3c70610aa5794185c4adac)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-initramfs/conf')
0 files changed, 0 insertions, 0 deletions