Searched refs:cap_p (Results 1 – 1 of 1) sorted by relevance
107 cap_t cap_p; in _init_caps() local116 cap_p = cap_get_proc(); in _init_caps()117 EXPECT_NE(NULL, cap_p) in _init_caps()121 EXPECT_NE(-1, cap_clear(cap_p)) in _init_caps()126 EXPECT_NE(-1, cap_set_flag(cap_p, CAP_PERMITTED, in _init_caps()132 EXPECT_NE(-1, cap_set_proc(cap_p)) in _init_caps()136 EXPECT_NE(-1, cap_free(cap_p)) in _init_caps()158 cap_t cap_p; in _effective_cap() local160 cap_p = cap_get_proc(); in _effective_cap()161 EXPECT_NE(NULL, cap_p) in _effective_cap()[all …]