AFAIK kernel provides the functionality of
reader-writer spinlocks. You can use the same to make the global structure read
only
--
Regards,
Gaurav Aggarwal
From:
kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Rajath N R
Sent: Tuesday, September 04, 2007
5:32 PM
To: kernelnewbies@xxxxxxxxxxxx
Subject: how to make global kernel
data structure has read only
Hi ALL,
We have one global kernel data
structure which store some critical information. So we have to make this
structure read only . This structure can be access but not be modify by any
other module. Please let me know how to make global kernel data structure has
read only.
--
Thanks & Regards,
Rajath N R