diff options
author | 2021-10-09 12:53:14 +0000 | |
---|---|---|
committer | 2021-10-09 12:53:14 +0000 | |
commit | 2828b64e21c7834c2ee8051d22b57260f09c7bf8 (patch) | |
tree | c8c3825ba19045853d4ab15d82143c613b67cc11 /src/fbuilder/build_home.c | |
parent | Merge pull request #4587 from kmk3/fix-vscodium (diff) | |
parent | Revert "allow/deny fbuilder" (diff) | |
download | firejail-2828b64e21c7834c2ee8051d22b57260f09c7bf8.tar.gz firejail-2828b64e21c7834c2ee8051d22b57260f09c7bf8.tar.zst firejail-2828b64e21c7834c2ee8051d22b57260f09c7bf8.zip |
Merge pull request #4593 from kmk3/revert-allow-deny-fbuilder
Revert "allow/deny fbuilder"
Diffstat (limited to 'src/fbuilder/build_home.c')
-rw-r--r-- | src/fbuilder/build_home.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbuilder/build_home.c b/src/fbuilder/build_home.c index c85474779..0fe0ffef6 100644 --- a/src/fbuilder/build_home.c +++ b/src/fbuilder/build_home.c | |||
@@ -140,7 +140,7 @@ void build_home(const char *fname, FILE *fp) { | |||
140 | assert(fname); | 140 | assert(fname); |
141 | 141 | ||
142 | // load whitelist common | 142 | // load whitelist common |
143 | db_skip = filedb_load_whitelist(db_skip, "whitelist-common.inc", "allow ${HOME}/"); | 143 | db_skip = filedb_load_whitelist(db_skip, "whitelist-common.inc", "whitelist ${HOME}/"); |
144 | 144 | ||
145 | // find user home directory | 145 | // find user home directory |
146 | struct passwd *pw = getpwuid(getuid()); | 146 | struct passwd *pw = getpwuid(getuid()); |
@@ -168,7 +168,7 @@ void build_home(const char *fname, FILE *fp) { | |||
168 | 168 | ||
169 | // print the out list if any | 169 | // print the out list if any |
170 | if (db_out) { | 170 | if (db_out) { |
171 | filedb_print(db_out, "allow ${HOME}/", fp); | 171 | filedb_print(db_out, "whitelist ${HOME}/", fp); |
172 | fprintf(fp, "include whitelist-common.inc\n"); | 172 | fprintf(fp, "include whitelist-common.inc\n"); |
173 | } | 173 | } |
174 | else | 174 | else |