Home
last modified time | relevance | path

Searched refs:getpeercred (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/libsystemd/sd-login/
Dsd-login.c145 r = getpeercred(fd, &ucred); in sd_peer_get_session()
159 r = getpeercred(fd, &ucred); in sd_peer_get_owner_uid()
173 r = getpeercred(fd, &ucred); in sd_peer_get_unit()
187 r = getpeercred(fd, &ucred); in sd_peer_get_user_unit()
201 r = getpeercred(fd, &ucred); in sd_peer_get_machine_name()
215 r = getpeercred(fd, &ucred); in sd_peer_get_slice()
229 r = getpeercred(fd, &ucred); in sd_peer_get_user_slice()
243 r = getpeercred(fd, &ucred); in sd_peer_get_cgroup()
/systemd-251/src/journal/
Djournald-stream.c667 r = getpeercred(fd, &stream->ucred); in stdout_stream_install()
729 (void) getpeercred(fd, &u); in stdout_stream_new()
/systemd-251/src/udev/
Dudev-ctrl.c236 r = getpeercred(sock, &ucred); in udev_ctrl_event_handler()
/systemd-251/src/basic/
Dsocket-util.h152 int getpeercred(int fd, struct ucred *ucred);
Dsocket-util.c594 r = getpeercred(fd, &ucred); in getpeername_pretty()
869 int getpeercred(int fd, struct ucred *ucred) { in getpeercred() function
/systemd-251/src/shared/
Dbus-util.c190 r = getpeercred(fd, &ucred); in bus_check_peercred()
Dvarlink.c1793 r = getpeercred(v->fd, &v->ucred); in varlink_acquire_ucred()
2138 r = getpeercred(fd, &ucred); in varlink_server_add_connection()
/systemd-251/src/test/
Dtest-socket-util.c201 assert_se(getpeercred(pair[0], &ucred) >= 0); in TEST()
/systemd-251/src/login/
Dpam_systemd.c274 r = getpeercred(fd, &ucred); in get_seat_from_display()
/systemd-251/src/libsystemd/sd-bus/
Dbus-socket.c627 b->ucred_valid = getpeercred(b->input_fd, &b->ucred) >= 0; in bus_get_peercred()
/systemd-251/src/core/
Dsocket.c880 k = getpeercred(fd, &ucred); in instance_from_socket()
/systemd-251/src/nspawn/
Dnspawn.c5422 r = getpeercred(fd, &ucred); in cant_be_in_netns()