Home
last modified time | relevance | path

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

/glibc-2.36/nscd/
Dselinux.c180 cap_t tmp_caps = cap_init (); in preserve_capabilities() local
182 if (tmp_caps != NULL) in preserve_capabilities()
185 if (tmp_caps == NULL || new_caps == NULL) in preserve_capabilities()
187 if (tmp_caps != NULL) in preserve_capabilities()
188 cap_free (tmp_caps); in preserve_capabilities()
200 cap_set_flag (tmp_caps, CAP_PERMITTED, ntmp_cap_list, in preserve_capabilities()
202 cap_set_flag (tmp_caps, CAP_EFFECTIVE, ntmp_cap_list, in preserve_capabilities()
205 int res = cap_set_proc (tmp_caps); in preserve_capabilities()
207 cap_free (tmp_caps); in preserve_capabilities()