Re: SEGV in mount?

From: Jeff Dike (jdike@karaya.com)
Date: Wed Jun 07 2000 - 12:53:34 EST


> I've put some debugging code into my kernels to spit out a syslog
> message anytime "do_page_fault" enters "bad_area". Something that
> I've noticed recently is that "mount" appears to seg-fault every time
> it is called.

This is not a problem. It's the result of some cleanup in -pre9.
copy_mount_options was changed to use copy_from_user and let it do the pointer
validity checking instead of doing it by hand.

The mount options can be up to a page of data, so a page is allocated and
copied in from userspace. In general, there won't be that much, and so there
is likely to be a fault involved.

                                Jeff

-
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 : Wed Jun 07 2000 - 21:00:29 EST