Skip to content

Conversation

@crescentrose
Copy link
Contributor

Currently, the std::os::unix::net::UnixStream docs do not specify that the SOCK_CLOEXEC flag is set on new sockets. This commit adds a note clarifying that, in line with the note abuot the MSG_NOSIGNAL flag.

Currently, the `std::os::unix::net::UnixStream` docs do not specify that
the SOCK_CLOEXEC flag is set on new sockets. This commit adds a note
clarifying that, in line with the note abuot the `MSG_NOSIGNAL` flag.
@rustbot
Copy link
Collaborator

rustbot commented Dec 26, 2025

r? @ChrisDenton

rustbot has assigned @ChrisDenton.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Dec 26, 2025
@rust-log-analyzer

This comment has been minimized.

@ChrisDenton
Copy link
Member

Thanks!

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Dec 27, 2025

📌 Commit ee9db30 has been approved by ChrisDenton

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 27, 2025
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Dec 27, 2025
…ec, r=ChrisDenton

Document default SOCK_CLOEXEC flag on new UnixStream

Currently, the `std::os::unix::net::UnixStream` docs do not specify that the SOCK_CLOEXEC flag is set on new sockets. This commit adds a note clarifying that, in line with the note abuot the `MSG_NOSIGNAL` flag.
bors added a commit that referenced this pull request Dec 27, 2025
…uwer

Rollup of 4 pull requests

Successful merges:

 - #150362 (rustdoc: fix duplicate Re-exports sections)
 - #150397 (Update hir.rs: fix typo ("aligement" -> "alignment"), conform to max_width)
 - #150410 (Document default SOCK_CLOEXEC flag on new UnixStream)
 - #150429 (Improve missing core error for tier 3 targets)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit e2e271b into rust-lang:main Dec 27, 2025
21 of 22 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Dec 27, 2025
rust-timer added a commit that referenced this pull request Dec 27, 2025
Rollup merge of #150410 - crescentrose:document-socket-cloexec, r=ChrisDenton

Document default SOCK_CLOEXEC flag on new UnixStream

Currently, the `std::os::unix::net::UnixStream` docs do not specify that the SOCK_CLOEXEC flag is set on new sockets. This commit adds a note clarifying that, in line with the note abuot the `MSG_NOSIGNAL` flag.
@crescentrose crescentrose deleted the document-socket-cloexec branch December 27, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-unix Operating system: Unix-like S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants