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:	Thu, 06 Feb 2014 16:57:10 +0100
From:	Michal Marek <mmarek@...e.cz>
To:	Prarit Bhargava <prarit@...hat.com>, linux-kernel@...r.kernel.org
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	Kirill Tkhai <tkhai@...dex.ru>,
	Michael Opdenacker <michael.opdenacker@...e-electrons.com>,
	Rusty Russell <rusty@...tcorp.com.au>,
	linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] Makefile, CONFIG_MODVERSIONS, export RCS_FIND_IGNORE
 and ignore *.mod.c files in tags creation

On 2014-02-06 13:51, Prarit Bhargava wrote:
> CONFIG_MODVERSIONS=y results in a .mod.c for every compiled file in the kernel.
> Issuing a 'make cscope' on a compiled kernel tree results in the cscope files
> containing *.mod.c files.
> 
> [prarit@...rit linux]# make cscope
> [prarit@...rit linux]# cat cscope.files | grep mod.c | wc -l
> 4807
> 
> These files are not useful for cscope and should be ignored.  For example,
> 
>    #   line  filename / context / line
>    1    105  arch/x86/kvm/kvm-intel.mod.c <<GLOBAL>>
>              { 0x618911fc, __VMLINUX_SYMBOL_STR(numa_node) },
>    2    508  drivers/block/mtip32xx/mtip32xx.h <<GLOBAL>>
>              int numa_node;
>    3     55  drivers/block/mtip32xx/mtip32xx.mod.c <<GLOBAL>>
>              { 0x618911fc, __VMLINUX_SYMBOL_STR(numa_node) },
>    4     37  drivers/cpufreq/acpi-cpufreq.mod.c <<GLOBAL>>
>              { 0x618911fc, __VMLINUX_SYMBOL_STR(numa_node) },
>    <snip>
> 
> Add an export to RCS_FIND_IGNORE so it can be used in scripts/tags.sh and
> add explicitly ignore *.mod.c files.

Thanks, applied to kbuild.git#misc. But next time, please use a shorter
subject line. I changed it to "scripts/tags.sh: Ignore *.mod.c" so that
it does not take two lines everywhere.

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