当前位置:网站首页>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
边栏推荐
- Mpx 插件
- JS array delete the specified element
- Cmake learning manual
- The seventh training assignment
- 关于测试人生的一站式发展建议
- The fifth training assignment
- Avoid mutating a prop directly since the value will be overwritten whenever the parent component
- 学习笔记|数据小白使用DataEase制作数据大屏
- PR Lecture Notes
- "Dream Cup" 2017 Jiangsu information and future primary school summer camp it expert PK program design questions
猜你喜欢
[C #] the solution of WinForm operation zoom (blur)
Arduino board description
科普达人丨一文弄懂什么是云计算?
From pornographic live broadcast to live broadcast E-commerce
verilog设计抢答器【附源码】
Transaction rolled back because it has been marked as rollback-only解决
Ping tool ICMP message learning
Mpx 插件
Mysql的json格式查询
[untitled]
随机推荐
Go slice comparison
Verilog design responder [with source code]
测试开发基础,教你做一个完整功能的Web平台之环境准备
How to remove addition and subtraction from inputnumber input box
Unity downloads files through the server address
Introduction to shell programming
PostgreSQL中的表复制
Interprocess communication (IPC)
Laya common script commands
uniapp 在onLaunch中跳转页面后,点击事件失效解决方法
seata 1.3.0 四種模式解决分布式事務(AT、TCC、SAGA、XA)
Eth trunk link switching delay is too high
2021-04-23
2021 summary and 2022 outlook
The post-90s resigned and started a business, saying they would kill cloud database
什么是高内聚、低耦合?
请问申购新股哪个证券公司开户是最好最安全的
Array object sorting
如何在博客中添加Aplayer音乐播放器
vim 的各种用法,很实用哦,都是本人是在工作中学习和总结的