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

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

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