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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMtaSwRreyQeQaA5U8Rb=b5_90+wxtAu9JQ0wyQqLBdxJf=OCQ@mail.gmail.com>
Date:	Wed, 13 Jan 2016 01:24:47 -0500
From:	Xiang Gao <qasdfgtyuiop@...il.com>
To:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: The return value of the system call "times" are in clock ticks?

Sorry for the confusing title. I mean the reported values in the
parameter struct tms *buf, not the returned value.
Xiang Gao


2016-01-13 1:20 GMT-05:00 Xiang Gao <qasdfgtyuiop@...il.com>:
> Hi,
>
> In the man page of the system call "times", i.e. "man 2 times", it says that
> "All times reported are in clock ticks."
>
> However, it seems not in the kernel. In my personal computer, it is in
> seconds...
>
> I don't know what it is supposed to be. If it is supposed to be in
> clock ticks, here is a patch attached that fix this problem. If it is
> not supposed to be in clock ticks, then the corresponding man page
> should be changed.
>
> Xiang Gao

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ