lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 16 Oct 2015 01:04:35 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	hannes@...essinduktion.org
Cc:	netdev@...r.kernel.org, dvyukov@...gle.com
Subject: Re: [PATCH net 1/2] overflow-arith: begin to add support for
 overflow builtin functions

From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Thu, 15 Oct 2015 14:07:04 +0200

> The idea of the overflow-arith.h header is to collect overflow checking
> functions in one central place.
> 
> If gcc compiler supports the __builtin_overflow_* builtins we use them
> because they might give better performance, otherwise the code falls
> back to normal overflow checking functions.
> 
> The builtin_overflow functions are supported by gcc-5 and clang. The
> matter of supporting clang is to just provide a corresponding
> CC_HAVE_BUILTIN_OVERFLOW, because the specific overflow checking builtins
> don't differ between gcc and clang.
> 
> I just provide overflow_usub function here as I intend this to get merged
> into net, more functions will definitely follow as they are needed.
> 
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>

I think a global helper interface like this should get a review on
linux-kernel, so please at least let it get some exposure there
first.

You can ask whether it's OK to merge it via my tree since that'll
have the first user.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ