/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl07.c | 122 cap_value_t caplist[3] = {CAP_NET_RAW, CAP_NET_BIND_SERVICE, CAP_SETPCAP}; in verify_prctl() 139 check_cap_raise(CAP_NET_RAW, "on non-permitted cap", 1); in verify_prctl() 154 check_cap_is_set(CAP_NET_RAW, "CAP_NET_RAW was", 0); in verify_prctl() 156 check_cap_lower(CAP_NET_RAW, "CAP_NET_RAW(it wasn't in ambient set)"); in verify_prctl()
|
/external/ltp/include/lapi/ |
D | capability.h | 23 #ifndef CAP_NET_RAW 24 # define CAP_NET_RAW 13 macro
|
/external/ltp/lib/newlib_tests/ |
D | tst_capability01.c | 48 TST_CAP(TST_CAP_REQ, CAP_NET_RAW), 49 TST_CAP(TST_CAP_DROP, CAP_NET_RAW),
|
D | tst_capability02.c | 30 TST_CAP(TST_CAP_REQ, CAP_NET_RAW),
|
/external/ltp/testcases/kernel/syscalls/capget/ |
D | capget01.c | 43 if (data[0].effective & 1 << CAP_NET_RAW) in verify_capget() 59 TST_CAP(TST_CAP_DROP, CAP_NET_RAW),
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
D | test_execve.c | 297 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_RAW); in do_tests() 298 capng_update(CAPNG_DROP, CAPNG_PERMITTED, CAP_NET_RAW); in do_tests() 299 capng_update(CAPNG_DROP, CAPNG_EFFECTIVE, CAP_NET_RAW); in do_tests() 302 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_RAW, 0, 0, 0) != -1 || errno != EPERM) { in do_tests()
|
/external/strace/ |
D | caps0.h | 14 CAP_NET_RAW,
|
/external/strace/xlat/ |
D | cap_mask0.in | 15 1<<CAP_NET_RAW
|
D | cap.in | 15 CAP_NET_RAW
|
D | cap_mask0.h | 30 XLAT_PAIR(1ULL<<CAP_NET_RAW, "1<<CAP_NET_RAW"),
|
D | cap.h | 30 XLAT(CAP_NET_RAW),
|
/external/iputils/ |
D | ping_common.h | 265 static inline int enable_capability_raw(void) { return modify_capability(CAP_NET_RAW, CAP_SET); … in enable_capability_raw() 266 static inline int disable_capability_raw(void) { return modify_capability(CAP_NET_RAW, CAP_CLEAR… in disable_capability_raw()
|
D | ping_common.c | 70 static cap_value_t cap_raw = CAP_NET_RAW; 100 cap_get_flag(cap_cur_p, CAP_NET_RAW, CAP_PERMITTED, &cap_ok); in limit_capabilities()
|
/external/ltp/testcases/kernel/syscalls/capset/ |
D | capset03.c | 17 #define CAP2 (CAP1 | 1 << CAP_NET_RAW)
|
D | capset02.c | 28 #define CAP1 (1 << CAP_NET_RAW | 1 << CAP_CHOWN | 1 << CAP_SETPCAP)
|
/external/libcap/doc/values/ |
D | 12.txt | 11 (this is also allowed via CAP_NET_RAW)
|
/external/libcap-ng/libcap-ng-0.7/src/ |
D | captab.h | 36 _S(CAP_NET_RAW, "net_raw" )
|
/external/curl/docs/cmdline-opts/ |
D | interface.d | 16 have CAP_NET_RAW or to be run as root. More information about Linux VRF:
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/ |
D | capng.py | 83 CAP_NET_RAW = _capng.CAP_NET_RAW variable
|
/external/libcap/libcap/include/uapi/linux/ |
D | capability.h | 209 #define CAP_NET_RAW 13 macro
|
/external/kernel-headers/original/uapi/linux/ |
D | capability.h | 209 #define CAP_NET_RAW 13 macro
|
/external/iputils/ninfod/ |
D | ninfod.c | 499 static const cap_value_t cap_net_raw = CAP_NET_RAW; 524 cap_get_flag(cap_cur_p, CAP_NET_RAW, CAP_PERMITTED, &cap_ok); in limit_capabilities()
|
/external/iputils/doc/ |
D | traceroute6.sgml | 61 <command/tracepath6/ requires <constant/CAP_NET_RAW/ capability
|
/external/libwebsockets/test-apps/ |
D | test-server.c | 413 info.caps[0] = CAP_NET_RAW; in main()
|
/external/android-clat/ |
D | clatd.c | 183 (1 << CAP_NET_RAW) | in drop_root_but_keep_caps()
|