aboutsummaryrefslogtreecommitdiffstats
path: root/src/fzenity
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-04-08 11:22:15 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-04-10 02:42:17 -0300
commita05ae97af2a52b8349d732fecbc4343c86222400 (patch)
treebc45372e0ee230bd5bcebd06eedc1473556a9b94 /src/fzenity
parentlandlock fix for old kernel versions (diff)
downloadfirejail-a05ae97af2a52b8349d732fecbc4343c86222400.tar.gz
firejail-a05ae97af2a52b8349d732fecbc4343c86222400.tar.zst
firejail-a05ae97af2a52b8349d732fecbc4343c86222400.zip
landlock: amend empty functions and comments
Changes: * Always declare public landlock functions, regardless of `HAVE_LANDLOCK` * Make the other public landlock functions (besides `ll_add_profile`) also be empty when `HAVE_LANDLOCK` is not defined * Clarify related comments This amends commit 8259f66e1 ("landlock fix for old kernel versions", 2024-04-06). For clarity, landlock-common.inc is included by default.profile and the issue that the aforementioned commit fixes is that if profile.c is built without the part that parses landlock commands (that is, when `HAVE_LANDLOCK` is not defined), using default.profile would cause firejail to abort due to "invalid lines". Note that the issue would only occur when firejail is built with an older kernel (or with --disable-landlock), not when simply running on an older kernel. See also commit b02a7a337 ("landlock: remove empty functions", 2023-12-07). Relates to #6078.
Diffstat (limited to 'src/fzenity')
0 files changed, 0 insertions, 0 deletions