Re: How to write kernel modules using C++

H. Peter Anvin (hpa@transmeta.com)
25 May 1999 04:47:35 GMT


Followup to: <19990522114406.C1047@loth.demon.co.uk>
By author: Steve Dodd <dirk@loth.demon.co.uk>
In newsgroup: linux.dev.kernel
>
> On Fri, May 21, 1999 at 01:33:13PM +0530, MURALI N wrote:
>
> > I want to know if it is possible to write kernel modules using
> > C++. If yes, then how is it possible. Let me add that I have tried
> > the most trivial modules without any success.
>
> I would have thought it should have been possible. The only thing
> you'd have to
> do is stop the compiler mangling the init_module() and cleanup_module()
> symbols, and I can't remember how to do that, off hand.
>

... and every single other imported symbol.

-hpa

-- 
"The user's computer downloads the ActiveX code and simulates a 'Blue
Screen' crash, a generally benign event most users are familiar with
and that would not necessarily arouse suspicions."
-- Security exploit description on http://www.zks.net/p3/how.asp

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