Searched refs:getpeercred (Results 1 – 12 of 12) sorted by relevance
/systemd-251/src/libsystemd/sd-login/ |
D | sd-login.c | 145 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/ |
D | journald-stream.c | 667 r = getpeercred(fd, &stream->ucred); in stdout_stream_install() 729 (void) getpeercred(fd, &u); in stdout_stream_new()
|
/systemd-251/src/udev/ |
D | udev-ctrl.c | 236 r = getpeercred(sock, &ucred); in udev_ctrl_event_handler()
|
/systemd-251/src/basic/ |
D | socket-util.h | 152 int getpeercred(int fd, struct ucred *ucred);
|
D | socket-util.c | 594 r = getpeercred(fd, &ucred); in getpeername_pretty() 869 int getpeercred(int fd, struct ucred *ucred) { in getpeercred() function
|
/systemd-251/src/shared/ |
D | bus-util.c | 190 r = getpeercred(fd, &ucred); in bus_check_peercred()
|
D | varlink.c | 1793 r = getpeercred(v->fd, &v->ucred); in varlink_acquire_ucred() 2138 r = getpeercred(fd, &ucred); in varlink_server_add_connection()
|
/systemd-251/src/test/ |
D | test-socket-util.c | 201 assert_se(getpeercred(pair[0], &ucred) >= 0); in TEST()
|
/systemd-251/src/login/ |
D | pam_systemd.c | 274 r = getpeercred(fd, &ucred); in get_seat_from_display()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-socket.c | 627 b->ucred_valid = getpeercred(b->input_fd, &b->ucred) >= 0; in bus_get_peercred()
|
/systemd-251/src/core/ |
D | socket.c | 880 k = getpeercred(fd, &ucred); in instance_from_socket()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 5422 r = getpeercred(fd, &ucred); in cant_be_in_netns()
|