aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-11-10 18:54:05 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-12-05 11:41:13 -0300
commita127c5b9a09c28e2859a8022ac7202f23247243c (patch)
tree408e44a000770005cfd93e98f6b668fca5f7ee60
parentlandlock: fix misc messages in ll_is_supported (diff)
downloadfirejail-a127c5b9a09c28e2859a8022ac7202f23247243c.tar.gz
firejail-a127c5b9a09c28e2859a8022ac7202f23247243c.tar.zst
firejail-a127c5b9a09c28e2859a8022ac7202f23247243c.zip
landlock: make parameters void in ll_create_full_ruleset
For consistency with the other functions that have no paramters. This amends commit 13b2c566d ("feature: add Landlock support", 2023-10-24) / PR #6078.
-rw-r--r--src/firejail/landlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c
index 52a562d6e..fcbe895f7 100644
--- a/src/firejail/landlock.c
+++ b/src/firejail/landlock.c
@@ -80,7 +80,7 @@ out:
80 return ll_abi; 80 return ll_abi;
81} 81}
82 82
83static int ll_create_full_ruleset() { 83static int ll_create_full_ruleset(void) {
84 if (!ll_is_supported()) 84 if (!ll_is_supported())
85 return -1; 85 return -1;
86 86