Home
last modified time | relevance | path

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

/external/libcap/progs/old/
Dexeccap.c34 cap_t new_caps; in main() local
47 new_caps = cap_from_text(argv[1]); in main()
48 if (new_caps == NULL) { in main()
54 if (cap_set_proc(new_caps) != 0) { in main()
/external/selinux/policycoreutils/mcstrans/src/
Dmcstransd.c530 cap_t new_caps; in dropprivs() local
532 new_caps = cap_init(); in dropprivs()
533 if (cap_set_proc(new_caps)) { in dropprivs()
538 cap_free(new_caps); in dropprivs()