RE: how to make global kernel data structure has read only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux