Date: Sun, 19 May 2002 12:35:37 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux linux_ptrace.c Message-ID: <200205191935.g4JJZb697556@freefall.freebsd.org>
index | next in thread | raw e-mail
marcel 2002/05/19 12:35:36 PDT
Modified files:
sys/i386/linux linux_ptrace.c
Log:
o Fix race condition caused by doing ptrace() for permission
checking, followed by a lookup of the process. Do not call
ptrace() for permission checking, but do it inline.
Spotted by: rwatson
o While here, copy-in arguments before we lock. This fixes
a possible permanent lock.
Reviewed by: rwatson
Revision Changes Path
1.2 +44 -24 src/sys/i386/linux/linux_ptrace.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205191935.g4JJZb697556>
