/*
*File:test.c
*Author:DavidLin
*Date:2014-12-07pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-07createdthisfile!
*2)
*/
#include<linux/init.h>
#include<lin..
分类:
系统相关 时间:
2014-12-28 01:54:06
阅读次数:
254
/*
*Kernel:Linux2.6.32.63
*File:\scripts\mod\modpost.h
\scripts\mod\modpost.c
*Author:DavidLin
*Date:2014-12-25pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-25create..
分类:
系统相关 时间:
2014-12-28 01:53:17
阅读次数:
180
/*
*File:test.c
*Author:DavidLin
*Date:2014-12-07pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-07createdthisfile!
*2)
*/1.获得root权限:suroot;2.make3.insmod./test.ko..
分类:
系统相关 时间:
2014-12-28 01:53:24
阅读次数:
179
/*
*File:test.c
*Author:DavidLin
*Date:2014-12-07pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-07createdthisfile!
*2)
*/
#include<linux/init.h>
#include<lin..
分类:
系统相关 时间:
2014-12-28 01:51:34
阅读次数:
211
1/*************************************************************************
2>FileName:boot.s
3>Author:Linpeng1577
4>Mail:linpeng1577@gmail.comor15820224344@163.com
5>CreatedTime:Sun02Nov201411:42:53PMPST
6**************************************..
分类:
系统相关 时间:
2014-12-28 01:52:20
阅读次数:
216
/*
*Author:DavidLin
*Date:2014-11-22pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-11-22createdthisfile!
*2)
*/
/*
*Well,hereisoneofthemo..
分类:
系统相关 时间:
2014-12-28 01:52:27
阅读次数:
216
#/*
#*File:Makefile
#*Author:DavidLin
#*Date:2014-12-07pm
#*Email:linpeng1577@163.comorlinpeng1577@gmail.com
#*world:thecityofSZ,inChina
#*Ver:000.000.001
#*history:editortimedo
#*1)LinPeng2014-12-07createdthisfile!
#*2)
#*/
.PHONY:allclean
obj-m:=test.o
..
分类:
系统相关 时间:
2014-12-28 01:50:38
阅读次数:
244
/*
*Kernel:Linux2.6.32.63
*File:\scripts\mod\modpost.h
\scripts\mod\modpost.c
*Author:DavidLin
*Date:2014-12-25pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-25create..
分类:
系统相关 时间:
2014-12-28 01:49:20
阅读次数:
190
通常我们需要从动态库里面直接调用可执行程序中的函数和变量,如果调用了-l选项,linux进程会自动把动态库的函数和变量加入到动态段中,所以直接访问是没有问题的。
我们这里要说的是非显示连接动态库,而是直接从c文件中通过dlopen函数打开动态库访问的方式,此时,gcc编译器不知道SO需要调用哪一个函数,所以不会讲函数放到动态段。故查找函数或者变量的时候,会出现找不到可执行程序中的符号的情况。...
分类:
系统相关 时间:
2014-12-28 00:36:18
阅读次数:
607
最初安装vmware报错,但是界面可以打开,可以正常安装,但是安装过后,启动报错,不能使用,经过不懈努力,在vmware论坛找到了解决办法,分享一下...
分类:
系统相关 时间:
2014-12-28 00:31:42
阅读次数:
270
1.安装apache2 sudo apt-get install apache22.配置apache2 vim /etc/apache2/sites-enabled/ 000-default.conf找到 ScriptAlias /cgi-bin/ ....将后面的目录改成你想要的cgi文件的目录 ...
分类:
系统相关 时间:
2014-12-28 00:28:35
阅读次数:
236
1,pwgen(openssl rand -hex 10)some Open-Stack services add a root wrapper to sudo that can interfere with security policies (Mirantis openStack Certifi...
分类:
系统相关 时间:
2014-12-28 00:27:13
阅读次数:
224
点击左上角苹果-->关于本机Dock-->偏好设置推荐按装mac系统:OS X V10.8(山狮)Finder-->应用程序(安装程序)我的电脑Safari-->点击右键-->退出(浏览器的真正退出)预览文件:选中文件-->空格键活动监视器:Finder-->应用程序-->实用工具-->活动监视器任...
分类:
系统相关 时间:
2014-12-28 00:26:20
阅读次数:
183
1.yum install minicom -y2.在终端输入:dmesg | grep tty显示从系统启动到现在串口插入拔出的信息: For example: usb 1-2: pl2303 converter now attached to ttyUSB0 查看串口是否可用,可以对串口发送.....
分类:
系统相关 时间:
2014-12-28 00:16:47
阅读次数:
312
转自http://www.devdao.com/Article/580449.htm 按照里面的教程来就可以好了
分类:
系统相关 时间:
2014-12-27 23:02:21
阅读次数:
389
很多人对vim的复制粘贴很费解,没有了ctrl+c ctrl+v 感觉让vim变得十分的麻烦,其实,vim本身对系统的剪贴板都是支持的,只是很多人没有发现罢了...
分类:
系统相关 时间:
2014-12-27 21:50:00
阅读次数:
280
快乐虾http://blog.csdn.net/lights_joy/欢迎转载,但请保留作者信息有时候,我们需要往VS的信息输出窗口输出一些调试信息,此时只要向SDM发送通知: Send(new AD7DebugOutputStringEvent2(e.Output), AD7DebugOutputStringEvent2.IID, thread);利用此功能,很容易就可以把...
分类:
系统相关 时间:
2014-12-27 21:49:49
阅读次数:
170