Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kern.features.cheri_purecap_kernel #2229

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions sys/cheri/cheri_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@
#include <cheri/cheri.h>

#ifdef __CHERI_PURE_CAPABILITY__
FEATURE(cheriabi_kernel, "CheriABI kernel");
FEATURE(cheri_purecap_kernel, "CHERI pure-capability kernel");
#ifdef __CHERI_SUBOBJECT_BOUNDS__
FEATURE(subobject_bounds, "CheriABI kernel with sub-object bounds");
FEATURE(cheri_subobject_bounds_kernel,
"CHERI pure-capability kernel with sub-object bounds");
#endif
#ifdef __ARM_MORELLO_PURECAP_BENCHMARK_ABI
FEATURE(benchmark_abi_kernel, "Morello benchmark ABI kernel");
FEATURE(morello_purecap_benchmark_abi_kernel, "Morello benchmark ABI kernel");
#endif
#endif /* __CHERI_PURE_CAPABILITY__ */

Check warning on line 49 in sys/cheri/cheri_sysctl.c

View workflow job for this annotation

GitHub Actions / Style Checker

Missing Signed-off-by: line
SYSCTL_NODE(_security, OID_AUTO, cheri, CTLFLAG_RD, 0,
"CHERI settings and statistics");

Expand Down
Loading