diff options
author | 2022-03-10 14:43:17 +0100 | |
---|---|---|
committer | 2022-03-10 14:43:17 +0100 | |
commit | 4d3d3270883140535cc6ea5a190aebdf6f3dc120 (patch) | |
tree | 7bae03cfce71b7f13bba30fe907354d97d40df74 /src/include | |
parent | RELNOTES: add warning about allow-tray (diff) | |
download | firejail-4d3d3270883140535cc6ea5a190aebdf6f3dc120.tar.gz firejail-4d3d3270883140535cc6ea5a190aebdf6f3dc120.tar.zst firejail-4d3d3270883140535cc6ea5a190aebdf6f3dc120.zip |
refactor meta character filtering
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/common.h b/src/include/common.h index f72ec9738..c9640435a 100644 --- a/src/include/common.h +++ b/src/include/common.h | |||
@@ -140,6 +140,11 @@ char *pid_proc_comm(const pid_t pid); | |||
140 | char *pid_proc_cmdline(const pid_t pid); | 140 | char *pid_proc_cmdline(const pid_t pid); |
141 | int pid_proc_cmdline_x11_xpra_xephyr(const pid_t pid); | 141 | int pid_proc_cmdline_x11_xpra_xephyr(const pid_t pid); |
142 | int pid_hidepid(void); | 142 | int pid_hidepid(void); |
143 | char *do_replace_cntrl_chars(char *str, char c); | ||
144 | char *replace_cntrl_chars(const char *str, char c); | ||
145 | int has_cntrl_chars(const char *str); | ||
146 | void reject_cntrl_chars(const char *fname); | ||
147 | void reject_meta_chars(const char *fname, int globbing); | ||
143 | void warn_dumpable(void); | 148 | void warn_dumpable(void); |
144 | const char *gnu_basename(const char *path); | 149 | const char *gnu_basename(const char *path); |
145 | int *str_to_int_array(const char *str, size_t *sz); | 150 | int *str_to_int_array(const char *str, size_t *sz); |