Skip to content

[Feature request]: Fix file descriptor management in safe_posix_fork #41

Description

@jstraw

Use Case

From #39, we fixed a bug to only close integer file descriptors in /proc/self, but we should probably have a safer/standard way to track and close open fds that aren't standard in/out/error.

Describe the solution you would like

We figure out what fd are open and close them without regex.

Describe alternatives you've considered

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions