Test suite bombs out when run as root....

Werner Koch wk at isil.d.shuttle.de
Thu Jun 25 16:56:35 CEST 1998

James Troup <J.J.Troup at scm.brad.ac.uk> writes:

> (../g10/gpg --homedir . --passphrase-fd 0 -o y --yes plain-1.asc) failed
> gpg: can´t lock memory: Unknown error 4294967295

Ooops, I left some test code in :-((

Fix is easy:

Go to util/secmem.c line 74 and change

  err = -1; mlock(p,n);


  err = mlock(p,n);

Thanks James, you are really good tester.


More information about the Gnupg-devel mailing list