diff options
author | 2021-10-09 13:16:31 +0000 | |
---|---|---|
committer | 2021-10-09 13:16:31 +0000 | |
commit | 44c15b67d48f2e5d2deff3f88cbf1129979065f7 (patch) | |
tree | 093e526ad450867c3cdf0b19a48a35553a91d342 /src/fbuilder/build_home.c | |
parent | firejail.h: add missing linux/limits.h include (diff) | |
parent | Merge pull request #4579 from dm9pZCAq/master (diff) | |
download | firejail-44c15b67d48f2e5d2deff3f88cbf1129979065f7.tar.gz firejail-44c15b67d48f2e5d2deff3f88cbf1129979065f7.tar.zst firejail-44c15b67d48f2e5d2deff3f88cbf1129979065f7.zip |
Merge branch 'master' into fix-include-limits-h
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 |