elajkat f7f3349d6a Add timeout to PrivContext and entrypoint_with_timeout decorator
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
2021-06-23 09:43:33 +02:00
2015-10-23 18:51:29 +11:00
2019-04-19 19:48:27 +00:00
2015-10-23 18:51:29 +11:00
2019-12-11 10:26:01 +00:00
2021-04-15 18:25:18 +01:00
2015-10-23 18:51:29 +11:00
2020-02-11 18:51:53 +01:00
2020-09-08 14:17:12 +02:00

Team and repository tags

image

oslo.privsep

Latest Version

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.

Description
OpenStack library for privilege separation
Readme 2.9 MiB
Languages
Python 100%