lkml.org 
[lkml]   [1999]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-ipsec: Re: valid module function pointer?
Date
-----BEGIN PGP SIGNED MESSAGE-----

> > Can anyone suggest a way to test a module function pointer for
> > validity? The problem is that we currently save pointers to kernel
> > space funciton pointers which might go away if a pcmcia card is
> > removed. Is there a way to test if the function pointer belongs to a
> > module which is still loaded?
>
> No. You need to ensure it isnt unloaded on you. Look at the network device
> notifier

Ok, where do I start looking for this? I've never heard of it. I had
in mind something like incrementing its module reference count...

slainte mhath, RGB
- --
Richard Guy Briggs -- PGP key available Auto-Free Ottawa! Canada
<http://www.conscoop.ottawa.on.ca/rgb/> </www.flora.org/afo/>
Prevent Internet Wiretapping! -- FreeS/WAN:<www.xs4all.nl/~freeswan>
Thanks for voting Green! -- <green.ca> Marillion:<www.marillion.co.uk>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBN+LODN+sBuIhFagtAQHYigP6AzcnD4KGAlTrycJOQ7++jZVAoqLvO/M8
IknFffF+dT30rpKrT0RvM94r8rTbRGhgqAMHugfCEa+npjdNpiWLw6JtCDKxeMjw
+uDGvdrLVbQb8AnqLQE9GUrmtGqJ6GZidLBLq32LIdwMkrhZNPxynrM73qT2/wfV
DyDWhuVN8Lw=
=TSBv
-----END PGP SIGNATURE-----

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.176 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site