diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-06-06 09:40:25 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-06-06 09:40:25 +0000 |
commit | 3a5314f945f417f2c7372858cec833a57579e3a6 (patch) | |
tree | 32c8ba11e6d9c6174e5f172c868e4eba5b7da6df /sbin/isakmpd/app.h | |
parent | 81d2af8d44842bb200a5beab3fa6d50c8476d204 (diff) |
Enable -fwrapv by default with clang to treat signed integer overflows
as defined. This is done to prevent dangerous optimisations which could
remove security critical overflow checks.
Base gcc has -fno-strict-overflow by default, with clang this is
identical to -fwrapv.
Prompted by naddy@ discovering a hang with a clang compiled i386 kernel
that was resolved with -fwrapv.
ok kettenis@ pascal@
Diffstat (limited to 'sbin/isakmpd/app.h')
0 files changed, 0 insertions, 0 deletions