summaryrefslogtreecommitdiffstats
path: root/security/keys
diff options
context:
space:
mode:
authorGuillaume Chazarain <guichaz@yahoo.fr>2006-01-08 10:02:43 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-09 05:13:53 +0100
commitcd140a5c1f456f50897af4a2e9a23d228a5fe719 (patch)
tree24170cf30ce2c5d3129c9b535942c4c52231a042 /security/keys
parent[PATCH] printk return value: fix it (diff)
downloadlinux-cd140a5c1f456f50897af4a2e9a23d228a5fe719.tar.xz
linux-cd140a5c1f456f50897af4a2e9a23d228a5fe719.zip
[PATCH] kmsg_write: don't return printk return value
kmsg_write returns with printk, so some programs may be confused by a successful write() with a return value different than the buffer length. # /bin/echo something > /dev/kmsg /bin/echo: write error: Inappropriate ioctl for device The drawbacks is that the printk return value can no more be quickly checked from userspace. Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions