Comment 3 for bug 10638

Revision history for this message
Martin Pitt (pitti) wrote :

Created an attachment (id=803)
configure test for HAVE_BROKEN_MLOCK

Instructions:

$ gcc -o mlocktest mlocktest.c
$ ./mlocktest ; echo $?

The result code is 0 for a normal-behaving mlock(), 1 for a "broken" one and 2
if malloc() fails.