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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 29 Nov 2006 16:01:41 -0500 (EST)
From:	James Morris <jmorris@...ei.org>
To:	Paul Moore <paul.moore@...com>
cc:	netdev@...r.kernel.org, selinux@...ho.nsa.gov
Subject: Re: [PATCH 3/3] NetLabel: add the ranged tag to the CIPSOv4 protocol

On Wed, 29 Nov 2006, paul.moore@...com wrote:

> +{
> +	/* The constant '16' is not random, it is the maximum number of
> +	 * high/low category range pairs as permitted by the CIPSO draft based
> +	 * on a maximum IPv4 header length of 60 bytes - the BUG_ON() assertion
> +	 * does a sanity check to make sure we don't overflow the array. */
> +	int iter = -1;
> +	u16 array[16];

Perhaps in a future update, make this a value a macro definition and 
document it in the header.



-- 
James Morris
<jmorris@...ei.org>
-
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