简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
【代码】Linux之iptables打开所有进/出端口。
编译linux kernel3.10报错:all warnings being treated as errorsexpects argument of type 'int *', but argument 3 has type 'uint16_t *'[-Werror=format]cc1: all warnings being treated as errors
Android对Linux线程提供了C++封装Thread类,它是线程的基类。使用Thread类,需创建一个新类继承于Thread类,并实现threadLoop()方法,它即是线程函数。要启动线程,调用run()函数即可。/** Android线程封装的基类*/class Thread : virtual public RefBase{public:
大家是否有过这样的经历,在命令行里输入adb shell,然后使用命令操作你的手机或模拟器,但是那些命令都是常见Linux命令的阉割缩水版,用起来很不爽。是否想过在Android上使用较完整的shell呢?用BusyBox吧。不论使用adb连接设备使用命令行还是在手机上直接用terminal emulator都可以。一、什么是BusyBox ?BusyBox 是标准 Linux 工具的一个
栗子:test.c#include <stdio.h>int main(){//通用方式int __attribute__((unused)) count = 10;//2.此两种不能在linux kernel中使用/*__unused int count = 10;int count __unused = 10;*/printf("%s, ...
OS: Kali linuxCompile toolchian: arm-none-linux-gnueabi# arm-none-linux-gnueabi-gcc hook.carm-linux-gcc 交叉编译报错:error while loading shared libraries: libz.so.1: cannot open shared object file: ...
Android产品中,内核格式是Linux标准的zImage,根文件系统采用ramdisk格式。这两者在Android下是直接合并在一起取名为boot.img,会放在一个独立分区当中。这个分区格式是Android自行制定的格式。Android开发时,最标准的做法是重新编译于内核和根文件系统,然后调用Android给的命令行文件mkbootimg(out/host/linux-x8
#include &lt;iostream&gt;#include &lt;string&gt;#include &lt;fstream&gt;#include &lt;sstream&gt;#include &lt;cassert&gt;#include "json/json.h"#include
本篇目的:WSL2扩展虚拟硬件磁盘( VHD大于256GB报错问题)
iw是Android一个新的为无线网络设备配置工具,基于nl80211命令行配置工具集,Linux则默认支持iwconfig。记录下几个常用的iw命令:1、获取设备支持的模式# iw list2、扫描# iw dev wlan0 scan3、列出事件# iw event4、获取设备信息# iw dev