Teach limits(1), sh(1), and setclassresources(3) about RLIMIT_VMM.
Fixes: 1092ec8b3375 ("kern: Introduce RLIMIT_VMM")
Differential D57031
limits: Further RLIMIT_VMM cleanup Authored by des on Sat, May 16, 4:38 PM.
Details
Teach limits(1), sh(1), and setclassresources(3) about RLIMIT_VMM. Fixes: 1092ec8b3375 ("kern: Introduce RLIMIT_VMM")
Diff Detail
Event TimelineComment Actions It feels a little weird to clutter up ulimit -a and limits with a limit for this pretty exotic feature.
Comment Actions Virtual machines are hardly an exotic feature, and ever since af099eaa5ec3 landed unprivileged users are able to create virtual machines. Comment Actions Looks good to me, thank you for working on this. I'll follow up on this with a patch that fully incorporates the uses of RLIMIT_VMM into the setrlimit(2) machinery tomorrow. | ||||||||||||||||||||||