Lines Matching refs:sd_bus_creds

33 void bus_creds_done(sd_bus_creds *c) {  in bus_creds_done()
58 _public_ sd_bus_creds *sd_bus_creds_ref(sd_bus_creds *c) { in sd_bus_creds_ref()
78 _public_ sd_bus_creds *sd_bus_creds_unref(sd_bus_creds *c) { in sd_bus_creds_unref()
117 _public_ uint64_t sd_bus_creds_get_mask(const sd_bus_creds *c) { in sd_bus_creds_get_mask()
123 _public_ uint64_t sd_bus_creds_get_augmented_mask(const sd_bus_creds *c) { in sd_bus_creds_get_augmented_mask()
129 sd_bus_creds* bus_creds_new(void) { in bus_creds_new()
130 sd_bus_creds *c; in bus_creds_new()
132 c = new0(sd_bus_creds, 1); in bus_creds_new()
141 _public_ int sd_bus_creds_new_from_pid(sd_bus_creds **ret, pid_t pid, uint64_t mask) { in sd_bus_creds_new_from_pid()
142 sd_bus_creds *c; in sd_bus_creds_new_from_pid()
173 _public_ int sd_bus_creds_get_uid(sd_bus_creds *c, uid_t *uid) { in sd_bus_creds_get_uid()
184 _public_ int sd_bus_creds_get_euid(sd_bus_creds *c, uid_t *euid) { in sd_bus_creds_get_euid()
195 _public_ int sd_bus_creds_get_suid(sd_bus_creds *c, uid_t *suid) { in sd_bus_creds_get_suid()
206 _public_ int sd_bus_creds_get_fsuid(sd_bus_creds *c, uid_t *fsuid) { in sd_bus_creds_get_fsuid()
217 _public_ int sd_bus_creds_get_gid(sd_bus_creds *c, gid_t *gid) { in sd_bus_creds_get_gid()
228 _public_ int sd_bus_creds_get_egid(sd_bus_creds *c, gid_t *egid) { in sd_bus_creds_get_egid()
239 _public_ int sd_bus_creds_get_sgid(sd_bus_creds *c, gid_t *sgid) { in sd_bus_creds_get_sgid()
250 _public_ int sd_bus_creds_get_fsgid(sd_bus_creds *c, gid_t *fsgid) { in sd_bus_creds_get_fsgid()
261 _public_ int sd_bus_creds_get_supplementary_gids(sd_bus_creds *c, const gid_t **gids) { in sd_bus_creds_get_supplementary_gids()
272 _public_ int sd_bus_creds_get_pid(sd_bus_creds *c, pid_t *pid) { in sd_bus_creds_get_pid()
284 _public_ int sd_bus_creds_get_ppid(sd_bus_creds *c, pid_t *ppid) { in sd_bus_creds_get_ppid()
301 _public_ int sd_bus_creds_get_tid(sd_bus_creds *c, pid_t *tid) { in sd_bus_creds_get_tid()
313 _public_ int sd_bus_creds_get_selinux_context(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_selinux_context()
324 _public_ int sd_bus_creds_get_comm(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_comm()
336 _public_ int sd_bus_creds_get_tid_comm(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_tid_comm()
348 _public_ int sd_bus_creds_get_exe(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_exe()
362 _public_ int sd_bus_creds_get_cgroup(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_cgroup()
374 _public_ int sd_bus_creds_get_unit(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_unit()
401 _public_ int sd_bus_creds_get_user_unit(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_user_unit()
428 _public_ int sd_bus_creds_get_slice(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_slice()
455 _public_ int sd_bus_creds_get_user_slice(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_user_slice()
482 _public_ int sd_bus_creds_get_session(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_session()
509 _public_ int sd_bus_creds_get_owner_uid(sd_bus_creds *c, uid_t *uid) { in sd_bus_creds_get_owner_uid()
528 _public_ int sd_bus_creds_get_cmdline(sd_bus_creds *c, char ***cmdline) { in sd_bus_creds_get_cmdline()
547 _public_ int sd_bus_creds_get_audit_session_id(sd_bus_creds *c, uint32_t *sessionid) { in sd_bus_creds_get_audit_session_id()
561 _public_ int sd_bus_creds_get_audit_login_uid(sd_bus_creds *c, uid_t *uid) { in sd_bus_creds_get_audit_login_uid()
575 _public_ int sd_bus_creds_get_tty(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_tty()
589 _public_ int sd_bus_creds_get_unique_name(sd_bus_creds *c, const char **unique_name) { in sd_bus_creds_get_unique_name()
600 _public_ int sd_bus_creds_get_well_known_names(sd_bus_creds *c, char ***well_known_names) { in sd_bus_creds_get_well_known_names()
633 _public_ int sd_bus_creds_get_description(sd_bus_creds *c, const char **ret) { in sd_bus_creds_get_description()
652 static int has_cap(sd_bus_creds *c, size_t offset, int capability) { in has_cap()
671 _public_ int sd_bus_creds_has_effective_cap(sd_bus_creds *c, int capability) { in sd_bus_creds_has_effective_cap()
681 _public_ int sd_bus_creds_has_permitted_cap(sd_bus_creds *c, int capability) { in sd_bus_creds_has_permitted_cap()
691 _public_ int sd_bus_creds_has_inheritable_cap(sd_bus_creds *c, int capability) { in sd_bus_creds_has_inheritable_cap()
701 _public_ int sd_bus_creds_has_bounding_cap(sd_bus_creds *c, int capability) { in sd_bus_creds_has_bounding_cap()
711 static int parse_caps(sd_bus_creds *c, unsigned offset, const char *p) { in parse_caps()
754 int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid) { in bus_creds_add_more()
1108 int bus_creds_extend_by_pid(sd_bus_creds *c, uint64_t mask, sd_bus_creds **ret) { in bus_creds_extend_by_pid()
1109 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *n = NULL; in bus_creds_extend_by_pid()