diff options
| author | David Howells <dhowells@redhat.com> | 2005-02-10 19:01:29 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-02-10 19:01:29 -0800 |
| commit | 88f48c81c6d902621f8f59251785c59b116a3411 (patch) | |
| tree | e1c7546ec992a9c02cd3dae4f7569223c69f644c /net/unix/af_unix.c | |
| parent | 96b39b5b8319493fe648f6938b6171411fe75168 (diff) | |
[PATCH] Fix the mincore() syscall
This fixes the mincore syscall in three ways:
(1) It moves as much argument checking outside of the semaphore-holding
region as possible.
(2) It checks the region parameters against TASK_SIZE so that a 32-bit binary
on a 64-bit platform will get the right error when calling this syscall
on a region that overlaps the end of the 32-bit address space.
(3) It tidies up the VMA checking loop a little.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-Off-By: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
