The name swap daemon is a bit of a misnomer as the daemon does more than just swap modified pages out to the swap file. Its task is to keep the memory ...
分类:
系统相关 时间:
2019-01-18 18:31:41
阅读次数:
150
思路hook调用表的读写函数:源码#include<linux/init.h>#include<linux/module.h>#include<linux/kernel.h>#include<linux/init.h>#include<linux/sched.h>#include<asm/unistd.h>#include&l
分类:
系统相关 时间:
2019-01-12 16:44:02
阅读次数:
157
引用《Linux Kernel Development》原书里面的一句话 in Unix, everything is a file.This simplifies the manipulation of data and devices into a set of core system call ...
分类:
其他好文 时间:
2019-01-04 18:43:32
阅读次数:
307
原文链接:https://blog.csdn.net/qaz1qaz1qaz2/article/details/52825389 1.下载系统包yum install rpm-buildyum install redhat-rpm-config 2.下载并安装kernel包lynx http://v ...
分类:
系统相关 时间:
2018-12-26 15:56:31
阅读次数:
257
1.前言 实验基于Linux kernel 3.18.6,实验内容包括: (1)编写UDP客户端和服务端 (2)将UDP客户端和服务端集成到MenuOS中 (3)UDP发送数据的过程 (4)UDP接收数据的过程 本文中完整源码:https://github.com/dangolqy/udp 实验楼环 ...
分类:
系统相关 时间:
2018-12-21 01:04:36
阅读次数:
298
@2018-12-13 【小记】 使用 visual studio 阅读 linux-kernel 方法 a. 文件 > 新建 >从现有代码创建项目 b. 指定项目存储位置,命名项目,设置要添加到项目中文件路径 c. 点击显示所有文件按钮,以原始视图显示 ...
分类:
系统相关 时间:
2018-12-13 14:26:40
阅读次数:
232
参考:Linux kernel buffer ring Linux dmesg Command Tutorial for Beginners (5 Examples) 7 ‘dmesg’ Commands for Troubleshooting and Collecting Information ...
分类:
系统相关 时间:
2018-12-13 01:22:05
阅读次数:
229
参考:What are the concepts of “kernel ring buffer”, “user level”, “log level”? Ring Buffer 原始问题 个人补充:runlevel是指SysV中用于确定OS运行环境的一种技术。不过在CentOS 7.X以后就被淘汰了 ...
分类:
系统相关 时间:
2018-12-13 01:10:12
阅读次数:
244
本人在开发AndroidNfcPOS之初,探索调试了一番驱动,目前在Nexus5X7.1.1上已经调成,之前的步骤可以参考我发的文章,Android驱动开发经验分享如下。1.Linux内核驱动实例以下均在AndroidLinux内核目录下操作,在drivers目录下创建驱动目录hello这个目下要创建3个文件,hello.c,MakefileandKconfig1.1hello.ccddriver
分类:
移动开发 时间:
2018-12-11 19:44:34
阅读次数:
237
systrace的功能包括跟踪系统的I/O操作、内核工作队列、CPU负载以及Android各个子系统的运行状况等。在Android平台中,它主要由3部分组成:内核部分:Systrace利用了Linux Kernel中的ftrace功能。所以,如果要使用systrace的话,必须开启kernel中和f ...
分类:
其他好文 时间:
2018-11-28 20:41:53
阅读次数:
166