E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
syscall
书写 2.6 内核后门程序 -2 (调用内核程序)
可以尝试直接调用内核函数,在wzt的原文中直接调用sys_bind,sys_socket 等函数的实现,比如sys_bind函数
SYSCALL
_DEFINE3(bind,int,fd,structsockaddr
XscKernel
·
2012-11-07 20:00
mx53 reboot 流程分析
1 调用 kernel/sys.c里面的
SYSCALL
_DEFINE4(reboot,int,magic1,int,magic2,unsignedint,cmd, void__us
linxi_hnh
·
2012-11-03 16:00
系统调用 fchownat
fchownat是linuxkernel2.6.16以后添加的系统调用linuxkernel2.6.16新增了系列at系统调用(openat,linkat.....)原型:include/linux/
syscall
s.hasmlinkagelongsys_fchownat
cenziboy
·
2012-10-09 11:00
linux
linux
linux
系统调用
unix 系统调用和库函数的文档
http://www.di.uevora.pt/~lmr/
syscall
s.htmlhttp://www.softpanorama.org/Internals/unix_system_calls.shtmlhttp
慎道
·
2012-09-27 15:00
linux-kernel 3.5.3Tcp系统调用,源码分析2-sys_socket & sock_create
sys_socket的实现:
SYSCALL
_DEFINE3(socket,int,family,int,type,int,protocol)(前面已经说过这个宏最终会展开为sys_socket(intfamily
longxj04
·
2012-09-12 20:00
tcp
socket
struct
Module
Build
Descriptor
linux-kernel 3.5.3Tcp系统调用,源码分析1-宏
SYSCALL
_DEFINE
这个函数的定义是下面这个
SYSCALL
_DEFINE3(socket,int,family,i
longxj04
·
2012-09-11 20:00
tcp
socket
Types
Linux下获得线程ID
syscall
(224)
From:http://blog.163.com/onx0320@126/blog/static/164736436201252574720314/对于Linux线程,也许大家并不陌生,而我们通常所说的线程是指基于POSIX标准的线程,而Linux下除了兼容POSIX标准,而且提供线程在内核级的支持。早在Linuxkernel2.4之前,Linux的线程(LinuxThread)属于用户级,内核根
joeblackzqq
·
2012-09-08 16:04
linux
redhat
library
thread
struct
null
Linux_C
inotify实例
#include#include#include#include#include#include#include//__
SYSCALL
(int,inotify_init)//__
SYSCALL
(int,
jichl
·
2012-08-31 18:00
get system call table in x86-64 Linux
LP64字长模式2Linuxx86_64可以通过三种方式获取system_call表,Linuxx86_64有两套调用模式:Long模式和兼容模式,对应有两套调用表:system_call,ia32_
syscall
cenziboy
·
2012-08-30 11:00
linux
table
System
reference
X86
使用kprobes,截获execve系统调用,更谨慎的hook
syscall
Table的写法
关于截获execve等系统调用,很久以来存在一个问题:新函数不能直接调旧函数,否则导致stack不平衡,出错。曾经有高人用一串的汇编代码去平衡堆栈,但对于偶们这些汇编菜鸟来说,连阅读都很困难。而且,好像gcc4.x下不支持它使用的一种寻址方式了。这次使用kprobes来直接找do_execve,直接照搬sys_execve的实现代码。至于LICENSE的问题,谁用谁负责,我只是从技术角度上说可以这
laokaddk
·
2012-08-29 13:35
linux
hook
execve
Syscall
系统调用Linux内核跟踪
在一些应用中我们可以看到下面的一些定义:#definereal_read(fd,buf,count)(
syscall
(SYS_read,(fd),(buf),(count)))其实真正调用的还是系统函数
liuhuai12345
·
2012-08-21 15:00
linux
struct
File
interface
编译器
linux内核
用c语言程序实现系统的cp命令 在linux下调用
syscall
s.h头文件
在linux下调用
syscall
s.h头文件 终
cuiyifang
·
2012-08-17 17:00
c
linux
function
unix
语言
interface
Linux系统调用列表
### http://www.ibm.com/developerworks/cn/linux/kernel/
syscall
/part1/appendix.html ###以下是Linux系统调用的一个列表
pangguanzhe1314
·
2012-08-17 15:00
golang信号量处理
处理其他逻辑}funcsignalHandle(){for{ch:=make(chanos.Signal)signal.Notify(ch,
syscall
.SIGINT,
syscall
.SIGUSR1,
ghost911_slb
·
2012-08-05 10:00
c
语言
Go
Signal
Linux 是否支持epoll
/usr/include/bits/
syscall
.h 这个头文件包含了linux内核所支持的所有系统调用。
wanxw2001
·
2012-07-27 15:00
linux
linux系统调用表
转自:http://www.ibm.com/developerworks/cn/linux/kernel/
syscall
/part1/appendix.html博主:一转过来效果咋那么差呢?
cos_sin_tan
·
2012-07-20 22:00
hack
syscall
table 添加自己的系统调用
最刺激的添加内核系统调用的方法就是hacksys_call_table了^_^它的基本思想就是1找到 sys_call_table 的地址; 2保存其中某项内容,比如 sys_call_table[__NR_mkdir] 以便hack后恢复;3修改 sys_call_table[__NR_mkdir] 使其指向自己实现的系统调用函数这样做之后,系统调用mkdir就被你hack了呵呵是不是很爽 来来
laokaddk
·
2012-07-20 14:12
linux
syscall
Golang runtime 浅析
最重要的概念就是runtime,golang的程序都是在runtime的基础上运行的(除了与底层直接交互的
syscall
)。
·
2012-07-19 20:00
Runtime
Linux x86_64 内核查找sys_call_table注意事项
使用的LP64字长模式2Linuxx86_64可以通过三种方式获取system_call表Linuxx86_64有两套调用模式:Long模式和兼容模式,对应有两套调用表:system_call,ia32_
syscall
laokaddk
·
2012-07-19 16:36
linux
x86_64
Golang runtime 浅析
最重要的概念就是runtime,golang的程序都是在runtime的基础上运行的(除了与底层直接交互的
syscall
)。
轩脉刃de刀光剑影
·
2012-07-19 15:00
库函数和系统调用
linux3.0.0-14的系统调用有346个,可以在源码的linux-3.0/arch/x86/kernel/
syscall
_tabl
yesg
·
2012-07-06 16:00
mkdir系统调用
mkdir系统调用用来创建一个目录,对应的系统调用在fs/namei.c中
SYSCALL
_DEFINE2(mkdir,constchar__user*,pathname,int,mode) { returnsys_mkdirat
new_abc
·
2012-07-04 08:00
mount系统调用
其实现源码如下:
SYSCALL
_DEFINE5(mount,char__user*,dev_name,char__user*,dir_name, char__user*,type,unsignedlong
new_abc
·
2012-07-03 16:00
list
struct
tree
Path
filesystems
浅析Arm Linux操作系统调用流程详细解析 .
swi软中断完成.At91rm9200处理器对应的linux2.4.19内核系统调用对应的软中断定义如下:#ifdefined(__thumb__) //thumb模式#define__
syscall
tigerjb
·
2012-07-02 14:00
linux
vector
OS
table
alignment
浅析Arm Linux操作系统调用流程详细解析 .
swi软中断完成.At91rm9200处理器对应的linux2.4.19内核系统调用对应的软中断定义如下:#ifdefined(__thumb__) //thumb模式#define__
syscall
tigerjibo
·
2012-07-02 14:00
linux
vector
OS
table
alignment
sys_sync简介
*/
SYSCALL
_DEFINE0(sync){wakeup_
codectq
·
2012-06-26 16:00
工作
struct
IO
buffer
任务
filesystems
CentOS6.2 自定义系统调用
.添加函数到内核映像中 系统调用必须编译到内核映像中去,此例放入linux-2.6.39/kernels/sys.c,也可以放入其他的.c文件,主要是功能联系相关观察sys.c文件,找一个函数举例:1
SYSCALL
_DEFINE2
Hakunamatata-
·
2012-06-17 16:00
在linux下调用
syscall
s.h头文件
http://hi.baidu.com/%C6%C6%D6%B42007/blog/item/4d4c0535200283aba71e12ef.html终于开始看TheC的第八章TheUNIXSystemInterface了!这是比较激动人心的一章,学过之后就可以开始写Unix程序了,比如打印目录,查看文件大小、文件属性等,也就是说可以写一些比较实用的小程序了。而且一些系统函数,例如read()
litsand
·
2012-06-14 11:45
linux
程序
的
在linux下调用
syscall
s.h头文件
http://hi.baidu.com/%C6%C6%D6%B42007/blog/item/4d4c0535200283aba71e12ef.html终于开始看TheC的第八章TheUNIXSystemInterface了!这是比较激动人心的一章,学过之后就可以开始写Unix程序了,比如打印目录,查看文件大小、文件属性等,也就是说可以写一些比较实用的小程序了。而且一些系统函数,例如read(),
litsand
·
2012-06-14 11:45
linux
程序
的
死锁分析以及解决
host: DBSERVER EVENTS/QUEUES FILE/TTY Fri Jul 2 21:33:13 2010 Interval: 2 Cswitch 1473 Readch 0.0G
Syscall
my_java_life
·
2012-06-02 20:00
死锁分析以及解决
文件数据的写入
文件数据的写入【write】
SYSCALL
_DEFINE3(write, unsigned int, fd, const char __user *, buf,size_t, count){struct
csdyabc
·
2012-05-21 09:55
数据
Linux虚拟文件系统之文件系统卸载(sys_umount())
/*sys_umont系统调用*/ 2.
SYSCALL
_DEFINE2(umount,char__user*,name,int,flags) 3.{ 4.structpathpath; 5.intretval
Tommy_wxie
·
2012-05-19 18:00
linux
list
struct
kill
Security
Path
Linux虚拟文件系统之文件打开(sys_open())
SYSCALL
_DEFINE3(open,constchar__user*,filename,int,flags,int,mode) { longret; if(force_o_largefile()
Tommy_wxie
·
2012-05-19 18:00
Linux虚拟文件系统之文件读取(sys_read())
SYSCALL
_DEFINE3(read,unsignedint,fd,char__user*,buf,size_t,count) { structfile*file; ssize_tret=-EBADF
Tommy_wxie
·
2012-05-19 17:00
文件数据读取
文件数据读取【read】
SYSCALL
_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count){struct file *file
csdyabc
·
2012-05-17 16:58
数据
系统调用跟我学
http://www.ibm.com/developerworks/cn/linux/kernel/
syscall
/part1/index.html什么是系统调用?
heyustudent
·
2012-05-15 17:00
文件的打开
文件的打开【open】
SYSCALL
_DEFINE3(open, const char __user *, filename, int, flags, int, mode){long ret;
csdyabc
·
2012-05-07 17:27
打开
内核增加自定义系统调用(一)
内核根据应用程序所填充的固定值来找到相应的函数执行;适当的值:在include/asm-arm/unistd.h中为每个系统调用规定了唯一的编号,称为系统调用号;#define__NR_restart_
syscall
aaronin
·
2012-05-02 23:47
kernel
内核增加自定义系统调用(一)
内核根据应用程序所填充的固定值来找到相应的函数执行; 适当的值: 在include/asm-arm/unistd.h中为每个系统调用规定了唯一的编号,称为系统调用号; #define__NR_restart_
syscall
AaronIn
·
2012-05-02 23:00
c
测试
table
wrapper
系统调用
#define
SYSCALL
_DEFINE0(name)asmlinkagelongsys_##name(void) #define
SYSCALL
_DEFINE1(name,...)
SYSCALL
_DEFINEx
hui523hui523hui523
·
2012-04-29 10:00
窥探 kernel --- 系统调用在用户空间的访问
如何使用系统调用1、通过c库来使用系统调用2、在2.6.18之前的内核使用_
syscall
宏来使用系统调用。3、在2.6.19开始废除了_
syscall
,而使用
syscall
()通过向函
muge0913
·
2012-04-28 00:00
c
汇编
语言
平台
磁盘
x86 64 assembly tutorial (MEMO)
Note that
syscall
numbers may be different for the same sy
yaojingguo
·
2012-04-24 15:00
assembly
linux 的 sys_read 在哪里定义?
声明:
syscall
s.h asmlinkagelongsys_read(unsignedintfd,char__user*buf,size_tcount);定义:
syscall
s.hC/C++code
junllee
·
2012-04-24 09:00
linux
struct
File
user
ARM Linux系统调用
根据偏移量,获取函数的指针*//*0*/ CALL(sys_restart_
syscall
) CALL(s
yuanlulu
·
2012-04-20 15:00
linux
vector
unix
user
wrapper
linux内核
go 对windows api的调用
packagemainimport( "
syscall
")funcabort(funcnamestring,errstring){ panic(funcname+"failed:"+err)}funcprint_version
jingshishengxu
·
2012-04-08 10:00
windows
api
Go
where is __libc_open() defined in glibc 2.1 ?
http://www.linuxmisc.com/16-linux-development/8981d39aa47f1468.htmglibcgenerates
syscall
wrappersautomatically
llrraa2010
·
2012-04-05 00:00
glibc ,pthread库中 __read_nocancel, __write_nocancel 等函数冲突及调用问题
./1",O_WRONLY); chara[100]; while(1){ write(fp,"aaaa",4); read(fp,a,100); } close(fp); }其它
syscall
不看,主要是
晨曦之光
·
2012-03-26 18:00
编译内核出现"make CONFIG_DEBUG_SECTION_MISMATCH=y"错误
2.6.35.13]#makemodules CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/check
syscall
s.sh
300second
·
2012-03-23 08:02
linux
include
编译
排错
休闲
新版Linux内核添加系统调用的方法
第一步在linux-3.2.11/kernel下创建my
syscall
.c文件,内容如下:#include asmlinkagelongsys_mysysca
BABY313
·
2012-03-19 23:00
测试
table
作业
linux内核
linux设备驱动--非阻塞IO与select,poll调用 (续2)
的用法后,下面就开始分析select Select系统调用的调用过程: Sys_select-->core_sys_select-->do_select-->f_op->poll
SYSCALL
_DEFINE5
dndxhej
·
2012-03-19 20:00
上一页
31
32
33
34
35
36
37
38
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他