Date: 8 Jan 2000 01:24:55 +0100 From: naddy@mips.rhein-neckar.de (Christian Weisgerber) To: freebsd-security@freebsd.org Subject: Re: bin/15830 - Re: dump over ssh Message-ID: <85604n$26t8$1@bigeye.rhein-neckar.de> References: <855ia0$1up8$1@bigeye.rhein-neckar.de> <Pine.OSF.4.02.10001071701100.902-100000@vtopus.cs.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Hagan <dhagan@cs.vt.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85604n$26t8$1>