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>] [day] [month] [year] [list]
Date:	Fri,  7 Dec 2012 11:10:37 +0000
From:	Jonathan Austin <jonathan.austin@....com>
To:	akpm@...ux-foundation.org
Cc:	linux-kernel@...r.kernel.org, dhowells@...hat.com,
	Jonathan Austin <jonathan.austin@....com>
Subject: [PATCH] Remove stale entry for generated version.h file in .gitignore

Since userspace headers were moved to generated/uapi it possible to have a stale copy
of linux/version.h at that file's old location. This causes confusion after building
an older kernel version, then checking out and building a new one; the old (stale)
version header will still get picked up until it is manually removed. This upsets the
C library.

Since the uapi changes, include/linux/version.h is no longer generated and should not
be ignored, so this patch removes it from .gitignore.

Reported-by: Kevin Petit <kevin.petit@....com>
Signed-off-by: Jonathan Austin <jonathan.austin@....com>
---
 .gitignore |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/.gitignore b/.gitignore
index 92bd0e4..3b8b9b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,7 +60,6 @@ modules.builtin
 # Generated include files
 #
 include/config
-include/linux/version.h
 include/generated
 arch/*/include/generated
 
-- 
1.7.1


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