OpenStack library for rootwrap
Go to file
Dirk Mueller c0a8699820 Run rootwrap with lower fd ulimit by default
On Python 2.x, a subprocess.Popen() with close_fds=True will
fork and then close filedescriptors range(3..os.sysconf("SC_OPEN_MAX")),
which thanks to Kernel PTI (Kaiser patches) is significantly slower
in 2018 when the range is very large. With a soft limit of 1048576,
benchmark.py reports an overhead of ~ 400ms without this patch and 2ms
with the patch applied. This patch adds a configuration option and
sets a more sensible default of 1024 file descriptor limit by default.

Closes-Bug: 1796267
Change-Id: Idd98c183eca3e2df8648fc0f37d27fe9cc6d0563
2018-10-09 12:12:46 +02:00
benchmark Update to support running benchmark on python3 2018-04-04 11:40:23 -04:00
doc Run rootwrap with lower fd ulimit by default 2018-10-09 12:12:46 +02:00
etc Run rootwrap with lower fd ulimit by default 2018-10-09 12:12:46 +02:00
oslo_rootwrap Run rootwrap with lower fd ulimit by default 2018-10-09 12:12:46 +02:00
releasenotes Update reno for stable/rocky 2018-07-26 12:39:52 +00:00
.gitignore Switch to stestr 2018-07-03 16:00:44 +07:00
.gitreview Add .gitreview for oslo.rootwrap 2013-11-27 15:22:57 +01:00
.stestr.conf Switch to stestr 2018-07-03 16:00:44 +07:00
.zuul.yaml add lib-forward-testing-python3 test job 2018-08-11 18:20:15 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:39 +00:00
LICENSE Add standalone project packaging support files 2013-11-21 16:25:23 +01:00
README.rst Add release notes link to README 2018-06-21 13:13:46 +08:00
lower-constraints.txt Switch to stestr 2018-07-03 16:00:44 +07:00
requirements.txt Updated from global requirements 2017-11-16 11:21:52 +00:00
setup.cfg Treat doc warnings as errors 2018-01-08 11:47:18 -06:00
setup.py Updated from global requirements 2017-03-03 00:03:18 +00:00
test-requirements.txt Switch to stestr 2018-07-03 16:00:44 +07:00
tox.ini Switch to stestr 2018-07-03 16:00:44 +07:00

README.rst

Team and repository tags

image

oslo.rootwrap -- Escalated Permission Control

Latest Version

Downloads

oslo.rootwrap allows fine-grained filtering of shell commands to run as root from OpenStack services.