Home
last modified time | relevance | path

Searched refs:cmpcap (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/security/filecaps/
Dverify_caps_exec.c310 cap_t cmpcap; in caps_actually_set_test() local
357 cmpcap = cap_dup(cap_fullpi); in caps_actually_set_test()
358 cap_set_flag(cmpcap, CAP_PERMITTED, 1, capvalue, CAP_SET); in caps_actually_set_test()
359 cap_set_flag(cmpcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test()
360 ret = fork_drop_and_exec(KEEP_PERMS, cmpcap); in caps_actually_set_test()
361 cap_free(cmpcap); in caps_actually_set_test()