mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-14 22:45:10 +02:00
Landlock is a method of unprivileged sandboxing to restrict, for example, fs
access for certian processes. It requires linux5.13+ along with landlock
being enabled in the kernel.
The latter has been the case since 2020 661f17ea74
however, those using older kernels will no longer be able to use tracker-miners.
This will make the gnome-music and gnome-photos unusable on such kernels.
10 lines
258 B
Diff
10 lines
258 B
Diff
--- a/src/libtracker-miners-common/tracker-landlock.c
|
|
+++ b/src/libtracker-miners-common/tracker-landlock.c
|
|
@@ -28,6 +28,7 @@
|
|
#include <linux/landlock.h>
|
|
#include <sys/prctl.h>
|
|
#include <sys/syscall.h>
|
|
+#include <unistd.h>
|
|
|
|
#include "tracker-debug.h"
|
|
|