summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2005-02-10 19:01:29 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-10 19:01:29 -0800
commit88f48c81c6d902621f8f59251785c59b116a3411 (patch)
treee1c7546ec992a9c02cd3dae4f7569223c69f644c /net/unix/af_unix.c
parent96b39b5b8319493fe648f6938b6171411fe75168 (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