From owner-freebsd-audit Tue Oct 23 1:22:27 2001 Delivered-To: freebsd-audit@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id D661E37B403; Tue, 23 Oct 2001 01:22:20 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id f9N8MF353925; Tue, 23 Oct 2001 11:22:15 +0300 (EEST) (envelope-from ru) Date: Tue, 23 Oct 2001 11:22:15 +0300 From: Ruslan Ermilov To: Warner Losh Cc: audit@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/net rcmdsh.3 rcmdsh.c Makefile.inc rcmd.c Message-ID: <20011023112215.C43285@sunbay.com> References: <200110230622.f9N6MF973431@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110230622.f9N6MF973431@freefall.freebsd.org>; from imp@FreeBSD.org on Mon, Oct 22, 2001 at 11:22:15PM -0700 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 22, 2001 at 11:22:15PM -0700, Warner Losh wrote: > imp 2001/10/22 23:22:15 PDT > > Modified files: > lib/libc/net Makefile.inc rcmd.c > Added files: > lib/libc/net rcmdsh.3 rcmdsh.c > Log: > Allow users to specify a command to use as remote command instead of > using rcmd directly. This has been in my tree for a long time, but we > may need to sync with OpenBSD before MFC. > > Obtained from: openbsd > PR: 15830 > > MFC after: 2 months > > Revision Changes Path > 1.43 +3 -3 src/lib/libc/net/Makefile.inc > 1.32 +21 -5 src/lib/libc/net/rcmd.c > 1.1 +105 -0 src/lib/libc/net/rcmdsh.3 (new) > 1.1 +130 -0 src/lib/libc/net/rcmdsh.c (new) > Warner, The attached patch: 1. Puts missing prototype for rcmd() in . 2. Cleans up the manpage. 3. Applies style(9) to rcmdsh.c. Note that the type of "rshprog" was changed from "char *" to "const char *" to satisfy WARNS=2. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message