Re: fast/syscall-free gettimeofday ?
- From: Scott Long <scottl@xxxxxxxxxx>
- Date: Wed, 15 Jun 2011 14:33:27 -0600
If this was to be extended with cached global syscall information like gettimeofday, would we want that to be in a separate page that is marked non-executable? Is there any way to trick the kernel into leaking arbitrary (and thus executable) code? Also, would it matter for jails? Per-process info like getpid would obviously have to be a separate per-process page.
Scott
On Jun 14, 2011, at 10:08 AM, K. Macy wrote:
http://svnweb.freebsd.org/base/head/sys/sys/imgact.h
kib added rudimentary support for this in January
On Tue, Jun 14, 2011 at 6:11 PM, Luigi Rizzo <rizzo@xxxxxxxxxxxx> wrote:
there were discussions at some point on an imprecise but_______________________________________________
fast implementations of gettimeofday() that would not require
a system call (perhaps mmapping some memory region which
is opportunistically updated).
Does anyone remember what happened about that ?
Otherwise, is there any place in the kernel where i can fetch
a struct timeval which is not off by more than, say 1 tick ?
cheers
luigi
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: fast/syscall-free gettimeofday ?
- From: Julian Elischer
- Re: fast/syscall-free gettimeofday ?
- References:
- fast/syscall-free gettimeofday ?
- From: Luigi Rizzo
- Re: fast/syscall-free gettimeofday ?
- From: K. Macy
- fast/syscall-free gettimeofday ?
- Prev by Date: Re: Time keeping Issues with the low-resolution TSC timecounter
- Next by Date: Re: Time keeping Issues with the low-resolution TSC timecounter
- Previous by thread: Re: fast/syscall-free gettimeofday ?
- Next by thread: Re: fast/syscall-free gettimeofday ?
- Index(es):
Relevant Pages
|