lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-id: <487FF67B.2050801@shaw.ca>
Date:	Thu, 17 Jul 2008 19:48:43 -0600
From:	Robert Hancock <hancockr@...w.ca>
To:	Reg Clemens <reg@....com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Does 2.6.26 provide nanosecond time to the user?

Reg Clemens wrote:
> Im confused.
> (sorry I havent been following the linux-kernel mailing list on this)
> 
> Does 2.6.26 use nanosecond time
>     (1) internally?
>     (2) provide it to the user?
> 
> I see no way to turn it on/off in xconfig.
> Yet I do see STA_NANO defined in sys/timex.h which is a good start.
> 
> and IF it provides it to the user, what do I use to get nanosecond time.
> My search with man -k for timespec turns up
>       sys_clock_getres
> and sys_clock_gettime
> 
> or possibly clock_getres and clock_gettime, the man pages use both,
> but NONE of these entry points seem to exist in my system.
> 
> Puzzled.

clock_gettime should exist. Old glibc version?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ