diff options
author | 2023-08-12 01:48:34 -0300 | |
---|---|---|
committer | 2023-08-14 18:16:10 -0300 | |
commit | 204c45adee77e9cebfdb9458f68d31f11cbdc679 (patch) | |
tree | f2826a2fca7b3d89d7f625c34f284b444303e9e1 /contrib/fix_private-bin.py | |
parent | build: print syntax list generation (diff) | |
download | firejail-204c45adee77e9cebfdb9458f68d31f11cbdc679.tar.gz firejail-204c45adee77e9cebfdb9458f68d31f11cbdc679.tar.zst firejail-204c45adee77e9cebfdb9458f68d31f11cbdc679.zip |
build: improve char escaping of syntax lists
Escape `.` only when generating the syntax files rather than directly in
the syntax lists, so that the latter contain the command names as is.
This also makes the escaping apply to the arg1 syntax list as well.
Note: Double escaping (`\\\\.`) is used in `regex_fromlf` because its
output is used in another sed replacement (where it needs to be `\\.`).
Relates to #5627.
Diffstat (limited to 'contrib/fix_private-bin.py')
0 files changed, 0 insertions, 0 deletions