标题: 请问大虾:ioctl调用为什么会报错:operation not permitted?
woshimiaojing
新生入学
Rank: 1



UID 208735
精华 0
积分 10(积分有什么用?)
帖子 4
阅读权限 10
注册 2007-8-26
状态 离线
发表于 2007-8-26 00:22  资料  个人空间  短消息  加为好友 
请问大虾:ioctl调用为什么会报错:operation not permitted?

某款cpu平台下的关于网桥(bridge.o模块)的linux内核源代码,在另一款cpu平台下编译出来,两款cpu均是intel Xscale芯片,为

什么前者平台下运行良好,后者在应用程序通过ioctl调用网桥模块时,会报错operation not permitted?多谢大虾指点!!

顶部
AIKO_sex
特聘作家
Rank: 5Rank: 5
伊甸园杰出贡献会员



UID 12054
精华 20
积分 41(积分有什么用?)
帖子 11559
阅读权限 10
注册 2002-3-20
状态 离线
发表于 2007-8-26 09:32  资料  个人空间  短消息  加为好友 
是root权限么

或者说程序具有root权限么





象一阵风 拂过我身边 忽然间 想要去很远 和你去看繁华世界
顶部
woshimiaojing
新生入学
Rank: 1



UID 208735
精华 0
积分 10(积分有什么用?)
帖子 4
阅读权限 10
注册 2007-8-26
状态 离线
发表于 2007-8-26 11:28  资料  个人空间  短消息  加为好友 
有root权限

应该不是权限的问题

顶部
AIKO_sex
特聘作家
Rank: 5Rank: 5
伊甸园杰出贡献会员



UID 12054
精华 20
积分 41(积分有什么用?)
帖子 11559
阅读权限 10
注册 2002-3-20
状态 离线
发表于 2007-8-26 13:51  资料  个人空间  短消息  加为好友 


Allow administration of IP firewall, masquerading and accounting
  Allow setting debug option on sockets/
  Allow modification of routing tables
  Allow setting arbitrary process / process group ownership on
    sockets
  Allow binding to any address for transparent proxying
  Allow setting TOS (type of service)
  Allow setting promiscuous mode
  Allow clearing driver statistics
  Allow multicasting
  Allow read/write of device-specific registers
  Allow activation of ATM control sockets

以上任意一条

[ 本帖最后由 AIKO_sex 于 2007-8-26 13:57 编辑 ]





象一阵风 拂过我身边 忽然间 想要去很远 和你去看繁华世界
顶部
不容错过的IBM 集群技术资源汇总
woshimiaojing
新生入学
Rank: 1



UID 208735
精华 0
积分 10(积分有什么用?)
帖子 4
阅读权限 10
注册 2007-8-26
状态 离线
发表于 2007-8-26 17:23  资料  个人空间  短消息  加为好友 
那么这么多allow,我应该去哪里设置呢,或者有无相关资料可以查询,我是菜鸟,恳请AIKO_sex大虾,不吝执教:)

顶部
不容错过的IBM 集群技术资源汇总
 



当前时区 GMT+8, 现在时间是 2008-5-17 16:31

    Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
Processed in 0.057649 second(s), 5 queries

清除 Cookies - 联系我们 - Linux伊甸园 - Archiver - WAP