关于系统调用表里的一个问题
时间:2003-05-12
来源:互联网
系统调用表里面
.long SYMBOL_NAME(old_mmap)
old_是什么意思?
这个系统调用与
.long SYMBOL_NAME(sys_mmap2)
有什么区别?
我看的内核是2.4的
.long SYMBOL_NAME(old_mmap)
old_是什么意思?
这个系统调用与
.long SYMBOL_NAME(sys_mmap2)
有什么区别?
我看的内核是2.4的
作者: kare 发布时间: 2003-05-12
CSDN:
内存映射文件。
就是两个不同的系统调用,old_mmap函数就是mmap系统调用的入口,sys_mmap2是mmap2的。
mmap, munmap - map or unmap files or devices into memory The function mmap2 operates in exactly the same way as mmap(2), except that the final argument specifies the offset into the file in units of the system page size (instead of bytes). This enables applications that use a 32-bit off_t to map larger files (typically up to 2^44 bytes).
内存映射文件。
就是两个不同的系统调用,old_mmap函数就是mmap系统调用的入口,sys_mmap2是mmap2的。
mmap, munmap - map or unmap files or devices into memory The function mmap2 operates in exactly the same way as mmap(2), except that the final argument specifies the offset into the file in units of the system page size (instead of bytes). This enables applications that use a 32-bit off_t to map larger files (typically up to 2^44 bytes).
作者: kare 发布时间: 2003-05-16
准确来说是把已打开的文件映射到用户内存区都是old_mmap与sys_mmap2都是由mmap调用的不同版本而已(2.4以后调用sys_mmap2),old_mmap与sys_mmap2的都有相同的主体内容。
作者: 有影 发布时间: 2003-05-23
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28