]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340424:
authorBrooks Davis <brooks@FreeBSD.org>
Wed, 28 Aug 2019 07:53:10 +0000 (07:53 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Wed, 28 Aug 2019 07:53:10 +0000 (07:53 +0000)
commit08d94077e5eee171fcc5dae99c81ce57aabf476d
treedd742182dadf7509c1d1315db07acc0dbcdd247a
parent1ee122aa72e6ff83b2eec716d5cc9de2e7d59bc5
MFC r340424:

Use the main capabilities.conf for freebsd32.

Allow the location of capabilities.conf to be configured.

Also allow a per-abi syscall prefix to be configured with the
abi_func_prefix syscalls.conf variable and check syscalls against
entries in capabilities.conf with and without the prefix amended.

Take advantage of these two features to allow use shared
capabilities.conf
between the default syscall vector and the freebsd32 compatability
layer.  We've been inconsistent about keeping the two in sync as
evidenced by the bugs fixed in r340294.  This eliminates that problem
going forward.

Reviewed by: kib
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17932
sys/compat/freebsd32/Makefile
sys/compat/freebsd32/capabilities.conf [deleted file]
sys/compat/freebsd32/syscalls.conf
sys/kern/makesyscalls.sh