Module Name: src
Committed By: kamil
Date: Sat Jul 11 14:18:08 UTC 2015
Modified Files:
src/share/man/man5: login.conf.5
Log Message:
Clean-up documentation of login.conf(5)
Remove redundant word "limit" from sentences "Maximum ...".
Note that vmemoryuse might specify both maximum and current limits.
Remove redundant 'in bytes' from the description of vmemoryuse, it's noted
in the next section describing the argument type 'size'.
Changes inspired by <riastradh> in PR xsrc/49912
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/share/man/man5/login.conf.5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man5/login.conf.5
diff -u src/share/man/man5/login.conf.5:1.30 src/share/man/man5/login.conf.5:1.31
--- src/share/man/man5/login.conf.5:1.30 Sat Jul 11 09:54:06 2015
+++ src/share/man/man5/login.conf.5 Sat Jul 11 14:18:08 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: login.conf.5,v 1.30 2015/07/11 09:54:06 wiz Exp $
+.\" $NetBSD: login.conf.5,v 1.31 2015/07/11 14:18:08 kamil Exp $
.\"
.\" Copyright (c) 1995,1996,1997 Berkeley Software Design, Inc.
.\" All rights reserved.
@@ -94,7 +94,7 @@ displays it before the welcome message.)
.\"
.sp
.It Sy coredumpsize Ta size Ta "" Ta
-Maximum coredump size limit.
+Maximum coredump size.
.\"
.sp
.It Sy cputime Ta time Ta "" Ta
@@ -102,11 +102,11 @@ CPU usage limit.
.\"
.sp
.It Sy datasize Ta size Ta "" Ta
-Maximum data size limit.
+Maximum data size.
.\"
.sp
.It Sy filesize Ta size Ta "" Ta
-Maximum file size limit.
+Maximum file size.
.\"
.sp
.It Sy host.allow Ta string Ta "" Ta
@@ -173,11 +173,11 @@ The first thread of each process is not
.\"
.sp
.It Sy memorylocked Ta size Ta "" Ta
-Maximum locked in core memory size limit.
+Maximum locked in core memory size.
.\"
.sp
.It Sy memoryuse Ta size Ta "" Ta
-Maximum in core memoryuse size limit.
+Maximum in core memoryuse size.
.\"
.sp
.It Sy minpasswordlen Ta number Ta "" Ta
@@ -229,7 +229,7 @@ Require home directory to login.
.\"
.sp
.It Sy sbsize Ta size Ta "" Ta
-Maximum socket buffer size limit.
+Maximum socket buffer size.
.\"
.sp
.It Sy setenv Ta list Ta "" Ta
@@ -246,7 +246,7 @@ environment variable will contain the sh
.\"
.sp
.It Sy stacksize Ta size Ta "" Ta
-Maximum stack size limit.
+Maximum stack size.
.\"
.sp
.It Sy tc Ta string Ta "" Ta
@@ -272,7 +272,7 @@ See
.\"
.sp
.It Sy vmemoryuse Ta size Ta "" Ta
-Maximum virtual address space size in bytes.
+Maximum virtual address space size.
.\"
.sp
.It Sy welcome Ta file Ta Li /etc/motd Ta
@@ -293,8 +293,9 @@ The resource limit entries
.Sy memoryuse ,
.Sy openfiles ,
.Sy sbsize ,
+.Sy stacksize
and
-.Sy stacksize )
+.Sy vmemoryuse )
actually specify both the maximum and current limits (see
.Xr getrlimit 2 ) .
The current limit is the one normally used,