mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 06:06:02 -06:00
security: create ~/.config/firejail to prevent sandbox escape (#7154)
A quick-and-dirty fix for https://github.com/netblue30/firejail/issues/7132#issuecomment-4239282977
This commit is contained in:
parent
45c9e2e7c1
commit
0a95081e3a
1 changed files with 1 additions and 0 deletions
|
|
@ -905,6 +905,7 @@ void disable_config(void) {
|
|||
char *fname;
|
||||
if (asprintf(&fname, "%s/.config/firejail", cfg.homedir) == -1)
|
||||
errExit("asprintf");
|
||||
fs_mkdir(fname);
|
||||
disable_file(BLACKLIST_FILE, fname);
|
||||
free(fname);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue