[Bug 272357] rctl.conf(5) resourcing name error
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 272357] rctl.conf resourcing name error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Aug 2023 01:11:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272357 --- Comment #2 from dewayne@heuristicsystems.com.au --- (In reply to Benedict Reuschling from comment #1) I performed testing as follows: # rctl -a loginclass:userhi:maxproc:deny=3/user # rctl loginclass:userlo:maxproc:deny=3/user Two simultaineous login sessions were initiated. One session ran top. The other session performed the following: $ cc /tmp/a.c -sh: Cannot fork: Resource temporarily unavailable $ top -sh: Cannot fork: Resource temporarily unavailable Obviously fourth process was denied. The audit log also captured: failure : Resource temporarily unavailable Apologies for using my "userlo" class, it should've been "testing", so a corrected suggestion is: loginclass:testing:maxproc:deny=100/user # At most 100 processes per user PS the man page for auditd incorrectly contains: asl, libauditd, launchd in its 'See Also' section. They don't exit. -- You are receiving this mail because: You are the assignee for the bug.