This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] Memory-lock executables at load time


The following patch allows you to memory-lock executables when they are 
loaded, either with mlock() or by reading the file in instead of mmaping 
it.  To activate this, set the environment variable "LD_LOCK_MEMORY" to 
either "READ" or "MLOCK".  It also adds parameters to ld.so to do this. 
 To get the full effect of this, you also need to have no swap to avoid 
stack segments and data segments getting paged.

-Corey


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]