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]
Date:	Fri, 1 Sep 2006 18:29:08 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Arjan van de Ven <arjan@...radead.org>
cc:	Peter Lezoch <pledr@...nline.de>, linux-kernel@...r.kernel.org
Subject: Re: Environment that was used for building/testing of kernel 2.6.x.y

>Hi,
>
>the compiler version is actually included in the VERMAGIC already ;)
>also if you type "dmesg | head -2" you get to see the full version of
>the compiler that was used.... What more would you want?

This requires that the dmesg buffer has not yet wrapped.


18:28 shanghai:~ > dmesg | head -n1
Linux version 2.6.17.7-jen31-default (jengelh@...nghai) (gcc version 4.1.0 
(SUSE Linux)) #1 Fri Jul 28 13:15:29 CEST 2006

18:28 shanghai:~ > modinfo cdrom
filename:       
/lib/modules/2.6.17.7-jen31-default/kernel/drivers/cdrom/cdrom.ko
license:        GPL
vermagic:       2.6.17.7-jen31-default mod_unload 586 REGPARM gcc-4.1
depends:        
parm:           mrw_format_restart:bool
parm:           check_media_type:bool
parm:           lockdoor:bool
parm:           autoeject:bool
parm:           autoclose:bool
parm:           debug:bool
18:28 shanghai:~ > strings 
/lib/modules/2.6.17.7-jen31-default/kernel/drivers/cdrom/cdrom.ko | grep 
gcc
vermagic=2.6.17.7-jen31-default mod_unload 586 REGPARM gcc-4.1


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