Home GnuPG

secmem: Remove getting cap_ipc_lock by capabilities support.

Description

secmem: Remove getting cap_ipc_lock by capabilities support.

* src/secmem.c (lock_pool_pages): Remove escalation of the capability.

With CAP_SETPCAP, it might make sense before Linux 2.6.24 when file
capabilityes were not supported. But not any more.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 1 2022, 3:19 AM
Parents
rCa15cb31bf733: tests: Fix copy paste error
Branches
Unknown
Tags
Unknown