static ssize_t sel_write_context(struct file * file, const char __user * buf, size_t count, loff_t *ppos)  
static ssize_t sel_write_context(struct file * file, char *buf, size_t size) 
static ssize_t sel_write_context(struct file * file, const char __user * buf,				 size_t count, loff_t *ppos){	char *page;	u32 sid;	ssize_t length;	length = task_has_security(current, SECURITY__CHECK_CONTEXT);	if (length)		return length;	if (count >= PAGE_SIZE)		return -ENOMEM;	if (*ppos != 0) {		/* No partial writes. */		return -EINVAL;	}	page = (char*)get_zeroed_page(GFP_KERNEL);	if (!page)		return -ENOMEM;	length = -EFAULT;	if (copy_from_user(page, buf, count))		goto out;	length = security_context_to_sid(page, count, &sid);	if (length < 0)		goto out;	length = count;out:	free_page((unsigned long) page);	return length;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ce9982d048bb498c38ec1fe2ae59a44350882f3f/selinuxfs.c/buggy/security/selinux/selinuxfs.c