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:	Wed, 30 Dec 2009 19:35:22 +0200
From:	Boaz Harrosh <bharrosh@...asas.com>
To:	Arjan van de Ven <arjan@...ux.intel.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: build error with DEBUG_STRICT_USER_COPY_CHECKS on at mm/migrate.c:1009

Arjan hi

building with ARCH=i386 allmodconfig will give me the below compilation error.
I'm on FC12 [gcc (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20)]

In file included from arch/x86/include/asm/uaccess.h:571,
                 from include/linux/uaccess.h:5,
                 from include/linux/highmem.h:6,
                 from include/linux/pagemap.h:10,
                 from include/linux/mempolicy.h:62,
                 from include/linux/migrate.h:5,
                 from mm/migrate.c:15:
In function 'copy_from_user',
    inlined from 'do_pages_stat' at mm/migrate.c:1009:
arch/x86/include/asm/uaccess_32.h:213: error: call to 'copy_from_user_overflow' declared with attribute error: copy_from_user() buffer size is not provably correct

un-setting DEBUG_STRICT_USER_COPY_CHECKS, (It was turned on by allmodconfig) will let
the kernel compile.

I thought you might want to know
Boaz

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