Ok, I have done a #include <sys/mman.h> and I did a mlockall(MCL_CURRENT | MCL_FUTURE ) to ensure that this process's current and future(stack, etc) memory is protected from page faulting. This process does a pipe to make sure it is the only version running, then does a fork() to detach from...
For some software I'm working on, I need to make sure it doesn't slow down at any time, and taking out the ability of the system to put the program threads to disk and later page fault and reload them would make it possibly too slow. This is a real-time system so this is something I must do...
I agree. The only two ways I can think of is to either write a script to deal with the logon name/password part, or create a pipe and run through it(works like system call) so you can login in that way. I think running an external cgi script is the easiest way to go.
Tony
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.