From owner-svn-src-all@freebsd.org Wed Jan 16 12:48:59 2019 Return-Path: Delivered-To: svn-src-all@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 A6F1A1487023; Wed, 16 Jan 2019 12:48:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D30CF6C3D6; Wed, 16 Jan 2019 12:48:58 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x0GCmo1U036514 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Jan 2019 14:48:53 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x0GCmo1U036514 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x0GCmn0b036513; Wed, 16 Jan 2019 14:48:50 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 16 Jan 2019 14:48:49 +0200 From: Konstantin Belousov To: Dag-Erling =?utf-8?B?U23DuHJncmF2?= Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r343093 - in head: include lib/libc/gen libexec/rtld-elf Message-ID: <20190116124849.GI26174@kib.kiev.ua> References: <201901161212.x0GCCeRh024502@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201901161212.x0GCCeRh024502@repo.freebsd.org> User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2019 12:48:59 -0000 On Wed, Jan 16, 2019 at 12:12:40PM +0000, Dag-Erling Smørgrav wrote: > Author: des > Date: Wed Jan 16 12:12:40 2019 > New Revision: 343093 > URL: https://svnweb.freebsd.org/changeset/base/343093 > > Log: > Implement dlopenat(3). > > MFC after: 3 weeks > > Modified: > head/include/dlfcn.h > head/lib/libc/gen/dlopen.3 > head/libexec/rtld-elf/rtld.c > It is non-functional: - The new symbol is not exported from rtld, so it cannot be referenced at runtime. - libc does not provide stubs for static linker and statically linked binaries, so nothing can be linked against it. That said, why is it useful to have this function when we already have fdlopen(3) ?