aboutsummaryrefslogtreecommitdiffstats
path: root/src/fbuilder/build_home.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fbuilder/build_home.c')
-rw-r--r--src/fbuilder/build_home.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbuilder/build_home.c b/src/fbuilder/build_home.c
index b3ec6cffd..f283a0cce 100644
--- a/src/fbuilder/build_home.c
+++ b/src/fbuilder/build_home.c
@@ -138,7 +138,7 @@ void build_home(const char *fname, FILE *fp) {
138 assert(fname); 138 assert(fname);
139 139
140 // load whitelist common 140 // load whitelist common
141 db_skip = filedb_load_whitelist(db_skip, "whitelist-common.inc", "whitelist ${HOME}/"); 141 db_skip = filedb_load_whitelist(db_skip, "whitelist-common.inc", "allow ${HOME}/");
142 142
143 // find user home directory 143 // find user home directory
144 struct passwd *pw = getpwuid(getuid()); 144 struct passwd *pw = getpwuid(getuid());
@@ -166,7 +166,7 @@ void build_home(const char *fname, FILE *fp) {
166 166
167 // print the out list if any 167 // print the out list if any
168 if (db_out) { 168 if (db_out) {
169 filedb_print(db_out, "whitelist ${HOME}/", fp); 169 filedb_print(db_out, "allow ${HOME}/", fp);
170 fprintf(fp, "include whitelist-common.inc\n"); 170 fprintf(fp, "include whitelist-common.inc\n");
171 } 171 }
172 else 172 else