Searched refs:fcap (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/security/filecaps/ |
D | verify_caps_exec.c | 213 cap_t fcap, pcap, cap_fullpi; in caps_actually_set_test() local 217 fcap = cap_init(); in caps_actually_set_test() 219 if (!fcap || !pcap) { in caps_actually_set_test() 245 cap_clear(fcap); in caps_actually_set_test() 246 cap_set_flag(fcap, CAP_PERMITTED, 1, capvalue, CAP_SET); in caps_actually_set_test() 247 ret = cap_set_file(TSTPATH, fcap); in caps_actually_set_test() 252 ret = fork_drop_and_exec(DROP_PERMS, fcap); in caps_actually_set_test() 266 cap_clear(fcap); in caps_actually_set_test() 267 cap_set_flag(fcap, CAP_PERMITTED, 1, capvalue, CAP_SET); in caps_actually_set_test() 268 cap_set_flag(fcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test() [all …]
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_pd.c | 99 struct p2ps_feature_capab fcap = { prov->cpt_mask, 0 }; in p2ps_add_pd_req_attrs() local 164 p2p_buf_add_feature_capability(buf, sizeof(fcap), (const u8 *) &fcap); in p2ps_add_pd_req_attrs() 256 const u8 *fcap, in p2p_build_prov_disc_resp() argument 376 p2p_buf_add_feature_capability(buf, fcap_len, fcap); in p2p_build_prov_disc_resp()
|