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

[LibOS] Fix bug of RLIMIT_STACK being overwritten in child #1976

Merged
merged 1 commit into from
Oct 31, 2024

Commits on Oct 31, 2024

  1. [LibOS] Fix bug of RLIMIT_STACK being overwritten in child

    Previously, the resource limit `RLIMIT_STACK` (maximum size of the
    process stack, in bytes) was overwritten in the child process, after
    fork. Thus, if the parent used `setrlimit(RLIMIT_STACK)`, the effect of
    this was lost in the child. This commit fixes this bug, and adds a LibOS
    test to verify the correct behavior.
    
    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    Dmitrii Kuvaiskii authored and mkow committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    93be2c2 View commit details
    Browse the repository at this point in the history