HomeSort by relevance Sort by last modified time
    Searched refs:cap_cur_p (Results 1 - 2 of 2) sorted by null

  /external/iputils/ninfod/
ninfod.c 509 cap_t cap_p, cap_cur_p; local
517 cap_cur_p = cap_get_proc();
518 if (!cap_cur_p) {
524 cap_get_flag(cap_cur_p, CAP_NET_RAW, CAP_PERMITTED, &cap_ok);
530 cap_get_flag(cap_cur_p, CAP_SETUID, CAP_PERMITTED, &cap_ok);
545 cap_free(cap_cur_p);
  /external/iputils/
ping_common.c 77 cap_t cap_cur_p; local
81 cap_cur_p = cap_get_proc();
82 if (!cap_cur_p) {
94 cap_get_flag(cap_cur_p, CAP_NET_ADMIN, CAP_PERMITTED, &cap_ok);
100 cap_get_flag(cap_cur_p, CAP_NET_RAW, CAP_PERMITTED, &cap_ok);
126 cap_free(cap_cur_p);

Completed in 54 milliseconds