Home
last modified time | relevance | path

Searched refs:cap_free (Results 1 – 25 of 40) sorted by relevance

12

/external/ltp/testcases/kernel/security/filecaps/
Dverify_caps_exec.c71 cap_free(cap); in print_my_caps()
72 cap_free(txt); in print_my_caps()
95 cap_free(cap); in drop_root()
119 cap_free(cap); in perms_test()
174 cap_free(capstxt); in fork_drop_and_exec()
201 cap_free(capstxt); in fork_drop_and_exec()
204 cap_free(actual_caps); in fork_drop_and_exec()
289 cap_free(pcap); in caps_actually_set_test()
290 cap_free(fcap); in caps_actually_set_test()
366 cap_free(cmpcap); in caps_actually_set_test()
[all …]
Dcheck_simple_capset.c40 cap_free(caps); in main()
41 cap_free(caps2); in main()
Dprint_caps.c68 cap_free(cap); in main()
Dinh_capped.c57 cap_free(caps); in set_caps_from_text()
/external/libcap/progs/
Dcapsh.c69 cap_free(ptr); in display_prctl_set()
97 cap_free(text); in arg_print()
98 cap_free(all); in arg_print()
105 cap_free(text); in arg_print()
106 cap_free(iab); in arg_print()
190 cap_free(raised_for_setpcap); in pop_pcap()
191 cap_free(orig); in pop_pcap()
220 cap_free(name_ptr); in arg_drop()
287 cap_free(name_ptr); in arg_change_amb()
385 cap_free(temp_name); in main()
[all …]
Dgetcap.c66 cap_free(cap_d); in do_getcap()
75 cap_free(cap_d); in do_getcap()
76 cap_free(result); in do_getcap()
Dgetpcaps.c76 cap_free(result); in main()
78 cap_free(cap_d); in main()
Dsetcap.c176 cap_free(cap_on_file); in main()
250 cap_free(cap_d); in main()
/external/libcap/tests/
Dexploit.c50 cap_free(text); in handler()
54 cap_free(caps); in handler()
107 cap_free(caps); in main()
113 cap_free(caps); in main()
147 cap_free(text); in main()
Dlibcap_launch_test.c114 if (cap_free(old)) { in main()
133 if (cap_free(attr)) { in main()
160 cap_free(is); in main()
161 cap_free(was); in main()
164 cap_free(final); in main()
165 cap_free(orig); in main()
/external/ltp/testcases/kernel/security/cap_bound/
Dcap_bset_inh_bounds.c73 cap_free(cur); in main()
79 cap_free(cur); in main()
113 cap_free(tmpcap); in main()
121 cap_free(cur); in main()
Dexec_with_inh.c65 cap_free(cur); in main()
71 cap_free(cur); in main()
Dcheck_pe.c66 cap_free(cur); in main()
Dexec_without_inh.c68 cap_free(cur); in main()
/external/libcap/libcap/
Dcap_alloc.c63 cap_free(result); in cap_init()
153 int cap_free(void *data_p) in cap_free() function
187 cap_free(launcher->iab); in cap_free()
190 cap_free(launcher->chroot); in cap_free()
Dcap_proc.c169 cap_free(result); in cap_get_proc()
230 cap_free(result); in cap_get_pid()
473 (void) cap_free(working); in _cap_set_mode()
524 cap_free(empty); in cap_get_mode()
525 cap_free(working); in cap_get_mode()
577 (void) cap_free(working); in _cap_setuid()
640 (void) cap_free(working); in _cap_setgroups()
738 cap_free(working); in _cap_iab_set_proc()
739 cap_free(temp); in _cap_iab_set_proc()
843 (void) cap_free(working); in _cap_chroot()
Dcap_text.c288 cap_free(res); in cap_from_text()
402 cap_free(this_cap_name); in cap_to_text()
407 cap_free(this_cap_name); in cap_to_text()
454 cap_free(this_cap_name); in cap_to_text()
459 cap_free(this_cap_name); in cap_to_text()
603 cap_free(iab); in cap_iab_from_text()
Dcap_file.c85 cap_free(result); in _fcaps_load()
94 cap_free(result); in _fcaps_load()
225 cap_free(result); in cap_get_fd()
255 cap_free(result); in cap_get_file()
/external/libcap/go/
Dcompare-cap.go196 defer C.cap_free(unsafe.Pointer(cC))
202 defer C.cap_free(unsafe.Pointer(tC))
234 defer C.cap_free(unsafe.Pointer(cC2))
264 defer C.cap_free(unsafe.Pointer(iC))
269 defer C.cap_free(unsafe.Pointer(fC))
325 C.cap_free(unsafe.Pointer(cCap))
327 C.cap_free(unsafe.Pointer(tC))
341 defer C.cap_free(unsafe.Pointer(cIAB))
370 defer C.cap_free(unsafe.Pointer(iabC))
/external/crosvm/sys_util/src/
Dcapabilities.rs15 fn cap_free(ptr: *mut c_void) -> c_int; in cap_free() function
34 cap_free(caps); in drop_capabilities()
/external/crosvm/devices/src/virtio/fs/
Dcaps.rs23 fn cap_free(ptr: *mut c_void) -> c_int; in cap_free() function
160 cap_free(self.0); in drop()
/external/libcap/pam_cap/
Dpam_cap.c234 cap_free(iab); in set_capabilities()
242 cap_free(cap_s); in set_capabilities()
/external/iputils/
Dping_common.c125 cap_free(cap_p); in limit_capabilities()
126 cap_free(cap_cur_p); in limit_capabilities()
164 cap_free(cap_p); in modify_capability()
169 cap_free(cap_p); in modify_capability()
192 cap_free(cap); in drop_capabilities()
/external/libcap/doc/
DMakefile9 MAN3S = cap_init.3 cap_free.3 cap_dup.3 \
/external/libcap/progs/old/
Dsetpcaps.c102 cap_free(result); in main()

12