if (count < 0 || count >= PAGE_SIZE) { 
if (count >= PAGE_SIZE) { 
static ssize_t sel_commit_bools_write(struct file *filep,				      const char __user *buf,				      size_t count, loff_t *ppos){	char *page = NULL;	ssize_t length = -EFAULT;	int new_value;	down(&sel_sem);	length = task_has_security(current, SECURITY__SETBOOL);	if (length)		goto out;	/* check to see if this file has been deleted */	if (!filep->f_op)		goto out;	if (count < 0 || count >= PAGE_SIZE) {		length = -ENOMEM;		goto out;	}	if (*ppos != 0) {		/* No partial writes. */		goto out;	}	page = (char*)get_zeroed_page(GFP_KERNEL);	if (!page) {		length = -ENOMEM;		goto out;	}	if (copy_from_user(page, buf, count))		goto out;	length = -EINVAL;	if (sscanf(page, "%d", &new_value) != 1)		goto out;	if (new_value && bool_pending_values) {		security_set_bools(bool_num, bool_pending_values);	}	length = count;out:	up(&sel_sem);	if (page)		free_page((unsigned long) page);	return length;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/bfd51626cbf61cb23f787d8ff972ef0d5ddacc0b/selinuxfs.c/clean/security/selinux/selinuxfs.c