lkml.org 
[lkml]   [1998]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: No copy_from_user() in sys_umount() ???
Richard Gooch wrote:
>
> Hi, Linus. I noticed that there is no call to copy_from_user() in
> either sys_umount() or umount_dev(), even though the <name> parameter
> is passed in from user space. Is there some deep magic I'm missing, or
> is this a bug?

It's not a problem -- the name parameter is used only for the namei()
call, which expects a user-space string and copies it.

Regards,
Bill

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.065 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site