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: <SNT111-DS18FDA82A2FB992AC38B693A78C0@phx.gbl>
Date:	Fri, 11 Dec 2009 14:27:42 +0000
From:	"Ioannis Kyriakopoulos" <johnkyr83@...mail.com>
To:	"'Christoph Lameter'" <cl@...ux-foundation.org>
CC:	<linux-kernel@...r.kernel.org>
Subject: RE: Finding and chaniging registered clocksources

Thanks very much for the reply.

>> However, I don't know how to found out what clocksource Linux has
assigned
>> for other activities apart from the one mentioned (e.g. for timekeeping)
and
>> how to change it, if possible.
>
>Depends on the subsystem.

Could you be a little more specific please cause I don't understand?

>getnstimeofday uses the syste, cllock that can be retrieved using
>/sys/devices/system/clocksource/clocksource0/current_clocksource

The problem in my case is that when I execute the above, I get:
cat: can't open
'/sys/devices/system/clocksource/clocksource0/current_clocksource': No such
file or directory
In general, my /sys directory is empty. This file should exist to my
filesystem prior to kernel execution or should it be created by the kernel
when it starts executing; but for some reason it is not being created in my
case?

Thanks.

--
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