Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uucore: Add getsid for process.rs #6600

Merged
merged 8 commits into from
Jul 29, 2024
Merged

Conversation

Krysztal112233
Copy link
Contributor

Sorry, I closed pr by mistake :( #6590

This pr will add getsid function for process.rs to detect the session ID of pid.

The session ID plays a full role, and he usually plays the role of a process group identifier on Linux systems (or is it the POSIX standard?). The session ID plays a full role as a kind of process group identifier. In addition to that, this pr will also fulfill the role of getting the session leader.

However, because of the need to call libc, the pr involves unsafe code, so this pr will be ready for review after due consideration.

Copy link
Collaborator

@BenWiederhake BenWiederhake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and the only remaining failures are #6534 and for some reason one of the fuzzers generates infinite output and the job got canceled. Looks unrelated, just a badly-written fuzzing test.

@BenWiederhake BenWiederhake merged commit bc0b488 into uutils:main Jul 29, 2024
128 of 133 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.

2 participants