Re: No copy_from_user() in sys_umount() ???

Bill Hawes (
Fri, 16 Jan 1998 09:22:05 -0500

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.