]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux: Provide dummy seccomp(2)
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Fri, 28 Jan 2022 10:55:11 +0000 (10:55 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Fri, 28 Jan 2022 11:45:41 +0000 (11:45 +0000)
commit99454d3e98ff205881aa7abef39234c9afc7600c
tree165a07b56be03ac7abd481ae7114cc959330fb97
parent612d42e5dc7608d7cdaa12c95b70fe9aff809b0a
linux: Provide dummy seccomp(2)

Don't emit messages; this isn't any different from a Linux kernel
built without OPTIONS_SECCOMP, so the userspace already needs to know
how to deal with it.  This is also similar with how we handle seccomp
in linux_prctl().

Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D33808
sys/compat/linux/linux_dummy.c
sys/compat/linux/linux_misc.c
sys/compat/linux/linux_misc.h