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] [thread-next>] [day] [month] [year] [list]
Message-ID: <1293126196.2748.15.camel@Palantir>
Date:	Thu, 23 Dec 2010 18:43:16 +0100
From:	Dario Faggioli <raistlin@...ux.it>
To:	Randy Dunlap <rdunlap@...otime.net>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	torbenh <torbenh@....de>, oleg <oleg@...hat.com>,
	john.stultz@...aro.org, roland@...hat.com,
	Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH] Read THREAD_CPUTIME clock from other  processes.

On Thu, 2010-12-23 at 09:21 -0800, Randy Dunlap wrote: 
> On Thu, 23 Dec 2010 17:21:43 +0100 Dario Faggioli wrote:
> 
> > Trying to read CLOCK_THREAD_CPUTIME_ID of a thread from outside
> > the process that spawned it with this code:
> > 
> >         if (clock_getcpuclockid(tid, &clockid) != 0) {
> >                 perror("clock_getcpuclockid");
> >                 exit(EXIT_FAILURE);
> >         }
> > 
> > results in this:
> >   ### Testing tid 24207: CPU-time clock for PID 24207 is 1.132371729 seconds
> >   ### Testing tid 24209: clock_getcpuclockid: Success
> > 
> > OTH, if full-fledged processes are involved, the behaviour is this:
> >   ### Testing tid 24218: CPU-time clock for PID 24218 is 0.001059305 seconds
> >   ### Testing tid 24220: CPU-time clock for PID 24220 is 1.044057391 seconds
> > 
> > Test programs available here: http://gitorious.org/clockid.
> 
> 
> "DNS service for this domain has expired with DNS Made Easy"  :(
> 
Yep, I saw that... It seems gitorious is having some sort of big big
problem! :-O

I've to run now, so, here's a really quick-&-dirty tar of the repo...

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
----------------------------------------------------------------------
Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa  (Italy)

http://retis.sssup.it/people/faggioli -- dario.faggioli@...ber.org

Download attachment "clockid.tar.bz2" of type "application/x-bzip-compressed-tar" (23242 bytes)

Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ