emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch to include EasyPG to Emacs


From: Richard Stallman
Subject: Re: patch to include EasyPG to Emacs
Date: Sun, 17 Feb 2008 08:23:04 -0500

    There is mlock(2).

Can you send documentation for `mlock'?  My machine has none.  Can it
be used if you're not root?  Would it make sense for Emacs to use it?

    The amount of memory that can be locked (by unprivileged processes) is
    quite limited (128kb typically).

If the decrypted message is under 128k, which it usually will be,
this will suffice.

It might be desirable to lock the core used to hold the display glyphs
too, but maybe there's another method, such as to clear them out if a
certain time elapses.  This would lead to some spurious redisplay,
but not too much or too often.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]