Skip to content

refactor(tty): enhance TTY session management and stdio initialization#1786

Merged
fslongjin merged 1 commit intoDragonOS-Community:masterfrom
fslongjin:fix-tty-session-control
Feb 13, 2026
Merged

refactor(tty): enhance TTY session management and stdio initialization#1786
fslongjin merged 1 commit intoDragonOS-Community:masterfrom
fslongjin:fix-tty-session-control

Conversation

@fslongjin
Copy link
Member

  • Update TTY session checks to ensure proper session leader and controlling TTY conditions during open.
  • Modify stdio initialization to prevent init process from acquiring a controlling TTY, aligning with Linux semantics.
  • Add a new test case to validate behavior of tcgetpgrp without a controlling TTY.

- Update TTY session checks to ensure proper session leader and controlling TTY conditions during open.
- Modify stdio initialization to prevent init process from acquiring a controlling TTY, aligning with Linux semantics.
- Add a new test case to validate behavior of tcgetpgrp without a controlling TTY.

Signed-off-by: longjin <longjin@DragonOS.org>
@fslongjin
Copy link
Member Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Breezy!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@fslongjin fslongjin merged commit 41de8ac into DragonOS-Community:master Feb 13, 2026
26 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

Development

Successfully merging this pull request may close these issues.

1 participant