免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1272 | 回复: 0
打印 上一主题 下一主题

[内核模块] Linux下有GetFullPath和my_write吗? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-06-09 22:59 |只看该作者 |倒序浏览
Linux下有GetFullPath吗?查了资料好像没有,但是发现SUSE(可能是定制的)中有调用GetFullPath,日志如下:
<1>Unable to handle kernel NULL pointer dereference at 0000000000000018 RIP:
<ffffffff883053fe>{:protect:getfullpath+53}
PGD 134108067 PUD 3009a3067 PMD 0
Oops: 0000 [1] SMP
last sysfs file: /devices/system/cpu/cpu7/crash_notes
CPU 6
Modules linked in: protect nfs lockd nfs_acl sunrpc raw bonding loop dm_mod i2c_i801 lpfc shpchp i2c_core hw_random pci_hotplug scsi_transport_fc mptctl ext3 jbd ehci_hcd uhci_hcd usbhid usbcore tg3 e1000 bnx2 edd fan thermal processor sg mptsas mptscsih mptbase scsi_transport_sas sd_mod scsi_mod
Pid: 21027, comm: rscd Tainted: P     U 2.6.16.46-0.12-smp #1
RIP: 0010:[<ffffffff883053fe>] <ffffffff883053fe>{:protect:getfullpath+53}
RSP: 0018:ffff81040fcdfd28  EFLAGS: 00010286
RAX: ffff8103182e8000 RBX: ffff8103182e8000 RCX: 0000000000000000
RDX: ffff810668a8bc80 RSI: 00000000000000d0 RDI: ffff810669009200
RBP: 0000000000000000 R08: 000000000055ec20 R09: 0000000000000000
R10: ffff81040fcdfd48 R11: 0000000000000200 R12: ffff81040fcdfd48
R13: 0000000000000025 R14: 0000000000000000 R15: 000000000071df90
FS:  00002abef9d5a200(0000) GS:ffff810668a90e40(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000018 CR3: 00000002d9972000 CR4: 00000000000006e0
Process rscd (pid: 21027, threadinfo ffff81040fcde000, task ffff8105fd6b8850)
Stack: 0000000000000000 00000000007152c0 0000000000000006 ffffffff883055cf
       0000000000000000 0000000000000000 0000000000000000 0000000000000000
       0000000000000000 0000000000000000
Call Trace: <ffffffff883055cf>{:protect:my_write+96}
       <ffffffff8010ad3e>{system_call+126}

Code: 48 8b 75 18 48 8b 7d 10 b9 00 10 00 00 48 89 c2 e8 52 23 e9
RIP <ffffffff883053fe>{:protect:getfullpath+53} RSP <ffff81040fcdfd28>
etd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]not fullpro[xinetd]<4>protect: module not supported by Novell, setting U taint flag.
data is [process=/usr/sbin/xinetd|/usr/sbin/vsftpd|/usr/jdk1.6.0_24/jre/bin/java;monitorpath=/home/wap/apache-tomcat/webapps/iread/wml;excludedir=;excludefile=;excludetype=;excludeevent=;logpath=/opt/InforGuard/InforGuardMA/log/]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP