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
| ||
|
Date: Sun, 12 Jun 2016 20:30:46 -0600 From: subashab@...eaurora.org To: Heinrich Schuchardt <xypron.glpk@....de> Cc: eric.dumazet@...il.com, netdev@...r.kernel.org Subject: Re: [RFC] Handle error writing UINT_MAX to u32 fields > The suggested change would extend the usable range of positive numbers > by one bit only. As many systems are 64 bit this does not seem forward > looking. > > I would prefer to have a routine that can handle 64 bit integers with > limits (let's call it proc_doint64vec_minmax) which uses fields extra1 > and extra2 of ctl_table as min and max. > > Then set xfrm_table[].extra1 = 0 and xfrm_table[].extra2 = UINT_MAX if > you need a result in the u32 range. > Thanks Heinrich. Do you think we can use proc_doulongvec_minmax for this?
Powered by blists - more mailing lists