git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
[pandora-kernel.git]
/
security
/
seclvl.c
diff --git
a/security/seclvl.c
b/security/seclvl.c
index
241093d
..
1caac01
100644
(file)
--- a/
security/seclvl.c
+++ b/
security/seclvl.c
@@
-252,7
+252,7
@@
passwd_write_file(struct file * file, const char __user * buf,
}
if (count < 0 || count >= PAGE_SIZE)
- return -E
NOMEM
;
+ return -E
INVAL
;
if (*ppos != 0)
return -EINVAL;
page = (char *)get_zeroed_page(GFP_KERNEL);