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:	Tue, 26 Mar 2013 14:05:20 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	David Howells <dhowells@...hat.com>
Cc:	torvalds@...ux-foundation.org, arnd@...db.de,
	linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] UAPI: Remove empty Kbuild files

On Tue, 26 Mar 2013 20:59:43 +0000 David Howells <dhowells@...hat.com> wrote:

> Andrew Morton <akpm@...ux-foundation.org> wrote:
> 
> > > Remove empty Kbuild files as they cause problems with the patch program
> > > which removes files that become empty.
> > > 
> > > Should I also remove include/Kbuild as that now does nothing?  Or should
> > > it be left as an anchor just in case we want it in future?
> > 
> > I think that if the build system created it, a `make clean' or `make
> > mproper' should rub it out again.  Ideally a `make mrproper' will give
> > you a tree which is identical to a freshly-untarred kernel.org tarball
> > (yes?).
> 
> Ummm...  What's that got to do with it?  include/Kbuild is part of the
> sources: make clean/mrproper/distclean should not be removing it.

Obviously, I thought you were referring to build-time operations.

> > Which reminds me of my email which you're still hiding from ;)
> > Shouldn't a `make mrproper' undo the effects of `make headers_install'
> > by wiping ./usr/include/?
> 
> Ummm...
> 
> 	warthog>cp .../.config .
> 	warthog>make -j12 >&/dev/null
> 	warthog>find usr/include/ | wc -l
> 	873
> 	warthog>make distclean >&/dev/null
> 	warthog>find usr/include/ | wc -l
> 	find: `usr/include/': No such file or directory
> 	0
> 
> and:
> 
> 	warthog>cp .../.config .
> 	warthog>make -j12 >&/dev/null
> 	warthog>find usr/include/ | wc -l
> 	873
> 	warthog>make mrproper >&/dev/null
> 	warthog>find usr/include/ | wc -l
> 	find: `usr/include/': No such file or directory
> 	0
> 
> so I don't see the problem.

Well damn.  I tested this a few days ago and a `make mrproper' didn't
remove usr/include.  Did something change recently?  If not, something
odd is going on.  I definitely tested it.

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