umber-kernel/tools/include/uapi/linux
Dmitry Vyukov a2fc422ed7 syscall_user_dispatch: Add PR_SYS_DISPATCH_INCLUSIVE_ON
There are two possible scenarios for syscall filtering:
 - having a trusted/allowed range of PCs, and intercepting everything else
 - or the opposite: a single untrusted/intercepted range and allowing
   everything else (this is relevant for any kind of sandboxing scenario,
   or monitoring behavior of a single library)

The current API only allows the former use case due to allowed
range wrap-around check. Add PR_SYS_DISPATCH_INCLUSIVE_ON that
enables the second use case.

Add PR_SYS_DISPATCH_EXCLUSIVE_ON alias for PR_SYS_DISPATCH_ON
to make it clear how it's different from the new
PR_SYS_DISPATCH_INCLUSIVE_ON.

Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/97947cc8e205ff49675826d7b0327ef2e2c66eea.1747839857.git.dvyukov@google.com
2025-06-13 18:36:39 +02:00
..
tc_act
bits.h tools headers: Synchronize uapi/linux/bits.h with the kernel sources 2025-05-20 12:57:19 -03:00
bpf.h bpf: Fix L4 csum update on IPv6 in CHECKSUM_COMPLETE 2025-05-30 19:53:51 -07:00
bpf_common.h
bpf_perf_event.h
btf.h
const.h
elf.h
erspan.h
fadvise.h
fanotify.h selftests/fs/mount-notify: build with tools include dir 2025-05-12 11:40:12 +02:00
filter.h
fs.h tools headers UAPI: sync linux/fs.h with the kernel sources 2025-05-11 17:48:16 -07:00
fscrypt.h
hw_breakpoint.h
if_link.h
if_tun.h
if_xdp.h selftests/bpf: Fix bpf selftest build warning 2025-05-28 10:00:14 +02:00
in.h tools headers: Update the socket headers with the kernel sources 2025-04-10 09:28:24 -07:00
io_uring.h
kcmp.h
kvm.h tools headers: Update the KVM headers with the kernel sources 2025-04-10 09:28:24 -07:00
memfd.h
mman.h
mount.h selftests/fs/statmount: build with tools include dir 2025-05-12 11:40:12 +02:00
netdev.h net: devmem: TCP tx netlink api 2025-05-13 11:12:48 +02:00
netlink.h
nsfs.h selftests/fs/statmount: build with tools include dir 2025-05-12 11:40:12 +02:00
perf_event.h perf/uapi: Clean up <uapi/linux/perf_event.h> a bit 2025-05-22 11:03:41 +02:00
pkt_cls.h
pkt_sched.h
prctl.h syscall_user_dispatch: Add PR_SYS_DISPATCH_INCLUSIVE_ON 2025-06-13 18:36:39 +02:00
seccomp.h
seg6.h
seg6_local.h
stat.h tools headers: Update the VFS headers with the kernel sources 2025-04-10 09:28:24 -07:00
stddef.h
tcp.h
tls.h
types.h tools/include: make uapi/linux/types.h usable from assembly 2025-04-06 12:55:31 -07:00
userfaultfd.h