[PING] Re: [PATCH] New configure option to default enable Smart Stack Protection

Magnus Granberg zorry@gentoo.org
Mon Jul 13 13:21:00 GMT 2015


söndag 05 juli 2015 23.59.32 skrev  Magnus Granberg:
> Changlogs
> /gcc
> 2015-07-05  Magnus Granberg  <zorry@gentoo.org>
> 
>         * common.opt (fstack-protector): Initialize to -1.
>         (fstack-protector-all): Likewise.
>         (fstack-protector-strong): Likewise.
>         (fstack-protector-explicit): Likewise.
>         * configure.ac: Add --enable-default-ssp.
>         * defaults.h (DEFAULT_FLAG_SSP): New.  Default SSP to strong.
>         * opts.c (finish_options): Update opts->x_flag_stack_protect if it
> is -1. * doc/install.texi: Document --enable-default-ssp.
>         * config.in: Regenerated.
>         * configure: Likewise.
> 
> /testsuite
> 2015-07-05  Magnus Granberg  <zorry@gentoo.org>
> 
>         * lib/target-supports.exp
>         (check_effective_target_fstack_protector_enabled): New test.
>         * gcc.target/i386/ssp-default.c: New test.
Patch updated and tested on x86_64-unknown-linux-gnu (Gentoo)

Changlogs
/gcc
2015-07-05  Magnus Granberg  <zorry@gentoo.org>

        * common.opt (fstack-protector): Initialize to -1.
        (fstack-protector-all): Likewise.
        (fstack-protector-strong): Likewise.
        (fstack-protector-explicit): Likewise.
        * configure.ac: Add --enable-default-ssp.
        * defaults.h (DEFAULT_FLAG_SSP): New.  Default SSP to strong.
        * opts.c (finish_options): Update opts->x_flag_stack_protect if it is -1.
        * doc/install.texi: Document --enable-default-ssp.
        * config.in: Regenerated.
        * configure: Likewise.

/testsuite
2015-07-13  Magnus Granberg  <zorry@gentoo.org>

        * lib/target-supports.exp
        (check_effective_target_fstack_protector_enabled): New test.
        * gcc.target/i386/ssp-default.c: New test.
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default-ssp_upstream.patch
Type: text/x-patch
Size: 4969 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150713/76ab4286/attachment.bin>


More information about the Gcc-patches mailing list