The handbook says about the memoryuse field in login.conf(5) > The maximum amount of memory a process may consume at any given time. It > includes both core memory and swap usage. This is not a catch-all limit for > restricting memory consumption, but is a good start. This is clearly incorrect. The memoryuse field accounts for core memory usage only. The man page login.conf(5) is correct in this regard. > Maximum of core memory use size limit. Please fix the handbook.
Table 14.1 in https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security-resourcelimits.html
Now table 1 in https://docs.freebsd.org/en/books/handbook/security/#security-resourcelimits login.conf(5) says: memoryuse size Maximum of core memory use size limit. and vmemoryuse size Maximum permitted total VM usage per process. Should the handbook also mention vmemoryuse?
Yes, mentioning vmemoryuse would be a good idea.
I'm gonna close this PR as overcome by events. We upgraded the chapter in this commit: https://cgit.freebsd.org/doc/commit/?id=99333306