]> git.ipfire.org Git - thirdparty/xz.git/commit
Build: Fix Linux Landlock feature test in Autotools and CMake builds.
authorJia Tan <jiat0218@gmail.com>
Mon, 26 Feb 2024 15:02:06 +0000 (23:02 +0800)
committerJia Tan <jiat0218@gmail.com>
Mon, 26 Feb 2024 15:27:44 +0000 (23:27 +0800)
commit328c52da8a2bbb81307644efdb58db2c422d9ba7
treecaf438280ef7b833814ab606e8696a17c517fec1
parenteb8ad59e9bab32a8d655796afd39597ea6dcc64d
Build: Fix Linux Landlock feature test in Autotools and CMake builds.

The previous Linux Landlock feature test assumed that having the
linux/landlock.h header file was enough. The new feature tests also
requires that prctl() and the required Landlock system calls are
supported.
CMakeLists.txt
configure.ac
src/xz/sandbox.c
src/xz/sandbox.h
src/xzdec/xzdec.c