From owner-freebsd-security Fri Jan 7 16:43:10 2000 Delivered-To: freebsd-security@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 3B1EB15965 for ; Fri, 7 Jan 2000 16:42:52 -0800 (PST) (envelope-from daemon@bigeye.rhein-neckar.de) Received: from bigeye.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id BAA24562 for freebsd-security@freebsd.org; Sat, 8 Jan 2000 01:42:51 +0100 (CET) (envelope-from daemon@bigeye.rhein-neckar.de) Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id BAA72627 for freebsd-security@freebsd.org; Sat, 8 Jan 2000 01:24:56 +0100 (CET) (envelope-from daemon) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: bin/15830 - Re: dump over ssh Date: 8 Jan 2000 01:24:55 +0100 Message-ID: <85604n$26t8$1@bigeye.rhein-neckar.de> References: <855ia0$1up8$1@bigeye.rhein-neckar.de> To: freebsd-security@freebsd.org Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Daniel Hagan wrote: > While I don't need this functionality at work anymore, it would be nice to > have in general. If you can send me your patches (the web PR version is > munged), I'll test them here I have put up a cosmetically revised version of the patch at: http://home.pages.de/~naddy/unix/freebsd/dump.patch While porting it over to OpenBSD, I noticed that OpenBSD conveniently has rcmdsh(3) in its libc, which is basically just the function I snarfed from rdist. I think adding this to our libc would be a very good idea. In anticipation of this, I copied OpenBSD's rcmdsh.c wholesale for the new patch. Alas, this still leaves unresolved the SIGINT issue I mentioned in the original PR. For the time being, I added "setpgid(0, getpid())" to rcmdsh.c. If we import rcmdsh() into libc (or if I want to use it on OpenBSD) I can't modify it, though. Either that change needs to go into the external version of rcmdsh(), or I need to work around the problem somehow. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message