V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
dotweiba
V2EX  ›  macOS

Mac OS X app 怎么获取超级用户权限

  •  
  •   dotweiba · 2014-10-22 22:14:21 +08:00 · 2102 次点击
    这是一个创建于 3623 天前的主题,其中的信息可能已经有所发展或是发生改变。
    利用libpcap写了个嗅探器,可是嗅探需要获取网卡,需要权限。问各位v2exer,这个怎弄?
    P.S.AuthorizationExecuteWithPrivileges 这函数好像从10.7便无法使用了.
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5402 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:35 · PVG 09:35 · LAX 18:35 · JFK 21:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.