projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15c574
)
[PATCH] seclvl: use securityfs (fix)
author
Serge Hallyn
<serue@us.ibm.com>
Sat, 17 Sep 2005 02:27:57 +0000
(19:27 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 17 Sep 2005 18:50:01 +0000
(11:50 -0700)
That should be -EINVAL for both.
Signed-off-by: Serge Hallyn <serue@us.ibm.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/seclvl.c
patch
|
blob
|
history
diff --git
a/security/seclvl.c
b/security/seclvl.c
index 241093d6f0b89fc0daecde1b7c29e062cc382989..1caac0164643c202a55c1e8394b9669706723591 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);