if (count < 0 || count >= PAGE_SIZE) { 
if (count >= PAGE_SIZE) { 
static ssize_t sel_write_avc_cache_threshold(struct file * file,					     const char __user * buf,					     size_t count, loff_t *ppos){	char *page;	ssize_t ret;	int new_value;	if (count < 0 || count >= PAGE_SIZE) {		ret = -ENOMEM;		goto out;	}	if (*ppos != 0) {		/* No partial writes. */		ret = -EINVAL;		goto out;	}	page = (char*)get_zeroed_page(GFP_KERNEL);	if (!page) {		ret = -ENOMEM;		goto out;	}	if (copy_from_user(page, buf, count)) {		ret = -EFAULT;		goto out_free;	}	if (sscanf(page, "%u", &new_value) != 1) {		ret = -EINVAL;		goto out;	}	if (new_value != avc_cache_threshold) {		ret = task_has_security(current, SECURITY__SETSECPARAM);		if (ret)			goto out_free;		avc_cache_threshold = new_value;	}	ret = count;out_free:	free_page((unsigned long)page);out:	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/bfd51626cbf61cb23f787d8ff972ef0d5ddacc0b/selinuxfs.c/clean/security/selinux/selinuxfs.c