diff --git a/lib/libsys/getrlimit.2 b/lib/libsys/getrlimit.2 --- a/lib/libsys/getrlimit.2 +++ b/lib/libsys/getrlimit.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd July 25, 2024 +.Dd May 26, 2026 .Dt GETRLIMIT 2 .Os .Sh NAME @@ -128,6 +128,9 @@ .It Dv RLIMIT_VMEM An alias for .Dv RLIMIT_AS . +.It Dv RLIMIT_VMM +The maximum number of virtual machines a user can have running +simultaneously. .El .Pp A resource limit is specified as a soft limit and a hard limit. diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5 --- a/lib/libutil/login.conf.5 +++ b/lib/libutil/login.conf.5 @@ -206,6 +206,7 @@ .It "swapuse size Maximum swap space size limit." .It "umtxp number Maximum number of process-shared pthread locks." .It "vmemoryuse size Maximum permitted total VM usage per process." +.It "vmm number Maximum number of virtual machines." .El .Pp These resource limit entries actually specify both the maximum diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3 --- a/lib/libutil/login_class.3 +++ b/lib/libutil/login_class.3 @@ -17,7 +17,7 @@ .\" 5. Modifications may be freely made to this file providing the above .\" conditions are met. .\" -.Dd May 10, 2020 +.Dd May 26, 2026 .Dt LOGIN_CLASS 3 .Os .Sh NAME @@ -119,6 +119,7 @@ kqueues RLIMIT_KQUEUES umtxp RLIMIT_UMTXP pipebuf RLIMIT_PIPEBUF +vmm RLIMIT_VMM .Ed .It LOGIN_SETPRIORITY Set the scheduling priority for the current process based on the