Package Info

priv_wrapper


A library to disable resource limits and other privilege dropping


Development/Libraries/C and C++

priv_wrapper aims to help running processes which are dropping privileges or are restricting resources in test environments. It can disable chroot, prctl, pledge and setrlmit system calls. A disabled call always succeeds (i.e. returns 0) and does nothing. The system call pledge exists only on OpenBSD.

To use it, set the following environment variables:

LD_PRELOAD=libpriv_wrapper.so PRIV_WRAPPER_CHROOT_DISABLE=1

This package does not have a devel package, because this project is for development/testing.


License: GPL-3.0-or-later
URL: https://cwrap.org/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.0.1-bp155.1.5 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • priv_wrapper