diff options
author | smitsohu <smitsohu@gmail.com> | 2021-05-03 01:23:25 +0200 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2021-05-03 02:40:57 +0200 |
commit | 5445d87af6e9fc5fb4508e1c7558f349c012e2b3 (patch) | |
tree | 8db7202bd0e0227eb3352769dc5a0355647a7782 /src/include/rundefs.h | |
parent | introduce safer_openat function (diff) | |
download | firejail-5445d87af6e9fc5fb4508e1c7558f349c012e2b3.tar.gz firejail-5445d87af6e9fc5fb4508e1c7558f349c012e2b3.tar.zst firejail-5445d87af6e9fc5fb4508e1c7558f349c012e2b3.zip |
add support for arbitrary whitelist directories
Diffstat (limited to 'src/include/rundefs.h')
-rw-r--r-- | src/include/rundefs.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/include/rundefs.h b/src/include/rundefs.h index d14f6782f..a172dd511 100644 --- a/src/include/rundefs.h +++ b/src/include/rundefs.h | |||
@@ -84,18 +84,6 @@ | |||
84 | #define RUN_DEVLOG_FILE RUN_MNT_DIR "/devlog" | 84 | #define RUN_DEVLOG_FILE RUN_MNT_DIR "/devlog" |
85 | 85 | ||
86 | #define RUN_WHITELIST_X11_DIR RUN_MNT_DIR "/orig-x11" | 86 | #define RUN_WHITELIST_X11_DIR RUN_MNT_DIR "/orig-x11" |
87 | #define RUN_WHITELIST_HOME_USER_DIR RUN_MNT_DIR "/orig-home-user" // home directory whitelisting | ||
88 | #define RUN_WHITELIST_RUN_USER_DIR RUN_MNT_DIR "/orig-run-user" // run directory whitelisting | ||
89 | #define RUN_WHITELIST_TMP_DIR RUN_MNT_DIR "/orig-tmp" | ||
90 | #define RUN_WHITELIST_MEDIA_DIR RUN_MNT_DIR "/orig-media" | ||
91 | #define RUN_WHITELIST_MNT_DIR RUN_MNT_DIR "/orig-mnt" | ||
92 | #define RUN_WHITELIST_VAR_DIR RUN_MNT_DIR "/orig-var" | ||
93 | #define RUN_WHITELIST_DEV_DIR RUN_MNT_DIR "/orig-dev" | ||
94 | #define RUN_WHITELIST_OPT_DIR RUN_MNT_DIR "/orig-opt" | ||
95 | #define RUN_WHITELIST_SRV_DIR RUN_MNT_DIR "/orig-srv" | ||
96 | #define RUN_WHITELIST_ETC_DIR RUN_MNT_DIR "/orig-etc" | ||
97 | #define RUN_WHITELIST_SHARE_DIR RUN_MNT_DIR "/orig-share" | ||
98 | #define RUN_WHITELIST_MODULE_DIR RUN_MNT_DIR "/orig-module" | ||
99 | 87 | ||
100 | #define RUN_XAUTHORITY_FILE RUN_MNT_DIR "/.Xauthority" // private options | 88 | #define RUN_XAUTHORITY_FILE RUN_MNT_DIR "/.Xauthority" // private options |
101 | #define RUN_XAUTH_FILE RUN_MNT_DIR "/xauth" // x11=xorg | 89 | #define RUN_XAUTH_FILE RUN_MNT_DIR "/xauth" // x11=xorg |