Re: [PATCH v3] add the option of fortified string.h functions

2017-05-26 Thread Daniel Micay
On Thu, 2017-05-25 at 20:40 -0700, Kees Cook wrote: > On Mon, May 22, 2017 at 4:10 PM, Daniel Micay > wrote: > > diff --git a/arch/x86/include/asm/string_64.h > > b/arch/x86/include/asm/string_64.h > > index 733bae07fb29..3c5b26e07b85 100644 > > ---

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-26 Thread Daniel Micay
On Thu, 2017-05-25 at 20:40 -0700, Kees Cook wrote: > On Mon, May 22, 2017 at 4:10 PM, Daniel Micay > wrote: > > diff --git a/arch/x86/include/asm/string_64.h > > b/arch/x86/include/asm/string_64.h > > index 733bae07fb29..3c5b26e07b85 100644 > > --- a/arch/x86/include/asm/string_64.h > > +++

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-25 Thread Kees Cook
On Mon, May 22, 2017 at 4:10 PM, Daniel Micay wrote: > diff --git a/arch/x86/include/asm/string_64.h > b/arch/x86/include/asm/string_64.h > index 733bae07fb29..3c5b26e07b85 100644 > --- a/arch/x86/include/asm/string_64.h > +++ b/arch/x86/include/asm/string_64.h > @@ -77,6

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-25 Thread Kees Cook
On Mon, May 22, 2017 at 4:10 PM, Daniel Micay wrote: > diff --git a/arch/x86/include/asm/string_64.h > b/arch/x86/include/asm/string_64.h > index 733bae07fb29..3c5b26e07b85 100644 > --- a/arch/x86/include/asm/string_64.h > +++ b/arch/x86/include/asm/string_64.h > @@ -77,6 +77,11 @@ int

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-25 Thread Andrew Morton
On Mon, 22 May 2017 19:10:25 -0400 Daniel Micay wrote: > This adds support for compiling with a rough equivalent to the glibc > _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer > overflow checks for string.h functions when the compiler determines the >

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-25 Thread Andrew Morton
On Mon, 22 May 2017 19:10:25 -0400 Daniel Micay wrote: > This adds support for compiling with a rough equivalent to the glibc > _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer > overflow checks for string.h functions when the compiler determines the > size of the source or

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-24 Thread Daniel Micay
On Tue, 2017-05-23 at 19:12 -0700, Kees Cook wrote: > On Tue, May 23, 2017 at 3:48 PM, Andrew Morton > wrote: > > On Mon, 22 May 2017 19:10:25 -0400 Daniel Micay > om> wrote: > > > > > This adds support for compiling with a rough equivalent to

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-24 Thread Daniel Micay
On Tue, 2017-05-23 at 19:12 -0700, Kees Cook wrote: > On Tue, May 23, 2017 at 3:48 PM, Andrew Morton > wrote: > > On Mon, 22 May 2017 19:10:25 -0400 Daniel Micay > om> wrote: > > > > > This adds support for compiling with a rough equivalent to the > > > glibc > > > _FORTIFY_SOURCE=1 feature,

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-23 Thread Kees Cook
On Tue, May 23, 2017 at 3:48 PM, Andrew Morton wrote: > On Mon, 22 May 2017 19:10:25 -0400 Daniel Micay wrote: > >> This adds support for compiling with a rough equivalent to the glibc >> _FORTIFY_SOURCE=1 feature, providing compile-time and

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-23 Thread Kees Cook
On Tue, May 23, 2017 at 3:48 PM, Andrew Morton wrote: > On Mon, 22 May 2017 19:10:25 -0400 Daniel Micay wrote: > >> This adds support for compiling with a rough equivalent to the glibc >> _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer >> overflow checks for string.h

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-23 Thread Andrew Morton
On Mon, 22 May 2017 19:10:25 -0400 Daniel Micay wrote: > This adds support for compiling with a rough equivalent to the glibc > _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer > overflow checks for string.h functions when the compiler determines the >

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-23 Thread Andrew Morton
On Mon, 22 May 2017 19:10:25 -0400 Daniel Micay wrote: > This adds support for compiling with a rough equivalent to the glibc > _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer > overflow checks for string.h functions when the compiler determines the > size of the source or

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-22 Thread Kees Cook
On Mon, May 22, 2017 at 4:10 PM, Daniel Micay wrote: > This adds support for compiling with a rough equivalent to the glibc > _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer > overflow checks for string.h functions when the compiler determines the >

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-22 Thread Kees Cook
On Mon, May 22, 2017 at 4:10 PM, Daniel Micay wrote: > This adds support for compiling with a rough equivalent to the glibc > _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer > overflow checks for string.h functions when the compiler determines the > size of the source or

[PATCH v3] add the option of fortified string.h functions

2017-05-22 Thread Daniel Micay
This adds support for compiling with a rough equivalent to the glibc _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer overflow checks for string.h functions when the compiler determines the size of the source or destination buffer at compile-time. Unlike glibc, it covers buffer

[PATCH v3] add the option of fortified string.h functions

2017-05-22 Thread Daniel Micay
This adds support for compiling with a rough equivalent to the glibc _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer overflow checks for string.h functions when the compiler determines the size of the source or destination buffer at compile-time. Unlike glibc, it covers buffer