
entrypoint_with_timeout decorator can be used with a timeout parameter, if the timeout is reached PrivsepTimeout is raised. The PrivContext has timeout variable, which will be used for all functions decorated with entrypoint, and PrivsepTimeout is raised if timeout is reached. Co-authored-by: Rodolfo Alonso <ralonsoh@redhat.com> Change-Id: Ie3b1fc255c0c05fd5403b90ef49b954fe397fb77 Related-Bug: #1930401
Team and repository tags
oslo.privsep
OpenStack library for privilege separation
This library helps applications perform actions which require more or less privileges than they were started with in a safe, easy to code and easy to use manner. For more information on why this is generally a good idea please read over the principle of least privilege and the specification which created this library.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.privsep/latest/
- Source: https://opendev.org/openstack/oslo.privsep
- Bugs: https://bugs.launchpad.net/oslo.privsep
- Release Notes: https://docs.openstack.org/releasenotes/oslo.privsep
Description
Languages
Python
100%