From bfb8f0e0ca243d572a47288a561b5fd05445d9a4 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 16 Jan 2023 09:23:21 -0300 Subject: Reword CFG_ETC_HIDE_BLACKLISTED explanation To make it clearer. Added on commit ded50200e ("opt-in: skip blacklisted files in private-etc - #5010, #5230", 2023-01-15) / PR #5591. --- src/firejail/fs_etc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/firejail/fs_etc.c b/src/firejail/fs_etc.c index dcbd297da..aa4d76431 100644 --- a/src/firejail/fs_etc.c +++ b/src/firejail/fs_etc.c @@ -265,8 +265,9 @@ void fs_private_dir_list(const char *private_dir, const char *private_run_dir, c void fs_rebuild_etc(void) { int have_dhcp = 1; if (cfg.dns1 == NULL && !any_dhcp()) { - // this function has the effect that updates to files using rename(2) don't propagate into the sandbox - // avoid this in the default setting, in order to not break /etc/resolv.conf (issue #5010) + // Disabling this option ensures that updates to files using + // rename(2) propagate into the sandbox, in order to avoid + // breaking /etc/resolv.conf (issue #5010). if (!checkcfg(CFG_ETC_HIDE_BLACKLISTED)) return; have_dhcp = 0; -- cgit v1.2.3-70-g09d2