From owner-cvs-all Wed Sep 4 18: 2:54 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C32337B400; Wed, 4 Sep 2002 18:02:51 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB2143E6A; Wed, 4 Sep 2002 18:02:50 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8512oJU071495; Wed, 4 Sep 2002 18:02:50 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8512o9R071494; Wed, 4 Sep 2002 18:02:50 -0700 (PDT) Message-Id: <200209050102.g8512o9R071494@freefall.freebsd.org> From: Ian Dowse Date: Wed, 4 Sep 2002 18:02:50 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_process.c src/sys/sys syscallsubr.h src/sys/i386/linux linux_ptrace.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2002/09/04 18:02:50 PDT Modified files: sys/kern sys_process.c sys/sys syscallsubr.h sys/i386/linux linux_ptrace.c Log: Split up ptrace() into a wrapper that does the copying to and from user space and a kern_ptrace() implementation. Use the kern_*() version in the Linux emulation code to remove more stack gap uses. Approved by: des Revision Changes Path 1.4 +52 -95 src/sys/i386/linux/linux_ptrace.c 1.100 +88 -68 src/sys/kern/sys_process.c 1.4 +2 -0 src/sys/sys/syscallsubr.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message