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]
Date:	Thu, 22 Mar 2007 00:11:57 +0100 (MET)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Eric Dumazet <dada1@...mosbay.com>
cc:	Andi Kleen <ak@...e.de>, David Howells <dhowells@...hat.com>,
	Jeremy Fitzhardinge <jeremy@...p.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC] : Is /proc/kcore still usefull and/or maintained ?


On Mar 21 2007 23:58, Eric Dumazet wrote:
> Hi all
>
> On i386 , 2.6.20 / 2.6.21-rc4 :
>
> # gdb vmlinux /proc/kcore
> error
> # file /proc/kcore
> error

00:11 ichi:/hld # file /proc/kcore
/proc/kcore: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV),
SVR4-style, from 'vmlinux'
00:11 ichi:/hld # hexdump -C /proc/kcore | head -n5
00000000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00  |.ELF............|
00000010  04 00 03 00 01 00 00 00  00 00 00 00 34 00 00 00  |............4...|
00000020  00 00 00 00 00 00 00 00  34 00 20 00 03 00 00 00  |........4. .....|
00000030  00 00 00 00 04 00 00 00  94 00 00 00 00 00 00 00  |................|
00000040  00 00 00 00 a8 06 00 00  00 00 00 00 00 00 00 00  |................|
00:11 ichi:/hld # uname -rm
2.6.20.2 i686

>
>
> Apparently we can not llseek() anymore on this file (returns -EINVAL)
>
> On x86_64 2.6.20 it's working
>
> # file /proc/kcore
> /proc/kcore: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style
>
>
> On i386 2.6.14 it's working too.
>
> Eric
> -
> 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/
>
>

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