copy, copyin, copyout
    Alexej Sokolov 
    bsd.quest at googlemail.com
       
    Tue Nov 25 09:38:20 PST 2008
    
    
  
Hello, 
could anyone please explain to me the difference between functions: 
copystr() and copyinstr() ? 
For i386 copyinstr is implemented in assembler. I can not read
the assembler code very well. 
I tried to allocate a memory in space of user process using vm_map_find
and then with copystr() I could copy data between user and kernel
memory. copystr() seemed to be  able to do the same what copyinstr do. 
% uname -rp
7.0-RELEASE-p5 i386
-- 
Alexej Sokolov <bsd.quest at googlemail.com>
    
    
More information about the freebsd-hackers
mailing list