QUERY regarding semaphores?

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

 





Hello Jesper,
          You told that nothing will stop the process if it wants to neglect the lock and can execute the code segment .  Then if a situation arises that some process which is in the kernel mode can easily
destroy the data integrity of the data which is being protected by semaphores and kernel may crash.


Is their any way to avoid this, and is it possible for me to implement mandatory locking mechanism using semaphores?.  And what may be the over heads if it is implemented in this way?. And is it worth implementing mandatory lock mechanism using semaphores?.
 
Regards
       Badari.



--
Regards,
         Badari.
    

[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