Lines Matching refs:cap_t
39 typedef struct _cap_struct *cap_t; typedef
107 extern cap_t cap_dup(cap_t);
109 extern cap_t cap_init(void);
113 extern int cap_get_flag(cap_t, cap_value_t, cap_flag_t, cap_flag_value_t *);
114 extern int cap_set_flag(cap_t, cap_flag_t, int, const cap_value_t *,
116 extern int cap_clear(cap_t);
117 extern int cap_clear_flag(cap_t, cap_flag_t);
123 extern int cap_iab_fill(cap_iab_t, cap_iab_vector_t, cap_t, cap_flag_t);
126 extern cap_t cap_get_fd(int);
127 extern cap_t cap_get_file(const char *);
128 extern uid_t cap_get_nsowner(cap_t);
129 extern int cap_set_fd(int, cap_t);
130 extern int cap_set_file(const char *, cap_t);
131 extern int cap_set_nsowner(cap_t, uid_t);
134 extern cap_t cap_get_proc(void);
135 extern cap_t cap_get_pid(pid_t);
136 extern int cap_set_proc(cap_t);
148 extern ssize_t cap_size(cap_t);
149 extern ssize_t cap_copy_ext(void *, cap_t, ssize_t);
150 extern cap_t cap_copy_int(const void *);
153 extern cap_t cap_from_text(const char *);
154 extern char * cap_to_text(cap_t, ssize_t *);
162 extern int cap_compare(cap_t, cap_t);
207 extern int capgetp(pid_t pid, cap_t cap_d);
210 extern int capsetp(pid_t pid, cap_t cap_d);