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

Allow limited RLIMIT_FSIZE when dumping lease #389

Merged
merged 3 commits into from
Oct 29, 2024

Commits on Oct 23, 2024

  1. Allow limited RLIMIT_FSIZE when dumping lease

    Set rlimit to 5Kb when dumping lease (all other privileges are still dropped).
    
    Without this, redirecting dumplease to anything but stdout results in SIGXFSZ due to EBIG error.
    ColinMcInnes authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    485c328 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4387dc View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. privsep: If dumping lease check stdout is a tty for rlimit.

    If it's not, we can't set it.
    rsmarples committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    ade0fc6 View commit details
    Browse the repository at this point in the history