Subject: CVS commit: src/sbin/sysctl
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 02/02/2006 16:23:25
Module Name:	src
Committed By:	elad
Date:		Thu Feb  2 16:23:25 UTC 2006

Modified Files:
	src/sbin/sysctl: sysctl.c

Log Message:
add support for parsing file mode bits.

when printed, you'll see something like "0600 (rw-------)", like the
ls output. when reading input you can either specify octal mode (0600)
or chmod-like (u=rw).

ideas from atatat@ and kjk@; okay and lots of help from atatat@.


To generate a diff of this commit:
cvs rdiff -r1.107 -r1.108 src/sbin/sysctl/sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.