Page MenuHomeFreeBSD

Fix for Bug 272357 - rctl.conf(5) resourcing name error
ClosedPublic

Authored by bcr on Jul 6 2023, 4:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 5:18 PM
Unknown Object (File)
Oct 10 2024, 3:41 AM
Unknown Object (File)
Sep 30 2024, 8:13 PM
Unknown Object (File)
Sep 30 2024, 6:22 AM
Unknown Object (File)
Sep 30 2024, 1:08 AM
Unknown Object (File)
Sep 30 2024, 12:55 AM
Unknown Object (File)
Sep 8 2024, 9:21 PM
Unknown Object (File)
Sep 8 2024, 12:08 AM
Subscribers

Details

Summary

The patch corrects the man page to replace the nonexisting nproc with maxproc, as outlined in PR272357

Test Plan
  1. Apply patch
  2. Check the man page
  3. Create a testing login class
  4. Create a user belonging to that login class
  5. Limit the number of processes that this login class can start with the example in the man page
  6. Login as that user and start a fork bomb :-)
  7. See that it will be cancelled after reaching the maximum number of procs
  8. Profit

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bcr requested review of this revision.Jul 6 2023, 4:09 PM
bcr edited the summary of this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Oct 6 2023, 9:05 AM
This revision was automatically updated to reflect the committed changes.