commit | 59bd789c8c8b7217b248e9582a10dd86ed9a2d0e | [log] [tgz] |
---|---|---|
author | Jordan R Abrahams <ajordanr@google.com> | Wed Aug 18 00:34:54 2021 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Sep 16 14:59:09 2021 +0000 |
tree | 246283e4f6ef9b378c62859001815a758ecc8411 | |
parent | 018c7a78becfb2079a615394759ce5d3d10938ce [diff] |
Add mass_seccomp_editor.py for seccomp editing This tool lets you work with large swaths of seccomp files quickly, determining which have missing syscalls, and allowing fast editing for all of them. BUG=None TEST=cd mass_seccomp_editor; python3 -m unittest TEST=Ran many times for glibc noexec patch Change-Id: I7dbad6eff431d41e23d31465a444b209520e953a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3101468 Tested-by: Jordan R Abrahams <ajordanr@google.com> Auto-Submit: Jordan R Abrahams <ajordanr@google.com> Commit-Queue: George Burgess <gbiv@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.