diff options
author | Sanchit Garg <sancgarg@linux.vnet.ibm.com> | 2010-10-27 06:11:01 +0200 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-10-28 16:08:49 +0200 |
commit | f6ac55b6c156cebf750376dc08e06ffdade82717 (patch) | |
tree | fd173ac547ec84f90b56cf6d8a90f737b4b2748f /kernel/pid_namespace.c | |
parent | 9p: Add datasync to client side TFSYNC/RFSYNC for dotl (diff) | |
download | linux-f6ac55b6c156cebf750376dc08e06ffdade82717.tar.xz linux-f6ac55b6c156cebf750376dc08e06ffdade82717.zip |
net/9p: Return error on read with NULL buffer
This patch ensures that a read(fd, NULL, 10) returns EFAULT on a 9p file.
Signed-off-by: Sanchit Garg <sancgarg@linux.vnet.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'kernel/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions