From owner-cvs-src@FreeBSD.ORG Thu Feb 3 16:12:31 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37A3616A4CE; Thu, 3 Feb 2005 16:12:31 +0000 (GMT) Received: from www.portaone.com (web.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B64443D1F; Thu, 3 Feb 2005 16:12:30 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.128] ([192.168.0.128]) (authenticated bits=0) by www.portaone.com (8.12.11/8.12.11) with ESMTP id j13GCOOM091561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Feb 2005 17:12:26 +0100 (CET) (envelope-from sobomax@portaone.com) Message-ID: <42024D58.4030309@portaone.com> Date: Thu, 03 Feb 2005 18:12:08 +0200 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <200502031510.j13FAwiT040674@repoman.freebsd.org> In-Reply-To: <200502031510.j13FAwiT040674@repoman.freebsd.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/685/Wed Jan 26 10:08:24 2005 clamav-milter version 0.80j on www.portaone.com X-Virus-Status: Clean cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/libkern gets.c src/sys/sys libkern.h src/sys/kern vfs_mount.c src/sys/conf files X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 16:12:31 -0000 It would be nice if you can provide gets(9) manpage. -Maxim Pawel Jakub Dawidek wrote: > pjd 2005-02-03 15:10:58 UTC > > FreeBSD src repository > > Modified files: > sys/sys libkern.h > sys/kern vfs_mount.c > sys/conf files > Added files: > sys/libkern gets.c > Log: > - Move gets() function to libkern (I want to use it outside vfs_mount.c). > - Add buffer size limitations (overflow will not be possible anymore). > - Add 'visible' option, which will allow for passphrase reading in the > future. > - Remove special treatment of '@' and '#', those two are only confusing. > > Discussed with: rwatson > MFC after: 2 weeks > > Revision Changes Path > 1.987 +1 -0 src/sys/conf/files > 1.179 +2 -44 src/sys/kern/vfs_mount.c > 1.1 +67 -0 src/sys/libkern/gets.c (new) > 1.47 +1 -0 src/sys/sys/libkern.h > > >