forked from luck/tmp_suning_uos_patched
Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/selinux into for-linus
This commit is contained in:
commit
641628146c
|
@ -152,7 +152,7 @@ static ssize_t sel_write_enforce(struct file *file, const char __user *buf,
|
|||
goto out;
|
||||
|
||||
/* No partial writes. */
|
||||
length = EINVAL;
|
||||
length = -EINVAL;
|
||||
if (*ppos != 0)
|
||||
goto out;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user