Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page When mlock() is not supported.
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Reply
 
Thread Tools Display Modes
Old 02-15-2008   #1 (permalink)
start_kernel()
Just Joined!
 
Join Date: Feb 2008
Posts: 1
When mlock() is not supported.

Hi All!

I started to develop an own solution to protect the memory of processes against manipulation and other memory problems or attacks. It may be a lame question, but I am not a Kernel expert: if mlock() is not supported, (so _POSIX_MEMORY_PROTECTION or _POSIX_MEMLOCK_RANGE not defined) how can I implement this service? Can I simply copy the content of "mlock.c" from the Kernel's source, and It will work on other systems? Because portability is very important. Thank you!

Best regards,
start_kernel()
start_kernel() is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What Hardware Is Supported EndianX Peripherals / Hardware 1 06-13-2007 05:09 PM
runaway terminal Radovitch Ubuntu Help 7 05-04-2007 09:42 PM
memory frequency and timings unchiujar Redhat / Fedora Linux Help 2 10-30-2006 12:48 AM
Does anyone successfully running WPA-PSK on FC4 using wpa_supplicant? royalgala Redhat / Fedora Linux Help 5 02-19-2006 02:37 AM
About the 2.6 Kernel jasonlambert Linux Tutorials, HOWTO's & Reference Material 0 08-10-2003 05:54 PM




All times are GMT. The time now is 12:09 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0