Skip to content

For Channels opened via ipc::session, ensure the socket-stream-specific method remote_peer_process_credentials() returns values relevant to the opposing process despite the details of how such channels are internally established (namely via socketpair()). / Add Native_socket_stream::remote_peer_process_credentials() mutator that allows one to correct this value when creating socket-streams more manually (such as is done internally by ipc::session).#155

Merged
ygoldfeld merged 1 commit into
mainfrom
ipc-148_peercred-misleading
Jun 24, 2026

Conversation

@ygoldfeld

@ygoldfeld ygoldfeld commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

fixes #148

When writing Release Notes: put the PR Title's contents into the proper little sections. I did not make this PR until a year after doing/reviewing/merging it in source dir (my mistake to wait that long, until other bigger work applied pressure to line things up), so slightly cutting some formalistic corners (I promise, just this PR's format).

Code review: done in submodules

… opened via `ipc::session`, ensure the socket-stream-specific method `remote_peer_process_credentials()` returns values relevant to the opposing process despite the details of how such channels are internally established (namely via `socketpair()`). / Add `Native_socket_stream::remote_peer_process_credentials()` mutator that allows one to correct this value when creating socket-streams more manually (such as is done internally by `ipc::session`).>
@ygoldfeld ygoldfeld merged commit 27c787f into main Jun 24, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant