Lines Matching refs:sd_bus_creds
42 typedef struct sd_bus_creds sd_bus_creds; typedef
198 int sd_bus_get_owner_creds(sd_bus *bus, uint64_t creds_mask, sd_bus_creds **ret);
297 sd_bus_creds* sd_bus_message_get_creds(sd_bus_message *m); /* do not unref the result */
352 int sd_bus_get_name_creds(sd_bus *bus, const char *name, uint64_t mask, sd_bus_creds **creds); /* u…
391 int sd_bus_query_sender_creds(sd_bus_message *m, uint64_t mask, sd_bus_creds **creds);
399 int sd_bus_creds_new_from_pid(sd_bus_creds **ret, pid_t pid, uint64_t creds_mask);
400 sd_bus_creds* sd_bus_creds_ref(sd_bus_creds *c);
401 sd_bus_creds* sd_bus_creds_unref(sd_bus_creds *c);
402 uint64_t sd_bus_creds_get_mask(const sd_bus_creds *c);
403 uint64_t sd_bus_creds_get_augmented_mask(const sd_bus_creds *c);
405 int sd_bus_creds_get_pid(sd_bus_creds *c, pid_t *pid);
406 int sd_bus_creds_get_ppid(sd_bus_creds *c, pid_t *ppid);
407 int sd_bus_creds_get_tid(sd_bus_creds *c, pid_t *tid);
408 int sd_bus_creds_get_uid(sd_bus_creds *c, uid_t *uid);
409 int sd_bus_creds_get_euid(sd_bus_creds *c, uid_t *euid);
410 int sd_bus_creds_get_suid(sd_bus_creds *c, uid_t *suid);
411 int sd_bus_creds_get_fsuid(sd_bus_creds *c, uid_t *fsuid);
412 int sd_bus_creds_get_gid(sd_bus_creds *c, gid_t *gid);
413 int sd_bus_creds_get_egid(sd_bus_creds *c, gid_t *egid);
414 int sd_bus_creds_get_sgid(sd_bus_creds *c, gid_t *sgid);
415 int sd_bus_creds_get_fsgid(sd_bus_creds *c, gid_t *fsgid);
416 int sd_bus_creds_get_supplementary_gids(sd_bus_creds *c, const gid_t **gids);
417 int sd_bus_creds_get_comm(sd_bus_creds *c, const char **comm);
418 int sd_bus_creds_get_tid_comm(sd_bus_creds *c, const char **comm);
419 int sd_bus_creds_get_exe(sd_bus_creds *c, const char **exe);
420 int sd_bus_creds_get_cmdline(sd_bus_creds *c, char ***cmdline);
421 int sd_bus_creds_get_cgroup(sd_bus_creds *c, const char **cgroup);
422 int sd_bus_creds_get_unit(sd_bus_creds *c, const char **unit);
423 int sd_bus_creds_get_slice(sd_bus_creds *c, const char **slice);
424 int sd_bus_creds_get_user_unit(sd_bus_creds *c, const char **unit);
425 int sd_bus_creds_get_user_slice(sd_bus_creds *c, const char **slice);
426 int sd_bus_creds_get_session(sd_bus_creds *c, const char **session);
427 int sd_bus_creds_get_owner_uid(sd_bus_creds *c, uid_t *uid);
428 int sd_bus_creds_has_effective_cap(sd_bus_creds *c, int capability);
429 int sd_bus_creds_has_permitted_cap(sd_bus_creds *c, int capability);
430 int sd_bus_creds_has_inheritable_cap(sd_bus_creds *c, int capability);
431 int sd_bus_creds_has_bounding_cap(sd_bus_creds *c, int capability);
432 int sd_bus_creds_get_selinux_context(sd_bus_creds *c, const char **context);
433 int sd_bus_creds_get_audit_session_id(sd_bus_creds *c, uint32_t *sessionid);
434 int sd_bus_creds_get_audit_login_uid(sd_bus_creds *c, uid_t *loginuid);
435 int sd_bus_creds_get_tty(sd_bus_creds *c, const char **tty);
436 int sd_bus_creds_get_unique_name(sd_bus_creds *c, const char **name);
437 int sd_bus_creds_get_well_known_names(sd_bus_creds *c, char ***names);
438 int sd_bus_creds_get_description(sd_bus_creds *c, const char **name);
529 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_bus_creds, sd_bus_creds_unref);