Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1503344

Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of 1108 bytes is larger than 1024 bytes

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of 1108 bytes is larger than 1024 bytes
Date 2016-10-18 23:00 +0200
Message-ID <stJEm-79N-7@gated-at.bofh.it> (permalink)
References <ssGfv-5Xy-1@gated-at.bofh.it> <stnNw-Pb-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Oct 17, 2016 at 2:37 PM, Emese Revfy <re.emese@gmail.com> wrote:
> On Sun, 16 Oct 2016 06:52:16 +0800
> kbuild test robot <fengguang.wu@intel.com> wrote:
>
>>    drivers/pci/hotplug/ibmphp_ebda.c: In function 'ibmphp_access_ebda':
>> >> drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of 1108 bytes is larger than 1024 bytes [-Wframe-larger-than=]
>
> Hi,
>
> Thanks for the report. The problem is that these are large functions
> (there are a lot of basic blocks) and the entropy plugin instruments all basic blocks.
> I think the solution is to skip these functions which contain more than n basic blocks.
> Sorry, I haven't time to fix this bug. PaX Team will fix it in PaX.

This is controlled by CONFIG_FRAME_WARN. I don't think this is a
particular problem or should be avoided, but perhaps we can set the
default to 2048 (as done on 64BIT) if we're building with the entropy
plugin.

-Kees

-- 
Kees Cook
Nexus Security

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of  1108 bytes is larger than 1024 bytes kbuild test robot <fengguang.wu@intel.com> - 2016-10-16 01:10 +0200
  Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame  size of 1108 bytes is larger than 1024 bytes Emese Revfy <re.emese@gmail.com> - 2016-10-17 23:40 +0200
    Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size  of 1108 bytes is larger than 1024 bytes Kees Cook <keescook@chromium.org> - 2016-10-18 23:00 +0200
      Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame  size of 1108 bytes is larger than 1024 bytes Emese Revfy <re.emese@gmail.com> - 2016-10-18 23:40 +0200
        Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size  of 1108 bytes is larger than 1024 bytes Kees Cook <keescook@chromium.org> - 2016-10-19 00:10 +0200
          Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame  size of 1108 bytes is larger than 1024 bytes Emese Revfy <re.emese@gmail.com> - 2016-10-19 00:20 +0200

csiph-web