diff options
| author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:14:34 -0500 |
|---|---|---|
| committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:15:31 -0500 |
| commit | d4e82042c4cfa87a7d51710b71f568fe80132551 (patch) | |
| tree | 202c311b52f4e4db9fbbbd80607744e2aa2e5885 /fs/readdir.c | |
| parent | 836f92adf121f806e9beb5b6b88bd5c9c4ea3f24 (diff) | |
[CVE-2009-0029] System call wrappers part 32
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/readdir.c')
| -rw-r--r-- | fs/readdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/readdir.c b/fs/readdir.c index cf6a0e39819a..7723401f8d8b 100644 --- a/fs/readdir.c +++ b/fs/readdir.c | |||
| @@ -102,7 +102,8 @@ efault: | |||
| 102 | return -EFAULT; | 102 | return -EFAULT; |
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | asmlinkage long sys_old_readdir(unsigned int fd, struct old_linux_dirent __user * dirent, unsigned int count) | 105 | SYSCALL_DEFINE3(old_readdir, unsigned int, fd, |
| 106 | struct old_linux_dirent __user *, dirent, unsigned int, count) | ||
| 106 | { | 107 | { |
| 107 | int error; | 108 | int error; |
| 108 | struct file * file; | 109 | struct file * file; |
