lkml.org 
[lkml]   [2015]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjecterror: implicit declaration of function 'zero_bytemask'
Date
Dear Chris,

the following commit breaks my Linux build.

commit 990486c8af044f89bddfbde1d1cf9fde449bedbf
Author: Chris Metcalf <cmetcalf@ezchip.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


[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-10-07 15:01    [W:0.046 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site