aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2015-03-27 05:33:27 -0400
committerJames Morris <james.l.morris@oracle.com>2015-03-27 05:33:27 -0400
commit641628146c1986c966ae030e65bb6f30feef0fd0 (patch)
treef26a935d0760d20b4f5cdaefbc4c6e2a49e62a94 /security/selinux
parent3c435c1e472ba344ee25f795f4807d4457e61f6c (diff)
parent6436a123a147db51a0b06024a8350f4c230e73ff (diff)
Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/selinux into for-linus
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/selinuxfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index 1684bcc78b34..5fde34326dcf 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,
152 goto out; 152 goto out;
153 153
154 /* No partial writes. */ 154 /* No partial writes. */
155 length = EINVAL; 155 length = -EINVAL;
156 if (*ppos != 0) 156 if (*ppos != 0)
157 goto out; 157 goto out;
158 158