diff options
author | Alex Shi <alex.shi@linaro.org> | 2015-04-20 13:51:23 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2015-04-20 13:51:23 +0800 |
commit | d315de219a699e697bcde7e10c3bae58082552bb (patch) | |
tree | 41b0d2121844c73f70f05f353e5d8e961ef9bb1e /security | |
parent | 142e6be5c40648bebe5267c6470966b6ba8f0e8b (diff) | |
parent | 663276faa26c2837eca83a5800b3668be19aaaff (diff) |
Merge branch 'linux-linaro-lsk-v3.14' into linux-linaro-lsk-v3.14-android
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/selinuxfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index d60c0ee66387..6c4cbd97a673 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -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; |