The libgcrypt when the secure memory is initialized will either change uids if
real uid != effective uid, or attempt to drop capabilities if compiled with
libpcap support on Linux.
This should not be done in a general purpose crypto library as the application
which is setuid or has extra capabilities to acquire secure memory should drop
these on its own. The application could need these elevated priviledges for
other purposes.