On Thu, Aug 11, 2005 at 03:32:24PM -0400, Stephen Smalley wrote:
> This patch improves memory use by SELinux by both reducing the avtab
> node size and reducing the number of avtab nodes.
> +int avtab_read_item(void *fp, u32 vers, struct avtab *a,
> + int (*insertf)(struct avtab *a, struct avtab_key *k,
> + struct avtab_datum *d, void *p),
> + void *p)
> +{
> + u16 buf16[4],
__le16
> + u32 buf32[7],
__le32
> + items2 = le32_to_cpu(buf32[0]);
> + key.source_type = le16_to_cpu(buf16[items++]);
> +static int cond_read_av_list(struct policydb *p, void *fp, struct cond_av_list **ret_list, struct cond_av_list *other)
> +{
> + u32 buf[1]
__le32
> + len = le32_to_cpu(buf[0]);
Stephen, "[PATCH] selinux: endian annotations" you ACKed in June is hopelessly
lost or thoroughly queued for inclusion?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|