Re: copy_mount_options in 2.3.99-pre9-pre3 and ncpmount (an

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon May 22 2000 - 13:16:33 EST


> only available data. Do not forget that ncpmount passes ~70 bytes
> structure into mount() and only kernel got strange idea that
> it should copy PAGE_SIZE of data...
>
> Except that it breaks existing userspace program, I do not believe
> that adding
>
> int dummy[4096];
>
> into ncpmount's main() is correct solution...

Indeed. Neither is making copy_*_user slow 8). It needs more pondering

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:22 EST