Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2002 11:15:13 -0700 (PDT)
From:      Anatoly Karp <karp@internet2.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/42293: copystr(9) man page incorrectly describes it as copying from kernel-space to kernel-space
Message-ID:  <200209011815.g81IFDlL014017@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209011815.g81IFDlL014017>