booldatum = kmalloc(sizeof(struct cond_bool_datum), GFP_KERNEL); 
booldatum = kzalloc(sizeof(struct cond_bool_datum), GFP_KERNEL); 
int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp){	char *key = NULL;	struct cond_bool_datum *booldatum;	__le32 buf[3];	u32 len;	int rc;	booldatum = kmalloc(sizeof(struct cond_bool_datum), GFP_KERNEL);	if (!booldatum)		return -1;	memset(booldatum, 0, sizeof(struct cond_bool_datum));	rc = next_entry(buf, fp, sizeof buf);	if (rc < 0)		goto err;	booldatum->value = le32_to_cpu(buf[0]);	booldatum->state = le32_to_cpu(buf[1]);	if (!bool_isvalid(booldatum))		goto err;	len = le32_to_cpu(buf[2]);	key = kmalloc(len + 1, GFP_KERNEL);	if (!key)		goto err;	rc = next_entry(key, fp, len);	if (rc < 0)		goto err;	key[len] = 0;	if (hashtab_insert(h, key, booldatum))		goto err;	return 0;err:	cond_destroy_bool(key, booldatum, NULL);	return -1;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/89d155ef62e5e0c10e4b37aaa5056f0beafe10e6/conditional.c/clean/security/selinux/ss/conditional.c