From owner-freebsd-doc Sun Sep 1 11:20:10 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2C1537B401 for ; Sun, 1 Sep 2002 11:20:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27F9843E75 for ; Sun, 1 Sep 2002 11:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g81IK1JU093314 for ; Sun, 1 Sep 2002 11:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g81IK1QX093313; Sun, 1 Sep 2002 11:20:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C795137B400 for ; Sun, 1 Sep 2002 11:15:14 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86AB843E3B for ; Sun, 1 Sep 2002 11:15:14 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g81IFDOT014018 for ; Sun, 1 Sep 2002 11:15:13 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g81IFDlL014017; Sun, 1 Sep 2002 11:15:13 -0700 (PDT) Message-Id: <200209011815.g81IFDlL014017@www.freebsd.org> Date: Sun, 1 Sep 2002 11:15:13 -0700 (PDT) From: Anatoly Karp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: docs/42293: copystr(9) man page incorrectly describes it as copying from kernel-space to kernel-space Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42293 >Category: docs >Synopsis: copystr(9) man page incorrectly describes it as copying from kernel-space to kernel-space >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 01 11:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Anatoly Karp >Release: 4.6-STABLE >Organization: Internet2 >Environment: FreeBSD nsk.internet2.edu 4.6-STABLE FreeBSD 4.6-STABLE #1: Sun Jul 14 13:24:51 EDT 2002 root@nsk.internet2.edu:/usr/obj/usr/src/sys/NSK4 i386 >Description: man 9 copystr says: copystr() Copies a NUL-terminated string, at most len bytes long, from kernel-space address kfaddr to kernel-space address kdaddr. I believe this is incorrect since the destination address is in user space >How-To-Repeat: man 9 copystr >Fix: Replace the mentioned piece with: copystr() Copies a NUL-terminated string, at most len bytes long, from kernel-space address kfaddr to user-space address kdaddr. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message