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-next>] [day] [month] [year] [list]
Date:	Wed, 07 Oct 2015 14:53:18 +0200
From:	Michal Sojka <sojkam1@....cvut.cz>
To:	Chris Metcalf <cmetcalf@...hip.com>
Cc:	lkml <linux-kernel@...r.kernel.org>
Subject: error: implicit declaration of function 'zero_bytemask'

Dear Chris,

the following commit breaks my Linux build.

    commit 990486c8af044f89bddfbde1d1cf9fde449bedbf
    Author: Chris Metcalf <cmetcalf@...hip.com>
    Date:   Tue Oct 6 12:37:41 2015 -0400
     
        strscpy: zero any trailing garbage bytes in the destination
        
        It's possible that the destination can be shadowed in userspace
        (as, for example, the perf buffers are now).  So we should take
        care not to leak data that could be inspected by userspace.

The error message is:

    lib/string.c: In function 'strscpy':
    lib/string.c:209:4: error: implicit declaration of function 'zero_bytemask' [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors

I compile the kernel for PowerPC (32 bit) with the attached config.

Best regards,
-Michal



Download attachment ".config" of type "application/octet-stream" (31882 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ