Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man5 Be more precise on the chars accepted for xxN...



details:   https://anonhg.NetBSD.org/src/rev/635f3dd133da
branches:  trunk
changeset: 763913:635f3dd133da
user:      jym <jym%NetBSD.org@localhost>
date:      Thu Apr 07 00:22:59 2011 +0000

description:
Be more precise on the chars accepted for xxN in /etc/ifconfig.xxN
filenames, and ifconfig_xxN variables inside rc.conf(5).

Should fix PR misc/39376.

diffstat:

 share/man/man5/ifconfig.if.5 |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r af365a2b7f09 -r 635f3dd133da share/man/man5/ifconfig.if.5
--- a/share/man/man5/ifconfig.if.5      Wed Apr 06 23:51:55 2011 +0000
+++ b/share/man/man5/ifconfig.if.5      Thu Apr 07 00:22:59 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ifconfig.if.5,v 1.14 2010/09/26 18:52:04 apb Exp $
+.\"    $NetBSD: ifconfig.if.5,v 1.15 2011/04/07 00:22:59 jym Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd September 26, 2010
+.Dd April 7, 2011
 .Dt IFCONFIG.IF 5
 .Os
 .Sh NAME
@@ -56,6 +56,14 @@
 file for the
 .Sy fxp0
 interface).
+Only characters allowed in
+.Xr sh 1
+variables names should be used for
+.Ar nnX
+.Po Xr ascii 7
+uppercase and lowercase letters, digits, and underscore
+.Pc .
+.Pp
 The variable or file will get evaluated only if the interface exists on
 the system.
 Multiple lines can be placed in a variable or file, and will be



Home | Main Index | Thread Index | Old Index