summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2009-12-08Linux 2.6.27.40v2.6.27.40Greg Kroah-Hartman
2009-11-09Linux 2.6.27.39v2.6.27.39Greg Kroah-Hartman
2009-10-22Linux 2.6.27.38v2.6.27.38Greg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-12Linux 2.6.27.37v2.6.27.37Greg Kroah-Hartman
2009-10-05Linux 2.6.27.36v2.6.27.36Greg Kroah-Hartman
2009-09-24Linux 2.6.27.35v2.6.27.35Greg Kroah-Hartman
2009-09-15Linux 2.6.27.34v2.6.27.34Greg Kroah-Hartman
2009-09-09Linux 2.6.27.33v2.6.27.33Greg Kroah-Hartman
2009-09-08Linux 2.6.27.32v2.6.27.32Greg Kroah-Hartman
2009-08-17Linux 2.6.27.31v2.6.27.31Greg Kroah-Hartman
2009-08-16Linux 2.6.27.30v2.6.27.30Greg Kroah-Hartman
2009-07-30Linux 2.6.27.29v2.6.27.29Greg Kroah-Hartman
2009-07-24Linux 2.6.27.28v2.6.27.28Greg Kroah-Hartman
2009-07-19Linux 2.6.27.27v2.6.27.27Greg Kroah-Hartman
2009-07-19Don't use '-fwrapv' compiler option: it's buggy in gcc-4.1.xLinus Torvalds
commit a137802ee839ace40079bebde24cfb416f73208a upstream. This causes kernel images that don't run init to completion with certain broken gcc versions. This fixes kernel bugzilla entry: http://bugzilla.kernel.org/show_bug.cgi?id=13012 I suspect the gcc problem is this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28230 Fix the problem by using the -fno-strict-overflow flag instead, which not only does not exist in the known-to-be-broken versions of gcc (it was introduced later than fwrapv), but seems to be much less disturbing to gcc too: the difference in the generated code by -fno-strict-overflow are smaller (compared to using neither flag) than when using -fwrapv. Reported-by: Barry K. Nathan <barryn@pobox.com> Pushed-by: Frans Pop <elendil@planet.nl> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-19Add '-fno-delete-null-pointer-checks' to gcc CFLAGSEugene Teo
commit a3ca86aea507904148870946d599e07a340b39bf upstream. Turning on this flag could prevent the compiler from optimising away some "useless" checks for null pointers. Such bugs can sometimes become exploitable at compile time because of the -O2 optimisation. See http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Optimize-Options.html An example that clearly shows this 'problem' is commit 6bf67672. static void __devexit agnx_pci_remove(struct pci_dev *pdev) { struct ieee80211_hw *dev = pci_get_drvdata(pdev); - struct agnx_priv *priv = dev->priv; + struct agnx_priv *priv; AGNX_TRACE; if (!dev) return; + priv = dev->priv; By reverting this patch, and compile it with and without -fno-delete-null-pointer-checks flag, we can see that the check for dev is compiled away. call printk # - testq %r12, %r12 # dev - je .L94 #, movq %r12, %rdi # dev, Clearly the 'fix' is to stop using dev before it is tested, but building with -fno-delete-null-pointer-checks flag at least makes it harder to abuse. Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> Acked-by: Eric Paris <eparis@redhat.com> Acked-by: Wang Cong <amwang@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-02Linux 2.6.27.26v2.6.27.26Greg Kroah-Hartman
2009-06-11Linux 2.6.27.25v2.6.27.25Greg Kroah-Hartman
2009-05-19Linux 2.6.27.24v2.6.27.24Greg Kroah-Hartman
2009-05-08Linux 2.6.27.23v2.6.27.23Greg Kroah-Hartman
2009-05-02Linux 2.6.27.22v2.6.27.22Greg Kroah-Hartman
2009-03-23Linux 2.6.27.21v2.6.27.21Greg Kroah-Hartman
2009-03-23Move cc-option to below arch-specific setupLinus Torvalds
commit d0115552cdb0b4d4146975889fee2e9355515c4b upstream. Sam Ravnborg says: "We have several architectures that plays strange games with $(CC) and $(CROSS_COMPILE). So we need to postpone any use of $(call cc-option..) until we have included the arch specific Makefile so we try with the correct $(CC) version." Requested-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-23Add '-fwrapv' to gcc CFLAGSLinus Torvalds
commit 68df3755e383e6fecf2354a67b08f92f18536594 upstream. This makes sure that gcc doesn't try to optimize away wrapping arithmetic, which the kernel occasionally uses for overflow testing, ie things like if (ptr + offset < ptr) which technically is undefined for non-unsigned types. See http://bugzilla.kernel.org/show_bug.cgi?id=12597 for details. Not all versions of gcc support it, so we need to make it conditional (it looks like it was introduced in gcc-3.4). Reminded-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-16Linux 2.6.27.20v2.6.27.20Greg Kroah-Hartman
2009-02-20Linux 2.6.27.19v2.6.27.19Greg Kroah-Hartman
2009-02-17Linux 2.6.27.18v2.6.27.18Greg Kroah-Hartman
2009-02-12Linux 2.6.27.17v2.6.27.17Greg Kroah-Hartman
2009-02-12Linux 2.6.27.16v2.6.27.16Greg Kroah-Hartman
2009-02-06Linux 2.6.27.15v2.6.27.15Greg Kroah-Hartman
2009-02-02Linux 2.6.27.14v2.6.27.14Greg Kroah-Hartman
2009-01-24Linux 2.6.27.13v2.6.27.13Greg Kroah-Hartman
2009-01-18Linux 2.6.27.12v2.6.27.12Greg Kroah-Hartman
2009-01-14Linux 2.6.27.11v2.6.27.11Greg Kroah-Hartman
2008-12-18Linux 2.6.27.10v2.6.27.10Greg Kroah-Hartman
2008-12-13Linux 2.6.27.9v2.6.27.9Greg Kroah-Hartman
2008-12-05Linux 2.6.27.8v2.6.27.8Greg Kroah-Hartman
2008-11-20Linux 2.6.27.7v2.6.27.7Greg Kroah-Hartman
2008-11-13Linux 2.6.27.6v2.6.27.6Greg Kroah-Hartman
2008-11-07Linux 2.6.27.5v2.6.27.5Greg Kroah-Hartman
2008-10-25Linux 2.6.27.4v2.6.27.4Greg Kroah-Hartman
2008-10-22Linux 2.6.27.3v2.6.27.3Greg Kroah-Hartman
2008-10-18Linux 2.6.27.2v2.6.27.2Greg Kroah-Hartman
2008-10-15Linux 2.6.27.1v2.6.27.1Greg Kroah-Hartman
2008-10-09Linux 2.6.27v2.6.27Linus Torvalds
2008-10-06Linux 2.6.27-rc9v2.6.27-rc9Linus Torvalds
2008-09-29Linux 2.6.27-rc8v2.6.27-rc8Linus Torvalds
2008-09-21Linux 2.6.27-rc7v2.6.27-rc7Linus Torvalds
2008-09-09Linux 2.6.27-rc6v2.6.27-rc6Linus Torvalds
2008-08-28Linux 2.6.27-rc5v2.6.27-rc5Linus Torvalds