summaryrefslogtreecommitdiffstats
path: root/net/phonet/pep.c
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2009-06-29 03:26:53 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2009-06-30 20:06:23 +0200
commitb4c458b3a23d76936e76678f2074b1528f129f7a (patch)
tree5b256bf81066e41442fa776cb668156bb4d58804 /net/phonet/pep.c
parentLinux 2.6.31-rc1 (diff)
downloadlinux-b4c458b3a23d76936e76678f2074b1528f129f7a.tar.xz
linux-b4c458b3a23d76936e76678f2074b1528f129f7a.zip
fuse: fix return value of fuse_dev_write()
On 64 bit systems -- where sizeof(ssize_t) > sizeof(int) -- the following test exposes a bug due to a non-careful return of an int or unsigned value: implement a FUSE filesystem which sends an unsolicited notification to the kernel with invalid opcode. The respective write to /dev/fuse will return (1 << 32) - EINVAL with errno == 0 instead of -1 with errno == EINVAL. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> CC: stable@kernel.org
Diffstat (limited to 'net/phonet/pep.c')
0 files changed, 0 insertions, 0 deletions