aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-09-05 18:09:46 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-09-06 03:19:32 -0300
commitce6fb3a8ddd4e98fca7237e62afc7545e9b2890f (patch)
tree7d59a725059182f19754bcc3b8766d7c5e495ca9 /src
parentneochat: Allow netlink (#5986) (diff)
downloadfirejail-ce6fb3a8ddd4e98fca7237e62afc7545e9b2890f.tar.gz
firejail-ce6fb3a8ddd4e98fca7237e62afc7545e9b2890f.tar.zst
firejail-ce6fb3a8ddd4e98fca7237e62afc7545e9b2890f.zip
build: add missing dbus/x11 commands to arg1 list
Fix the list generation and run `make syntax`. Relates to #5627.
Diffstat (limited to 'src')
-rw-r--r--src/firejail/profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index bdaaed433..8cc5c1166 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -484,7 +484,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
484#endif 484#endif
485 return 0; 485 return 0;
486 } 486 }
487 else if (strncmp("dbus-user ", ptr, 10) == 0) { 487 else if (strncmp(ptr, "dbus-user ", 10) == 0) {
488#ifdef HAVE_DBUSPROXY 488#ifdef HAVE_DBUSPROXY
489 ptr += 10; 489 ptr += 10;
490 if (strcmp("filter", ptr) == 0) { 490 if (strcmp("filter", ptr) == 0) {
@@ -551,7 +551,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
551#endif 551#endif
552 return 1; 552 return 1;
553 } 553 }
554 else if (strncmp("dbus-system ", ptr, 12) == 0) { 554 else if (strncmp(ptr, "dbus-system ", 12) == 0) {
555#ifdef HAVE_DBUSPROXY 555#ifdef HAVE_DBUSPROXY
556 ptr += 12; 556 ptr += 12;
557 if (strcmp("filter", ptr) == 0) { 557 if (strcmp("filter", ptr) == 0) {