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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <52BC4720.1070904@linaro.org>
Date:	Thu, 26 Dec 2013 09:11:28 -0600
From:	Alex Elder <alex.elder@...aro.org>
To:	Sage Weil <sage@...tank.com>, David Miller <davem@...emloft.net>,
	kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
	kaber@...sh.net, Al Viro <viro@...IV.linux.org.uk>, jeffm@...e.com,
	Steven Rostedt <rostedt@...dmis.org>,
	Andrew Morton <akpm@...ux-foundation.org>, mst@...hat.com,
	Ingo Molnar <mingo@...nel.org>
CC:	reiserfs-devel@...r.kernel.org,
	LKML <linux-kernel@...r.kernel.org>,
	ceph-devel <ceph-devel@...r.kernel.org>, netdev@...r.kernel.org
Subject: [PATCH 0/3] kernel.h: centrally define U32_MAX, etc.

Although types u32, s32, u16, s16 and so on are fundamental kernel
types, there is no central symbolic definition of their maximum and
minimum values.  In the past I've added and used such definitions
where I've needed them but they really belong in "kernel.h".

This series does this, in three steps.  The first makes existing
definitions be done conditionally; the second defines them in
"kernel.h"; and the third gets rid of the conditional definitions.

(These three can obviously be squashed into a single commit.)

    					-Alex

Alex Elder (3):
  conditionally define U32_MAX
  kernel.h: define u8, s8, u32, etc. limits
  remove extra definitions of U32_MAX

 fs/reiserfs/reiserfs.h      |    2 --
 include/linux/ceph/decode.h |   17 -----------------
 include/linux/kernel.h      |   13 +++++++++++++
 net/ipv4/tcp_illinois.c     |    1 -
 4 files changed, 13 insertions(+), 20 deletions(-)

-- 
1.7.9.5

--
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