Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160126201812.GH238@brightrain.aerifal.cx>
Date: Tue, 26 Jan 2016 15:18:12 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH v2] mips: add vdso support

On Tue, Jan 26, 2016 at 04:32:16PM +0100, Markus Wichmann wrote:
> > i.e. reject any error but EINVAL from the vdso and try the syscall,
> > since EINVAL is the only one that should be possible.
> > 
> 
> clock_gettime() takes a pointer argument, so EFAULT is always possible.

EFAULT is not relevant. It can only happen when the calling program
has undefined behavior, and in fact if the vdso version got used the
program would already have crashed with SIGSEGV anyway.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.