Re: access_ok inside kernelspace

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Tue, 19 Oct 1999 09:18:40 +0200 (CEST)


On Tue, 19 Oct 1999, Tigran Aivazian wrote:

> It works fine if the filesystem is already loaded (insmod bfs or
> statically linked) and then mounted but oopses (in request_module() from
> get_fs_type()) if it is autoloaded from within mount(2) system call.
>
> So, the moral (temporary moral, until I see the picture clearer) of the
> story is: do not use system calls from within system calls. Is this
> correct or is it a bug that I should try to fix?

it's a bug, system calls really should work from within system calls.

-- mingo

-
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/