Re: how to use the function copyout()

From: Scott Long (scottl_at_samsco.org)
Date: 07/26/05

  • Next message: Scott Long: "Re: how to use the function copyout()"
    Date: Mon, 25 Jul 2005 17:13:40 -0600
    To: kamalp@acm.org
    
    

    Kamal R. Prasad wrote:

    > Im not sure of the bug in your code, but you have got
    > to assume that copyout() would fail if the user/kernel
    > addr passed to it is not accessible.
    >
    > regards
    > -kamal
    >

    The whole point of copyin and copyout is to deal with copying
    to and from user virtual memory that might not be paged in at the
    moment. Your statement thus makes little sense.

    Scott

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Scott Long: "Re: how to use the function copyout()"

    Relevant Pages