dangerzone/dangerzone
Etienne Perot 73b0f8b7d4
Disable gVisor's DirectFS feature.
DirectFS is enabled by default in gVisor to improve I/O performance,
but comes at the cost of enabling the `openat(2)` syscall (with severe
restrictions, but still). As Dangerzone is not performance-sensitive,
and that it is desirable to guarantee for the document conversion
process to not open any files (to mimic some of what SELinux provides),
might as well disable it by default.

See #226.
2024-09-10 17:32:31 +03:00
..
conversion Make PyMuPDF always log to stderr 2024-08-09 14:32:19 +03:00
gui Do not throw on malformed Desktop Entries on Linux. 2024-09-10 15:25:45 +02:00
gvisor_wrapper Disable gVisor's DirectFS feature. 2024-09-10 17:32:31 +03:00
isolation_provider container: Set container_engine_t SELinux label 2024-07-26 16:34:19 +03:00
__init__.py chore(imports): remove useless imports 2024-06-05 14:19:30 +02:00
args.py Always use sys.exit when exiting the application 2024-05-09 15:57:42 +03:00
cli.py chore: remove unused code 2024-06-05 14:19:31 +02:00
document.py chore(imports): remove useless imports 2024-06-05 14:19:30 +02:00
errors.py chore: minor linting 2024-06-05 14:19:31 +02:00
logic.py chore: remove unused code 2024-06-05 14:19:31 +02:00
settings.py fix: do not catch bare exceptions 2024-06-05 14:19:31 +02:00
util.py refactor: use pathlib / separator rather than .joinpath 2024-06-05 14:19:31 +02:00