当前位置:网站首页>Audit migration
Audit migration
2022-07-07 11:16:00 【ldinvicible】
audit transplant
Reference resources https://blog.csdn.net/cfl927096306/article/details/101219403
yocto The following packages need to be installed , Compile the cross tool chain
IMAGE_INSTALL += " openldap libtool python3 swig"audit Source path http://repository.timesys.com/buildsources/a/audit/
Decompression and typing patch
tar -xf audit-3.0.6.tar.gz
cd audit-3.0.6/
patch -p1 < ../audit-3.0.6-cross.patch
patch -p1 < ../audit-3.0.6-sys_stat_h.patch
source /opt/origin/environment-setup-cortexa53-crypto-poky-linux
./configure --host=arm-none-linux --with-arm=yes --prefix=/XXX/tools/audit/audit-3.0.6/audit-3.0.6/__install
Report errors
/usr/include/python3.8/pyconfig.h:9:12: fatal error: aarch64-linux-gnu/python3.8/pyconfig.h: No such file or directory
9 | # include <aarch64-linux-gnu/python3.8/pyconfig.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
modify :
sed -i "s/\/usr\/include\/python3.8/\/opt\/origin\/sysroots\/cortexa53-crypto-poky-linux\/usr\/include\/python3.9/g" `grep /usr/include/python3.8 -rl ./`
Replacement means
sed -i "s/ Original string / New string /g" `grep Original string -rl In the directory `
make -j32
make install
-------------------------
cp -rfp sbin/* /sbin/
cp -rfp bin/* /bin/
cp -rfp lib/ /lib/
cp -rfp lib/* /lib/
cp -rfp etc/* /etc/
mkdir -p /var/log/audit
chown root /etc/audit/auditd.conf
chown root /sbin/audispd
-----------------------------------------
mkdir -p /var/log/audit
auditd -f
auditctl -a exit,always -F arch=b64 -S kill -F a1=9
auditctl -a exit,always -F arch=b64 -S kill -k my_monitor_kill
边栏推荐
- 数据库同步工具 DBSync 新增对MongoDB、ES的支持
- Go-Redis 中间件
- MIF file format record
- 关于在云服务器上(这里用腾讯云)安装mysql8.0并使本地可以远程连接的方法
- After the uniapp jumps to the page in onlaunch, click the event failure solution
- Input type= "password" how to solve the problem of password automatically brought in
- 测试优惠券要怎么写测试用例?
- How to use cherry pick?
- Debezium同步之Debezium架构详解
- 互联网协议
猜你喜欢
Wallhaven wallpaper desktop version
Qtcreator sets multiple qmake
Mysql的json格式查询
The post-90s resigned and started a business, saying they would kill cloud database
Web端自动化测试失败的原因
Transaction rolled back because it has been marked as rollback-only解决
Verilog design responder [with source code]
通过 Play Integrity API 的 nonce 字段提高应用安全性
数据库同步工具 DBSync 新增对MongoDB、ES的支持
seata 1.3.0 四種模式解决分布式事務(AT、TCC、SAGA、XA)
随机推荐
基于DE2 115开发板驱动HC_SR04超声波测距模块【附源码】
Network foundation (1)
When initializing 'float', what is the difference between converting to 'float' and adding 'f' as a suffix?
Compile QT project script with qmake
seata 1.3.0 四種模式解决分布式事務(AT、TCC、SAGA、XA)
Galaxy Kirin desktop operating system installation postgresql13 (source code installation)
2021 summary and 2022 outlook
shardingsphere分库分表示例(逻辑表,真实表,绑定表,广播表,单表)
书签整理-程序员常用网站导航
2022.7.6DAY598
滚动踩坑--UNI_APP(八)
互联网协议
数据库同步工具 DBSync 新增对MongoDB、ES的支持
常用sql语句整理:mysql
Wallhaven壁纸桌面版
TDengine 社区问题双周精选 | 第二期
Go-Redis 中间件
Deconstruction and assignment of variables
Project ERROR: Unknown module(s) in QT: core gui
How to play video on unityui