Searched refs:cap_launch_t (Results 1 – 4 of 4) sorted by relevance
/external/libcap/libcap/include/sys/ |
D | capability.h | 184 typedef struct cap_launch_s *cap_launch_t; typedef 186 extern cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, 188 extern void cap_launcher_callback(cap_launch_t attr, 190 extern void cap_launcher_setuid(cap_launch_t attr, uid_t uid); 191 extern void cap_launcher_setgroups(cap_launch_t attr, gid_t gid, 193 extern void cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); 194 extern cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); 195 extern void cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); 196 extern pid_t cap_launch(cap_launch_t attr, void *data);
|
/external/libcap/libcap/ |
D | cap_proc.c | 765 void cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)) in cap_launcher_callback() 773 void cap_launcher_setuid(cap_launch_t attr, uid_t uid) in cap_launcher_setuid() 783 void cap_launcher_setgroups(cap_launch_t attr, gid_t gid, in cap_launcher_setgroups() 796 void cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor) in cap_launcher_set_mode() 806 cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab) in cap_launcher_set_iab() 817 void cap_launcher_set_chroot(cap_launch_t attr, const char *chroot) in cap_launcher_set_chroot() 855 static void _cap_launch(int fd, cap_launch_t attr, void *detail) { in _cap_launch() 916 pid_t cap_launch(cap_launch_t attr, void *data) { in cap_launch()
|
D | cap_alloc.c | 137 cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, in cap_new_launcher() 185 cap_launch_t launcher = data_p; in cap_free()
|
/external/libcap/tests/ |
D | libcap_launch_test.c | 95 cap_launch_t attr = cap_new_launcher(v->args[0], v->args, v->envp); in main()
|