diff options
Diffstat (limited to 'src/firejail/checkcfg.c')
-rw-r--r-- | src/firejail/checkcfg.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/firejail/checkcfg.c b/src/firejail/checkcfg.c index 50a96fc7a..7f371b299 100644 --- a/src/firejail/checkcfg.c +++ b/src/firejail/checkcfg.c | |||
@@ -324,6 +324,14 @@ int checkcfg(int val) { | |||
324 | else | 324 | else |
325 | goto errout; | 325 | goto errout; |
326 | } | 326 | } |
327 | else if (strncmp(ptr, "private-lib ", 12) == 0) { | ||
328 | if (strcmp(ptr + 12, "yes") == 0) | ||
329 | cfg_val[CFG_PRIVATE_LIB] = 1; | ||
330 | else if (strcmp(ptr + 12, "no") == 0) | ||
331 | cfg_val[CFG_PRIVATE_LIB] = 0; | ||
332 | else | ||
333 | goto errout; | ||
334 | } | ||
327 | else if (strncmp(ptr, "chroot-desktop ", 15) == 0) { | 335 | else if (strncmp(ptr, "chroot-desktop ", 15) == 0) { |
328 | if (strcmp(ptr + 15, "yes") == 0) | 336 | if (strcmp(ptr + 15, "yes") == 0) |
329 | cfg_val[CFG_CHROOT_DESKTOP] = 1; | 337 | cfg_val[CFG_CHROOT_DESKTOP] = 1; |