On Sat, 17 Feb 2018 03:38:48 +0900
Masahiro Yamada wrote:
> If the target compiler is GCC 4.8 or newer, plugins are compiled with
> HOSTCXX. Otherwise, gcc-plugin.sh will select HOSTCC or HOSTCXX.
>
> To simpily things, let's decide GCC 4.8 is the requirement for
On Sat, 17 Feb 2018 03:38:48 +0900
Masahiro Yamada wrote:
> If the target compiler is GCC 4.8 or newer, plugins are compiled with
> HOSTCXX. Otherwise, gcc-plugin.sh will select HOSTCC or HOSTCXX.
>
> To simpily things, let's decide GCC 4.8 is the requirement for GCC
> pulgins. With this,
On Wed, 15 Feb 2017 11:27:06 -0800
Kees Cook <keesc...@chromium.org> wrote:
> On Tue, Feb 14, 2017 at 4:23 PM, Emese Revfy <re.em...@gmail.com> wrote:
> > On Thu, 12 Jan 2017 15:40:41 -0800
> > Kees Cook <keesc...@chromium.org> wrote:
> >
> >>
On Wed, 15 Feb 2017 11:27:06 -0800
Kees Cook wrote:
> On Tue, Feb 14, 2017 at 4:23 PM, Emese Revfy wrote:
> > On Thu, 12 Jan 2017 15:40:41 -0800
> > Kees Cook wrote:
> >
> >> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
> >&g
On Thu, 12 Jan 2017 15:40:41 -0800
Kees Cook wrote:
> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
> reference from the function clk_gate() to the variable
> .init.rodata.str:__func__.29708
> The function clk_gate() references
> the variable
On Thu, 12 Jan 2017 15:40:41 -0800
Kees Cook wrote:
> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
> reference from the function clk_gate() to the variable
> .init.rodata.str:__func__.29708
> The function clk_gate() references
> the variable __initconst __func__.29708.
>
On Thu, 12 Jan 2017 15:40:41 -0800
Kees Cook wrote:
> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
> reference from the function clk_gate() to the variable
> .init.rodata.str:__func__.29708
> The function clk_gate() references
> the variable
On Thu, 12 Jan 2017 15:40:41 -0800
Kees Cook wrote:
> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
> reference from the function clk_gate() to the variable
> .init.rodata.str:__func__.29708
> The function clk_gate() references
> the variable __initconst __func__.29708.
>
On Tue, 10 Jan 2017 17:09:31 -0800
Kees Cook wrote:
> WARNING: vmlinux.o(.text+0x1087e7): Section mismatch in reference from
> the function rebind_subsystems() to the variable
> .init.rodata.str:__func__.4400
> The function rebind_subsystems() references
> the variable
On Tue, 10 Jan 2017 17:09:31 -0800
Kees Cook wrote:
> WARNING: vmlinux.o(.text+0x1087e7): Section mismatch in reference from
> the function rebind_subsystems() to the variable
> .init.rodata.str:__func__.4400
> The function rebind_subsystems() references
> the variable __initconst __func__.4400.
On Tue, 3 Jan 2017 16:23:03 -0800
Kees Cook <keesc...@chromium.org> wrote:
> On Mon, Dec 19, 2016 at 3:10 AM, Emese Revfy <re.em...@gmail.com> wrote:
> > On Fri, 16 Dec 2016 14:19:10 -0800
> > Kees Cook <keesc...@chromium.org> wrote:
> >
> >> FW
On Tue, 3 Jan 2017 16:23:03 -0800
Kees Cook wrote:
> On Mon, Dec 19, 2016 at 3:10 AM, Emese Revfy wrote:
> > On Fri, 16 Dec 2016 14:19:10 -0800
> > Kees Cook wrote:
> >
> >> FWIW, it still seems to me that these aren't false positives:
> >>
>
On Fri, 16 Dec 2016 14:19:10 -0800
Kees Cook wrote:
> FWIW, it still seems to me that these aren't false positives:
>
> WARNING: vmlinux.o(.text.unlikely+0x1b1): Section mismatch in
> reference from the function uncore_pci_exit.part.22() to the function
>
On Fri, 16 Dec 2016 14:19:10 -0800
Kees Cook wrote:
> FWIW, it still seems to me that these aren't false positives:
>
> WARNING: vmlinux.o(.text.unlikely+0x1b1): Section mismatch in
> reference from the function uncore_pci_exit.part.22() to the function
> .init.text:uncore_free_pcibus_map()
>
On Fri, 16 Dec 2016 10:00:22 +0100
Arnd Bergmann wrote:
> Cc: sta...@vger.kernel.org
> Suggested-by: Kugan
> Signed-off-by: Arnd Bergmann
> ---
> scripts/gcc-plugins/gcc-common.h | 6 ++
> 1 file changed, 6 insertions(+)
>
On Fri, 16 Dec 2016 10:00:22 +0100
Arnd Bergmann wrote:
> Cc: sta...@vger.kernel.org
> Suggested-by: Kugan
> Signed-off-by: Arnd Bergmann
> ---
> scripts/gcc-plugins/gcc-common.h | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/scripts/gcc-plugins/gcc-common.h
>
On Fri, 9 Dec 2016 11:12:18 -0800
Kees Cook wrote:
> On Fri, Dec 9, 2016 at 2:40 AM, Arnd Bergmann wrote:
> > On Thursday, December 8, 2016 11:00:42 AM CET Kees Cook wrote:
> >
> >> If you have a moment, applying 215e2aa6c024[1] and reverting
> >>
On Fri, 9 Dec 2016 11:12:18 -0800
Kees Cook wrote:
> On Fri, Dec 9, 2016 at 2:40 AM, Arnd Bergmann wrote:
> > On Thursday, December 8, 2016 11:00:42 AM CET Kees Cook wrote:
> >
> >> If you have a moment, applying 215e2aa6c024[1] and reverting
> >> a519167e753e for an allyesconfig/allmodconfig
On Tue, 6 Dec 2016 17:28:00 +1100
Andrew Donnellan wrote:
> + # Various gccs between 4.5 and 5.1 have bugs on powerpc due to missing
> + # header files. gcc <= 4.6 doesn't work at all, gccs from 4.8 to 5.1
> have
> + # issues with 64-bit targets.
>
On Tue, 6 Dec 2016 17:28:00 +1100
Andrew Donnellan wrote:
> + # Various gccs between 4.5 and 5.1 have bugs on powerpc due to missing
> + # header files. gcc <= 4.6 doesn't work at all, gccs from 4.8 to 5.1
> have
> + # issues with 64-bit targets.
> + ifeq ($(ARCH),powerpc)
On Sun, 6 Nov 2016 07:09:57 +0800
kbuild test robot wrote:
> Hi Emese,
>
> FYI, the error/warning still remains.
>
>++(scripts/gcc-plugin.sh:12): main(): gcc-4.6 -E -x c++ - -o /dev/null
> -Iscripts/gcc-plugins -Iplugin/include
>scripts/Makefile.gcc-plugins:30:
On Sun, 6 Nov 2016 07:09:57 +0800
kbuild test robot wrote:
> Hi Emese,
>
> FYI, the error/warning still remains.
>
>++(scripts/gcc-plugin.sh:12): main(): gcc-4.6 -E -x c++ - -o /dev/null
> -Iscripts/gcc-plugins -Iplugin/include
>scripts/Makefile.gcc-plugins:30: warning: your gcc
On Tue, 18 Oct 2016 15:05:39 -0700
Kees Cook <keesc...@chromium.org> wrote:
> On Tue, Oct 18, 2016 at 2:36 PM, Emese Revfy <re.em...@gmail.com> wrote:
> > On Tue, 18 Oct 2016 13:57:35 -0700
> > Kees Cook <keesc...@chromium.org> wrote:
> >
> >>
On Tue, 18 Oct 2016 15:05:39 -0700
Kees Cook wrote:
> On Tue, Oct 18, 2016 at 2:36 PM, Emese Revfy wrote:
> > On Tue, 18 Oct 2016 13:57:35 -0700
> > Kees Cook wrote:
> >
> >> This is controlled by CONFIG_FRAME_WARN. I don't think this is a
> >>
On Tue, 18 Oct 2016 13:57:35 -0700
Kees Cook wrote:
> 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.
On Tue, 18 Oct 2016 13:57:35 -0700
Kees Cook wrote:
> 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.
This is probably a gcc
On Sun, 16 Oct 2016 06:52:16 +0800
kbuild test robot 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=]
On Sun, 16 Oct 2016 06:52:16 +0800
kbuild test robot 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
Fixed format strings warnings exposed by the printf attribute.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
drivers/acpi/acpica/dbhistry.c | 2 +-
drivers/acpi/acpica/dbinput.c | 10 ++---
drivers/acpi/acpica/dbstats.c | 88 +++---
d
Fixed format strings warnings exposed by the printf attribute.
Signed-off-by: Emese Revfy
---
drivers/acpi/acpica/dbhistry.c | 2 +-
drivers/acpi/acpica/dbinput.c | 10 ++---
drivers/acpi/acpica/dbstats.c | 88 +++---
drivers/acpi/acpica/utdebug.c
Disable the initify plugin on the 6th parameter
of __warn() because the va_list type can't be NULL
on the tile arch.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
include/asm-generic/bug.h | 7 +--
kernel/panic.c| 32
lib
Disable the initify plugin on the 6th parameter
of __warn() because the va_list type can't be NULL
on the tile arch.
Signed-off-by: Emese Revfy
---
include/asm-generic/bug.h | 7 +--
kernel/panic.c| 32
lib/bug.c | 2 +-
3 files
This attribute disables the compile data flow verification of the
designated nocapture parameters of the function. Use it only on function
parameters that are difficult for the plugin to analyze.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
include/linux/compiler-gcc.h | 1 +
i
This attribute disables the compile data flow verification of the
designated nocapture parameters of the function. Use it only on function
parameters that are difficult for the plugin to analyze.
Signed-off-by: Emese Revfy
---
include/linux/compiler-gcc.h | 1 +
include/linux/compiler.h | 4
This allows not only compile time format string checking but can also
increase the coverage of the initify plugin.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
drivers/scsi/esas2r/esas2r_log.h | 4 ++--
include/acpi/acpiosxf.h | 3 ++-
2 files changed, 4 insertions
This allows not only compile time format string checking but can also
increase the coverage of the initify plugin.
Signed-off-by: Emese Revfy
---
drivers/scsi/esas2r/esas2r_log.h | 4 ++--
include/acpi/acpiosxf.h | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git
then the plugin initifies all vararg
arguments.
I couldn't test the arm, arm64 and powerpc architectures.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
arch/arm/include/asm/string.h | 10 +++---
arch/arm64/include/asm/string.h | 25 ++---
arch/powerpc/include/asm/string.
then the plugin initifies all vararg
arguments.
I couldn't test the arm, arm64 and powerpc architectures.
Signed-off-by: Emese Revfy
---
arch/arm/include/asm/string.h | 10 +++---
arch/arm64/include/asm/string.h | 25 ++---
arch/powerpc/include/asm/string.h | 19 +-
arch/x86
plugin to increase coverage.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
arch/Kconfig | 35 +
arch/x86/Kconfig |1 +
arch/x86/lib/Makefile|4 +
include/asm-generic/vmlinux.lds.h|2 +
include/linux/compiler
plugin to increase coverage.
Signed-off-by: Emese Revfy
---
arch/Kconfig | 35 +
arch/x86/Kconfig |1 +
arch/x86/lib/Makefile|4 +
include/asm-generic/vmlinux.lds.h|2 +
include/linux/compiler-gcc.h | 14
Initify needs const pointer types, the initify plugin caught some __printf
arguments that weren't const yet.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
drivers/isdn/hisax/config.c | 16
drivers/isdn/hisax/hisax.h | 4 ++--
2 files changed, 10 insertions(
Initify needs const pointer types, the initify plugin caught some __printf
arguments that weren't const yet.
Signed-off-by: Emese Revfy
---
drivers/isdn/hisax/config.c | 16
drivers/isdn/hisax/hisax.h | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git
to enable dataflow verification by the initify plugin. This allows marking
warn_slowpath* parameters as nocapture and compile time verification of
the related dataflows.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
include/asm-generic/bug.h | 5 +
kernel/panic.c
to enable dataflow verification by the initify plugin. This allows marking
warn_slowpath* parameters as nocapture and compile time verification of
the related dataflows.
Signed-off-by: Emese Revfy
---
include/asm-generic/bug.h | 5 +
kernel/panic.c| 32
so that its parameter can be marked as nocapture.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
mm/util.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mm/util.c b/mm/util.c
index 662cddf..d95f10b 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -17,10
so that its parameter can be marked as nocapture.
Signed-off-by: Emese Revfy
---
mm/util.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mm/util.c b/mm/util.c
index 662cddf..d95f10b 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -17,10 +17,10 @@
#include
__ksymtab_gpl __ksymtab_strings __init_rodata
__param __modver
03 .init.text .altinstr_aux .init.data .x86_cpu_dev.init
.parainstructions .altinstructions .altinstr_replacement
.iommu_table .apicdrivers .exit.text .exit.data .smp_locks .bss .brk
Emese Revfy (7):
Move type
__ksymtab_gpl __ksymtab_strings __init_rodata
__param __modver
03 .init.text .altinstr_aux .init.data .x86_cpu_dev.init
.parainstructions .altinstructions .altinstr_replacement
.iommu_table .apicdrivers .exit.text .exit.data .smp_locks .bss .brk
Emese Revfy (7):
Move type
On Tue, 12 Jul 2016 18:38:47 -0400
Kees Cook <keesc...@chromium.org> wrote:
> On Tue, Jul 12, 2016 at 6:08 PM, Russell King - ARM Linux
> <li...@armlinux.org.uk> wrote:
> > On Tue, Jul 12, 2016 at 03:45:56PM -0400, Kees Cook wrote:
> >> On Mon, Jul 4, 20
On Tue, 12 Jul 2016 18:38:47 -0400
Kees Cook wrote:
> On Tue, Jul 12, 2016 at 6:08 PM, Russell King - ARM Linux
> wrote:
> > On Tue, Jul 12, 2016 at 03:45:56PM -0400, Kees Cook wrote:
> >> On Mon, Jul 4, 2016 at 7:40 PM, Emese Revfy wrote:
> > That sounds like
On Tue, 12 Jul 2016 15:45:56 -0400
Kees Cook <keesc...@chromium.org> wrote:
> On Mon, Jul 4, 2016 at 7:40 PM, Emese Revfy <re.em...@gmail.com> wrote:
> > If a function is called by __init and __exit functions as well then
> > the plugin moves it to the __exit section.
On Tue, 12 Jul 2016 15:45:56 -0400
Kees Cook wrote:
> On Mon, Jul 4, 2016 at 7:40 PM, Emese Revfy wrote:
> > If a function is called by __init and __exit functions as well then
> > the plugin moves it to the __exit section. This causes false positive
> > section mismatch e
On Tue, 12 Jul 2016 16:05:45 -0400
Kees Cook wrote:
> /*
> * The initify gcc-plugin attempts to identify const arguments that are only
> * used during init (see __init), so they can be moved to the .init.rodata
> * section. If an argument is passed to a non-init
On Tue, 12 Jul 2016 16:05:45 -0400
Kees Cook wrote:
> /*
> * The initify gcc-plugin attempts to identify const arguments that are only
> * used during init (see __init), so they can be moved to the .init.rodata
> * section. If an argument is passed to a non-init function, it must
> *
On Tue, 12 Jul 2016 15:45:56 -0400
Kees Cook <keesc...@chromium.org> wrote:
> On Mon, Jul 4, 2016 at 7:40 PM, Emese Revfy <re.em...@gmail.com> wrote:
> Thanks for sending this! I'll get it added to my tree for some 0day
> build testing, and then get it into my -next tree.
On Tue, 12 Jul 2016 15:45:56 -0400
Kees Cook wrote:
> On Mon, Jul 4, 2016 at 7:40 PM, Emese Revfy wrote:
> Thanks for sending this! I'll get it added to my tree for some 0day
> build testing, and then get it into my -next tree.
I'll send a new patch set soon. I'm working on some fi
On Tue, 5 Jul 2016 07:58:04 +0800
kbuild test robot wrote:
> All warnings (new ones prefixed by >>):
>
>drivers/isdn/hisax/config.c: In function 'VHiSax_putstatus':
> >> drivers/isdn/hisax/config.c:688:5: warning: assignment discards 'const'
> >> qualifier from pointer
On Tue, 5 Jul 2016 07:58:04 +0800
kbuild test robot wrote:
> All warnings (new ones prefixed by >>):
>
>drivers/isdn/hisax/config.c: In function 'VHiSax_putstatus':
> >> drivers/isdn/hisax/config.c:688:5: warning: assignment discards 'const'
> >> qualifier from pointer target type
Initify needs const pointer types, the initify plugin caught some __printf
arguments that weren't const yet.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
drivers/isdn/hisax/config.c | 16
drivers/isdn/hisax/hisax.h | 4 ++--
2 files changed, 10 insertions(
Initify needs const pointer types, the initify plugin caught some __printf
arguments that weren't const yet.
Signed-off-by: Emese Revfy
---
drivers/isdn/hisax/config.c | 16
drivers/isdn/hisax/hisax.h | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git
Initify needs const pointer types, the initify plugin caught some __printf
arguments that weren't const yet.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
drivers/isdn/hisax/config.c | 4 ++--
drivers/isdn/hisax/hisax.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Initify needs const pointer types, the initify plugin caught some __printf
arguments that weren't const yet.
Signed-off-by: Emese Revfy
---
drivers/isdn/hisax/config.c | 4 ++--
drivers/isdn/hisax/hisax.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/isdn
the arm, arm64 and powerpc architectures.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
arch/arm/include/asm/string.h | 4 +--
arch/arm64/include/asm/string.h | 19 ++--
arch/powerpc/include/asm/string.h | 19 ++--
arch/x86/include/asm/string_32.h
the arm, arm64 and powerpc architectures.
Signed-off-by: Emese Revfy
---
arch/arm/include/asm/string.h | 4 +--
arch/arm64/include/asm/string.h | 19 ++--
arch/powerpc/include/asm/string.h | 19 ++--
arch/x86/include/asm/string_32.h | 21 ++---
arch/x86/include/asm
plugin to increase coverage.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
arch/Kconfig | 23 +
include/asm-generic/vmlinux.lds.h|2 +
scripts/Makefile.gcc-plugins |4 +
scripts/gcc-plugins/gcc-common.h | 41 ++
scripts/gcc-p
plugin to increase coverage.
Signed-off-by: Emese Revfy
---
arch/Kconfig | 23 +
include/asm-generic/vmlinux.lds.h|2 +
scripts/Makefile.gcc-plugins |4 +
scripts/gcc-plugins/gcc-common.h | 41 ++
scripts/gcc-plugins/initify_plugin.c | 1183
u_dev.init
.parainstructions .altinstructions .altinstr_replacement
.iommu_table .apicdrivers .exit.text .exit.data .smp_locks .bss .brk
Emese Revfy (3):
Add the initify gcc plugin
Mark functions with the __nocapture attribute
Constify some function parameters
Changes from v1:
* Removed u
u_dev.init
.parainstructions .altinstructions .altinstr_replacement
.iommu_table .apicdrivers .exit.text .exit.data .smp_locks .bss .brk
Emese Revfy (3):
Add the initify gcc plugin
Mark functions with the __nocapture attribute
Constify some function parameters
Changes from v1:
* Removed u
On Wed, 29 Jun 2016 17:12:45 -0700
Joe Perches <j...@perches.com> wrote:
> On Wed, 2016-06-29 at 20:42 +0200, Emese Revfy wrote:
> > On Tue, 28 Jun 2016 14:00:57 -0700 Joe Perches <j...@perches.com> wrote:
> > > On Tue, 2016-06-28 at 22:40 +0200, Emese Revfy wrote:
On Wed, 29 Jun 2016 17:12:45 -0700
Joe Perches wrote:
> On Wed, 2016-06-29 at 20:42 +0200, Emese Revfy wrote:
> > On Tue, 28 Jun 2016 14:00:57 -0700 Joe Perches wrote:
> > > On Tue, 2016-06-28 at 22:40 +0200, Emese Revfy wrote:
> > > > On Tue, 28 Jun 2016 09:
On Tue, 28 Jun 2016 23:05:56 +0200
Rasmus Villemoes <li...@rasmusvillemoes.dk> wrote:
> On Tue, Jun 28 2016, Emese Revfy <re.em...@gmail.com> wrote:
>
> > The kernel already has a mechanism to free up code and data memory that
> > is only used during k
On Tue, 28 Jun 2016 23:05:56 +0200
Rasmus Villemoes wrote:
> On Tue, Jun 28 2016, Emese Revfy wrote:
>
> > The kernel already has a mechanism to free up code and data memory that
> > is only used during kernel or module initialization.
> > This plugin will teach t
On Tue, 28 Jun 2016 14:00:57 -0700
Joe Perches <j...@perches.com> wrote:
> On Tue, 2016-06-28 at 22:40 +0200, Emese Revfy wrote:
> > On Tue, 28 Jun 2016 09:43:31 -0700 Joe Perches <j...@perches.com> wrote:
> > > On Tue, 2016-06-28 at 13:36 +0200, Emese Revfy wr
On Tue, 28 Jun 2016 14:00:57 -0700
Joe Perches wrote:
> On Tue, 2016-06-28 at 22:40 +0200, Emese Revfy wrote:
> > On Tue, 28 Jun 2016 09:43:31 -0700 Joe Perches wrote:
> > > On Tue, 2016-06-28 at 13:36 +0200, Emese Revfy wrote:
> > > > The nocapture gcc attr
On Tue, 28 Jun 2016 22:50:55 +0200
Rasmus Villemoes <li...@rasmusvillemoes.dk> wrote:
> On Tue, Jun 28 2016, Emese Revfy <re.em...@gmail.com> wrote:
> > diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h
> > index 6f96247..4cdf266 100644
> >
On Tue, 28 Jun 2016 22:50:55 +0200
Rasmus Villemoes wrote:
> On Tue, Jun 28 2016, Emese Revfy wrote:
> > diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h
> > index 6f96247..4cdf266 100644
> > --- a/include/asm-generic/bug.h
> > +++ b/include/asm-
On Wed, 29 Jun 2016 18:52:27 +0100
Mark Rutland <mark.rutl...@arm.com> wrote:
> On Wed, Jun 29, 2016 at 09:21:37AM +0100, Mark Rutland wrote:
> > On Tue, Jun 28, 2016 at 01:46:04PM -0700, Kees Cook wrote:
> > > On Tue, Jun 28, 2016 at 9:14 AM, Emese Revfy &l
On Wed, 29 Jun 2016 18:52:27 +0100
Mark Rutland wrote:
> On Wed, Jun 29, 2016 at 09:21:37AM +0100, Mark Rutland wrote:
> > On Tue, Jun 28, 2016 at 01:46:04PM -0700, Kees Cook wrote:
> > > On Tue, Jun 28, 2016 at 9:14 AM, Emese Revfy wrote:
> > > > On Tue, 28 Jun 20
On Tue, 28 Jun 2016 09:43:31 -0700
Joe Perches <j...@perches.com> wrote:
> On Tue, 2016-06-28 at 13:36 +0200, Emese Revfy wrote:
> > The nocapture gcc attribute can be on functions only.
> > The attribute takes one or more unsigned integer constants as parameters
> >
On Tue, 28 Jun 2016 09:43:31 -0700
Joe Perches wrote:
> On Tue, 2016-06-28 at 13:36 +0200, Emese Revfy wrote:
> > The nocapture gcc attribute can be on functions only.
> > The attribute takes one or more unsigned integer constants as parameters
> > that specify the function
On Tue, 28 Jun 2016 21:02:54 +0200
Rasmus Villemoes wrote:
> It'll get placed in multiple sections by the compiler, and nothing bad
> happens. String deduplication is something the linker does to sections
> equipped with appropriate flags. So in this case that of course
On Tue, 28 Jun 2016 21:02:54 +0200
Rasmus Villemoes wrote:
> It'll get placed in multiple sections by the compiler, and nothing bad
> happens. String deduplication is something the linker does to sections
> equipped with appropriate flags. So in this case that of course means
Note that I didn't
On Tue, 28 Jun 2016 19:00:22 +0200
Mathias Krause wrote:
> > section vanilla vanilla + initifychange
> > ---
> > .rodata 39059688 (0x25400e8)38527210 (0x24be0ea)
On Tue, 28 Jun 2016 19:00:22 +0200
Mathias Krause wrote:
> > section vanilla vanilla + initifychange
> > ---
> > .rodata 39059688 (0x25400e8)38527210 (0x24be0ea)-532478
> > .data
On Tue, 28 Jun 2016 13:57:49 +0100
Mark Rutland <mark.rutl...@arm.com> wrote:
> On Tue, Jun 28, 2016 at 01:34:07PM +0200, Emese Revfy wrote:
> > This patch set is based on the "Add support for complex gcc plugins that
> > don't fit in a single file" patch se
On Tue, 28 Jun 2016 13:57:49 +0100
Mark Rutland wrote:
> On Tue, Jun 28, 2016 at 01:34:07PM +0200, Emese Revfy wrote:
> > This patch set is based on the "Add support for complex gcc plugins that
> > don't fit in a single file" patch set (git/kees/linux.git#kspp HEAD
On Tue, 28 Jun 2016 13:34:07 +0200
Emese Revfy <re.em...@gmail.com> wrote:
> * automatically discover init/exit functions and apply the __init or
>__exit attributes on them
Hi,
I have a question about this. If a function is called by __init and __exit
functions as well
On Tue, 28 Jun 2016 13:34:07 +0200
Emese Revfy wrote:
> * automatically discover init/exit functions and apply the __init or
>__exit attributes on them
Hi,
I have a question about this. If a function is called by __init and __exit
functions as well then
I move it to the __exit sect
the arm, arm64 and powerpc architectures.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
arch/arm/include/asm/string.h | 10 +++---
arch/arm64/include/asm/string.h | 23 ++--
arch/powerpc/include/asm/string.h | 19 +-
arch/x86/boot/string.h| 4 +--
ar
systems.
The instrumentation pass of the latent_entropy plugin must run after
the initify plugin to increase coverage.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
arch/Kconfig | 23 +
include/asm-generic/vmlinux.lds.h|2 +
scripts/Makefile.gcc-p
the arm, arm64 and powerpc architectures.
Signed-off-by: Emese Revfy
---
arch/arm/include/asm/string.h | 10 +++---
arch/arm64/include/asm/string.h | 23 ++--
arch/powerpc/include/asm/string.h | 19 +-
arch/x86/boot/string.h| 4 +--
arch/x86/include/asm/string_32
systems.
The instrumentation pass of the latent_entropy plugin must run after
the initify plugin to increase coverage.
Signed-off-by: Emese Revfy
---
arch/Kconfig | 23 +
include/asm-generic/vmlinux.lds.h|2 +
scripts/Makefile.gcc-plugins |4 +
scripts
77576664 (0x49fb9d8) -38464
.init.text 1108455 (0x10e9e7) 1137618 (0x115bd2) +29163
Emese Revfy (2):
Add the initify gcc plugin
Mark functions with the __nocapture attribute
---
arch/Kconfig | 23 +
arch/arm/include/asm/string.h| 1
77576664 (0x49fb9d8) -38464
.init.text 1108455 (0x10e9e7) 1137618 (0x115bd2) +29163
Emese Revfy (2):
Add the initify gcc plugin
Mark functions with the __nocapture attribute
---
arch/Kconfig | 23 +
arch/arm/include/asm/string.h| 1
When extra_latent_entropy is passed on the kernel command line,
entropy will be extracted from up to the first 4GB of RAM while the
runtime memory allocator is being initialized.
Based on work created by the PaX Team.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
Documentation/
When extra_latent_entropy is passed on the kernel command line,
entropy will be extracted from up to the first 4GB of RAM while the
runtime memory allocator is being initialized.
Based on work created by the PaX Team.
Signed-off-by: Emese Revfy
---
Documentation/kernel-parameters.txt | 5
with integer fields.
These functions have been selected because they are init functions or
are called at random times or they have variable loops.
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
block/blk-softirq.c | 2 +-
drivers/char/random.c| 6 +++---
fs/names
with integer fields.
These functions have been selected because they are init functions or
are called at random times or they have variable loops.
Signed-off-by: Emese Revfy
---
block/blk-softirq.c | 2 +-
drivers/char/random.c| 6 +++---
fs/namespace.c | 1 +
include
in do_one_initcall() and _do_fork().
Signed-off-by: Emese Revfy <re.em...@gmail.com>
---
arch/Kconfig| 18 +
arch/powerpc/kernel/Makefile| 4 +
include/linux/random.h | 10 +
init/main.c
in do_one_initcall() and _do_fork().
Signed-off-by: Emese Revfy
---
arch/Kconfig| 18 +
arch/powerpc/kernel/Makefile| 4 +
include/linux/random.h | 10 +
init/main.c | 1 +
kernel/fork.c
1 - 100 of 272 matches
Mail list logo