Project

General

Profile

Bug #361 ยป 0001-Add-AF_PACKET-to-capability-system.patch

Eric Leblond, 10/30/2011 03:59 PM

View differences:

src/util-privs.c
CAP_NET_RAW, /* needed for pcap live mode */
CAP_NET_ADMIN, /* needed for nfqueue inline mode */
-1);
} else if (run_mode == RUNMODE_PCAP_DEV) {
} else if (run_mode == RUNMODE_PCAP_DEV || run_mode == RUNMODE_AFP_DEV) {
capng_updatev(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
CAP_NET_RAW, /* needed for pcap live mode */
-1);
    (1-1/1)