From owner-p4-projects@FreeBSD.ORG Wed Feb 8 02:06:47 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 992B616A423; Wed, 8 Feb 2006 02:06:46 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D1EB16A420 for ; Wed, 8 Feb 2006 02:06:46 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0102043D45 for ; Wed, 8 Feb 2006 02:06:46 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k1826j0O037362 for ; Wed, 8 Feb 2006 02:06:45 GMT (envelope-from wsalamon@computer.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1826jsr037359 for perforce@freebsd.org; Wed, 8 Feb 2006 02:06:45 GMT (envelope-from wsalamon@computer.org) Date: Wed, 8 Feb 2006 02:06:45 GMT Message-Id: <200602080206.k1826jsr037359@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to wsalamon@computer.org using -f From: Wayne Salamon To: Perforce Change Reviews Cc: Subject: PERFORCE change 91356 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 02:06:47 -0000 http://perforce.freebsd.org/chv.cgi?CH=91356 Change 91356 by wsalamon@gretsch on 2006/02/08 02:05:52 Audit the arguments to ptrace(2). Affected files ... .. //depot/projects/trustedbsd/audit3/sys/kern/sys_process.c#8 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/kern/sys_process.c#8 (text+ko) ==== @@ -406,6 +406,11 @@ if (td->td_proc->p_sysent == &ia32_freebsd_sysvec) wrap32 = 1; #endif + AUDIT_ARG(pid, uap->pid); + AUDIT_ARG(cmd, uap->req); + AUDIT_ARG(addr, uap->addr); + AUDIT_ARG(value, uap->data); + addr = &r; switch (uap->req) { case PT_GETREGS: