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: <CANE52KjOF2G_WQmms8+Xu9m2RXmb0=Bc5E94UUFvMc2xhhJ9mA@mail.gmail.com>
Date:	Sun, 1 Apr 2012 09:59:23 +0800
From:	Jike Song <albcamus@...il.com>
To:	Yang Bai <hamo.by@...il.com>
Cc:	mmarek@...e.cz, rostedt@...dmis.org, sboyd@...eaurora.org,
	adobriyan@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scripts: refactor remove structure forward declarations

On Mon, Mar 12, 2012 at 4:20 PM, Yang Bai <hamo.by@...il.com> wrote:
> Since now it has some problems when generate TAGS,
> refactor this code. Now it will not show the error
> message and will remove declarations using emacs etags.

Seems broke cscope build:

$ make cscope
  GEN     cscope
sed: can't read cscope: No such file or directory
make: *** [cscope] Error 2

with V=1:

  /bin/sh /Sources/linux-2.6/scripts/tags.sh cscope
+ ignore='( -name SCCS -o -name BitKeeper -o -name .svn -o
-name CVS  -o -name .pc       -o -name .hg  -o           -name .git )
                                           -prune -o'
+ '[' '' = '' ']'
+ tree=
+ '[' '' = '' ']'
+ ALLSOURCE_ARCHS=x86
+ '[' x86_64 = um ']'
+ remove_structs=
+ case "$1" in
+ docscope
+ echo -k
+ echo -q
+ all_sources
+ find_arch_include_sources x86 '*.[chS]'
++ find arch/x86/ -name include -type d
+ include=arch/x86/include
+ '[' -n arch/x86/include ']'
+ archincludedir=' arch/x86/include'
+ find arch/x86/include '(' -name SCCS -o -name BitKeeper -o -name
.svn -o -name CVS -o -name .pc -o -name .hg -o -name .git ')' -prune
-o -name '*.[chS]' -print
+ '[' '!' -z '' ']'
+ find_include_sources '*.[chS]'
+ find include '(' -name SCCS -o -name BitKeeper -o -name .svn -o
-name CVS -o -name .pc -o -name .hg -o -name .git ')' -prune -o -name
config -prune -o -name '*.[chS]' -print
+ for arch in '$ALLSOURCE_ARCHS'
+ find_sources x86 '*.[chS]'
+ find_arch_sources x86 '*.[chS]'
+ for i in '$archincludedir'
+ prune=' -wholename arch/x86/include -prune -o'
+ find arch/x86 '(' -name SCCS -o -name BitKeeper -o -name .svn -o
-name CVS -o -name .pc -o -name .hg -o -name .git ')' -prune -o
-wholename arch/x86/include -prune -o -name '*.[chS]' -print
+ find_other_sources '*.[chS]'
+ find COPYING CREDITS Documentation Kbuild Kconfig MAINTAINERS
Makefile README REPORTING-BUGS arch block crypto cscope.files
cscope.out cscope.out.in cscope.out.po drivers firmware fs include
init ipc kernel lib mm net samples scripts security sound tags tools
usr virt '(' -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS
-o -name .pc -o -name .hg -o -name .git ')' -prune -o '(' -name
include -o -name arch -o -name '.tmp_*' ')' -prune -o -name '*.[chS]'
-print
+ cscope -b -f cscope.out
+ '[' -n ']'
+ LANG=C
+ sed -i -e '/^\([a-zA-Z_][a-zA-Z0-9_]*\)\t.*\t\/\^struct
\1;.*\$\/;"\tx$/d' cscope
sed: can't read cscope: No such file or directory
make: *** [cscope] Error 2




-- 
Thanks,
Jike
--
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