jart / pledge

OpenBSD APIs ported to Linux userspace using SECCOMP BPF and Landlock LSM
ISC License
93 stars 6 forks source link

check for kernel versions #8

Open CorruptedVor opened 2 months ago

CorruptedVor commented 2 months ago

It doesn't seem like there's any kernel version checking going on.

Sounds useful for future changes to seccomp bpf/etc., and to fail on kernels that are too old.

Or perhaps rely on the kernel to make changes incompatible enough to just fail the calls?