From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752107AbaFOVOI (ORCPT ); Sun, 15 Jun 2014 17:14:08 -0400 Received: from terminus.zytor.com ([198.137.202.10]:42272 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751176AbaFOVOD (ORCPT ); Sun, 15 Jun 2014 17:14:03 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <21405.44257.742122.786960@gargle.gargle.HOWL> <20140615143500.GP179@brightrain.aerifal.cx> <539DD26B.3060709@zytor.com> <539DDE9C.3010903@zytor.com> <4ab91a07-c46c-485b-895d-b074d36624d6@email.android.com> <90c597c5-f77d-491e-b0b8-dde2027155b5@email.android.com> <9a4fb9c9-4b1c-4593-a99e-a2ef2325d55d@email.android.com> <8607961d-b42a-4dba-a736-d3a8586ee42d@email.android.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [RFC 0/2] __vdso_findsym From: "H. Peter Anvin" Date: Sun, 15 Jun 2014 14:13:26 -0700 To: Andy Lutomirski CC: Ian Lance Taylor , Andi Kleen , Rich Felker , Mikael Pettersson , Russ Cox , Linux API , "linux-kernel@vger.kernel.org" , X86 ML Message-ID: <73ed6c36-299b-4348-81e1-8a98b8baf2e5@email.android.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yes, but the option exists. On June 15, 2014 1:53:17 PM PDT, Andy Lutomirski wrote: >On Sun, Jun 15, 2014 at 12:56 PM, H. Peter Anvin wrote: >> You can link against vdso.so if you want to; the kernel build >provides an option to install that image. Doesn't mean that any >particular libc uses it. > >I'd be rather surprised if anyone does this, given the generally >spotty state of vdso.so installation and that there's no such thing as >an ELF import library. > >Also, the vdso's clock_gettime isn't actually compatible with >glibc/POSIX -- the return value and errno handling don't match. > >--Andy -- Sent from my mobile phone. Please pardon brevity and lack of formatting.