From owner-freebsd-arch@freebsd.org Wed Jun 27 07:09:22 2018 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5D05100E0AB for ; Wed, 27 Jun 2018 07:09:22 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 383C7700C6 for ; Wed, 27 Jun 2018 07:09:22 +0000 (UTC) (envelope-from darius@dons.net.au) Received: by mailman.ysv.freebsd.org (Postfix) id EC8BE100E0AA; Wed, 27 Jun 2018 07:09:21 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAF77100E0A9 for ; Wed, 27 Jun 2018 07:09:21 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail03.adl2.internode.on.net (ipmail03.adl2.internode.on.net [150.101.137.141]) by mx1.freebsd.org (Postfix) with ESMTP id ECC91700C5 for ; Wed, 27 Jun 2018 07:09:19 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp121-45-48-103.bras2.adl4.internode.on.net (HELO midget.dons.net.au) ([121.45.48.103]) by ipmail03.adl2.internode.on.net with ESMTP; 27 Jun 2018 16:34:01 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPS id w5R73nJP068862 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 27 Jun 2018 16:33:55 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.1/8.14.9/Submit) id w5R6jBfH056980 for ; Wed, 27 Jun 2018 16:15:11 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [203.31.81.59] ([203.31.81.59]) by ppp121-45-48-103.bras2.adl4.internode.on.net (envelope-sender ) (MIMEDefang) with ESMTP id w5R6j5Uv055936; Wed, 27 Jun 2018 16:15:11 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: What to do about rcmdsh(3) ? From: "O'Connor, Daniel" In-Reply-To: Date: Wed, 27 Jun 2018 16:15:04 +0930 Cc: Konstantin Belousov , "freebsd-arch@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <27EE2F1E-245C-4D97-97DE-65E9DA133AF1@dons.net.au> References: <20180624121412.GY2430@kib.kiev.ua> To: Eitan Adler X-Mailer: Apple Mail (2.3445.8.2) X-Spam-Score: 1.5 (*) No, score=1.5 required=5.0 tests=HELO_MISC_IP, RDNS_NONE autolearn=no autolearn_force=no version=3.4.0 X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 07:09:22 -0000 > On 27 Jun 2018, at 13:01, Eitan Adler wrote: >=20 > On 24 June 2018 at 05:14, Konstantin Belousov = wrote: >> On Sun, Jun 24, 2018 at 03:32:13AM -0700, Eitan Adler wrote: >>> Now that the rcmds are removed from base, it opens a question about >>> what to do with rcmdsh(3). >>> This is documented as >>> rcmdsh ??? return a stream to a remote command without superuser >>> And is implemented as a rather simple wrapper of getaddrinfo and = exec. >>>=20 >>> This isn't something I'd imagine we'd add to libc now-a-days and is >>> currently broken by default (due to defaulting to _PATH_RSH) >>>=20 >>> I'm not sure there is much value in keeping this function around. I >>> did a rather naive search for uses of this function in ports and >>> couldn't find any. I'm preparing a more comprehensive patch for an >>> exp-run. >> There is a huge value in keeping ABI compatibility. The symbol must = be kept. >> You may remove default version for the symbol if you are so inclined. >=20 > I'm new at this. How does one do that? You could just leave the call, I assume it will fail with an error if = rsh isn't in the path. If a user desperately needs it then they can install an rsh from ports = (or something). -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum