From owner-freebsd-bugs Wed May 22 20:20:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E7A5B37B410 for ; Wed, 22 May 2002 20:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4N3K1A92875; Wed, 22 May 2002 20:20:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 5590737B417 for ; Wed, 22 May 2002 20:15:35 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4N3FZhG062889 for ; Wed, 22 May 2002 20:15:35 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g4N3FZZx062888; Wed, 22 May 2002 20:15:35 -0700 (PDT) Message-Id: <200205230315.g4N3FZZx062888@www.freebsd.org> Date: Wed, 22 May 2002 20:15:35 -0700 (PDT) From: Marcel Moolenaar To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/38445: Centralized ptrace() permission checking Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38445 >Category: kern >Synopsis: Centralized ptrace() permission checking >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: wish >Submitter-Id: current-users >Arrival-Date: Wed May 22 20:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Marcel Moolenaar >Release: -current >Organization: >Environment: FreeBSD dhcp01.pn.xcllnt.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue May 21 00:23:31 PDT 2002 marcel@dhcp01.pn.xcllnt.net:/usr/obj/usr/src/sys/VAIO i386 >Description: Both ptrace() in kern/sys_process.c and linux_ptrace() in i386/linux/linux_ptrace.c need to do permission checking. This calls for a support function that does the job and is used by both ptrace() implementations. If more ptrace() implementations are written (other emulation layers), then this obviously increases in importance. >How-To-Repeat: n/a >Fix: n/a >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message