aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Ilya Pankratov <90714492+i-pankrat@users.noreply.github.com>2024-06-05 20:16:17 +0300
committerLibravatar GitHub <noreply@github.com>2024-06-05 17:16:17 +0000
commit89820958eb847dd6c1a54a512b59aadda8955646 (patch)
treee064433891a624b56189dc3235bb0e32e5858c26
parentbugfix: fix various resource leaks (#6367) (diff)
downloadfirejail-89820958eb847dd6c1a54a512b59aadda8955646.tar.gz
firejail-89820958eb847dd6c1a54a512b59aadda8955646.tar.zst
firejail-89820958eb847dd6c1a54a512b59aadda8955646.zip
bugfix: profstats: fix restrict-namespaces max count (#6369)
Signed-off-by: Ilya Pankratov <i.pankratov.main@gmail.com>
-rw-r--r--src/profstats/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profstats/main.c b/src/profstats/main.c
index ad27bfe79..10eee3c4b 100644
--- a/src/profstats/main.c
+++ b/src/profstats/main.c
@@ -344,7 +344,7 @@ int main(int argc, char **argv) {
344 if (cnt_seccomp > (seccomp + 1)) 344 if (cnt_seccomp > (seccomp + 1))
345 cnt_seccomp = seccomp + 1; 345 cnt_seccomp = seccomp + 1;
346 if (cnt_restrict_namespaces > (restrict_namespaces + 1)) 346 if (cnt_restrict_namespaces > (restrict_namespaces + 1))
347 cnt_seccomp = restrict_namespaces + 1; 347 cnt_restrict_namespaces = restrict_namespaces + 1;
348 if (cnt_dbus_user_none > (dbususernone + 1)) 348 if (cnt_dbus_user_none > (dbususernone + 1))
349 cnt_dbus_user_none = dbususernone + 1; 349 cnt_dbus_user_none = dbususernone + 1;
350 if (cnt_dbus_user_filter > (dbususerfilter + 1)) 350 if (cnt_dbus_user_filter > (dbususerfilter + 1))